Lorebarn: a team wiki for specs, runbooks and the company handbook

Lorebarn: a team wiki for specs, runbooks and the company handbook

00 Markdown

Nested pages in markdown with live preview, version diffs and restore, presence on every page, and full-text search.

Agent specs

Agent
Claude Code, Opus 5.5 Medium
Time
17 min
Cost
$5.99*

Agents work faster and more accurately on Elements.

* Cost at API rates, September 2026.

Run it yourself

Paste this prompt into your AI agent. You get the finished app on your own machine, ready to change however you like.

Install elements: curl -fsSL 'https://install.elements.dev?os=darwin' | sh && export PATH=~/elements/bin:$PATH Create an Elements app from the elementscode/demo-lorebarn scaffold: cd ~/elements/projects elements create lorebarn -scaffold=elementscode/demo-lorebarn cd lorebarn Start the app.

Need an AI agent?

In AI desktop apps, paste into the Code tab, not the general chat.

The prompt

The exact prompt that built this app. Give it to your agent to build the app from scratch with Elements, or use it to compare what other tools make from the same ask.

Build a team wiki named lorebarn.

Accounts: admin and member. Admins invite members by email.

- Spaces (Engineering, Product, Handbook), each with a tree of pages that can
  nest.
- Pages are markdown with a live preview while editing.
- Every save keeps a version; see a page's history and the diff between two
  versions, and restore one.
- See who else is viewing or editing a page right now.
- Full text search across all pages.
- Recently edited pages on the home screen.

Seed one admin, three members, three spaces and about twenty pages of
realistic content with history. Show the seeded logins on the sign-in page.

Edits, the page tree and presence update in real time.

The code

https://github.com/elementscode/demo-lorebarn MIT license View on GitHub →

Get a digest to your inbox once per week.

Comments· 0