How to run an LLM wiki for teams inside one Cohub Space
For a team's LLM wiki, put the raw sources, the agent-written pages and the AGENTS.md schema in one Cohub Space, give contributors the builder role, schedule a tidy prompt, and publish the pages as an App. Obsidian with a local agent is still the better home for a wiki only you use.
- Who
- A team lead or the one person who ends up keeping the team's notes, with several people adding sources over months.
- When
- A personal LLM wiki works, and now teammates want to drop in sources, read it without an account, and ask it questions from their own projects.
- Why
- In a Cohub Space the raw files, the wiki and its schema stay on the Space's disk, a scheduled prompt tidies it while everyone's laptop is closed, and roles decide who can change it.

A personal LLM wiki runs smoothly in an Obsidian vault on one laptop until teammates start adding meeting notes, outside readers ask for a plain URL, and scheduled cleanups stop whenever that laptop sleeps. Hosting an LLM wiki for teams in a Cohub Space keeps immutable raw sources, agent-maintained Markdown pages, and AGENTS.md rules in one shared workspace—so scheduled tidy runs execute on time and Space roles control who can edit.
Map the three-layer LLM wiki onto a Space
Andrej Karpathy's LLM wiki pattern separates three layers—untouched raw sources, an agent-maintained wiki, and a schema telling the agent how to write—across three recurring tasks: ingest, query, and lint. Each piece maps cleanly to a path or feature inside one Space:
| Wiki layer | Place in a Cohub Space |
|---|---|
| Raw sources | raw/, where contributors upload untouched source files |
| Maintained wiki | wiki/, holding index.md and an append-only log.md |
| Rules schema | AGENTS.md at /workspace root, loaded when any Chat starts |
| Periodic lint | A scheduled prompt targeting a dedicated "Wiki tidy" Chat |
| Reader view | site/, generated from wiki/ and shipped as a directory App |
End-to-end test: Northwind Field Wiki (2026-11-17)
On 2026-11-17 we built a public Space on cohub.live called Northwind Wiki and published it as Northwind Field Wiki, covering twelve coastal monitoring stations. Here is the shortened AGENTS.md schema that governed every agent turn:
- `raw/`: source documents people drop in. Never edit or delete them.
- `wiki/`: the wiki. You write and maintain it.
- Every fact ends with its source: `(raw/<file>)`.
- When two sources disagree, keep both, mark the page `> Conflict:` and say which is newer.
## Tidy
First ingest any raw file the log does not mention yet. Then check the whole wiki:
broken links, orphan pages, facts without a source, unmarked conflicts, and claims
a newer raw file contradicts. Fix what you can, list what needs a person.1. First ingest and initial publish
We uploaded a field log and a sampling protocol into raw/ and issued one ingest prompt. Within 40 seconds the agent created six station pages, one procedure page, two topic pages, index.md, and log.md, then rebuilt site/.
cohub -s northwind-wiki-demo spaces files upload \
raw/2026-10-field-log.md raw/sampling-protocol-v3.md --dir raw
cohub -s northwind-wiki-demo prompt --title Ingest \
"Ingest the new files in raw/ as AGENTS.md describes."
cohub -s northwind-wiki-demo spaces checkpoints create "First ingest"
cohub -s northwind-wiki-demo apps publish wiki --source workspace --dir site
2. Scheduled tidy catches a new source automatically
Next we uploaded team call notes changing sonde calibration from every 30 days to every 21 days, without prompting the agent manually. For the test we set the tidy schedule a few minutes ahead and removed it after one run; for an ongoing team wiki, a weekly schedule fits:
cohub -s northwind-wiki-demo spaces sessions create "Wiki tidy"
cohub -s northwind-wiki-demo spaces prompt --cron "0 7 * * 1" --timezone Europe/London \
--session <tidy-chat-id> --label Tidy "Run the tidy pass from AGENTS.md."That scheduled turn finished in 51 seconds. It ingested the call notes, inserted a > Conflict: callout on the protocol page rather than silently overwriting the 30-day rule, linked an orphan log page, and surfaced two human decisions: whether to issue a v4 protocol, and whether a seasonal station's missing October visit was skipped or unlogged.

3. Diff, Save, and ship the next App version
Scheduled tidy passes modify /workspace only—published readers see nothing until someone promotes a new App version. After checking changed paths, we saved a snapshot and published v2:
cohub -s northwind-wiki-demo spaces files diff --json \
| jq -r '.files[] | "\(.status) \(.path)"'
cohub -s northwind-wiki-demo spaces checkpoints create "After first tidy"
cohub apps publish-version <app-id>To inspect line-level edits to a single page between two Saves, run cohub spaces checkpoints diff <save-id> <path>.
4. Query the wiki from another project Space
From a separate Space we mentioned the wiki Space and asked when a station returns online. The reply cited the specific wiki pages it relied on. Running cohub references query showed the agent listed wiki/ and opened the station page, the sensor-maintenance page, and log.md—plain file reads worked at this scale with no vector database.

Separate editors from readers with Space roles
| Role | Permissions inside the wiki Space |
|---|---|
| Host | Full builder access plus membership, Mods, Channels, and sandbox settings |
| Builder | Upload raw sources, edit pages, prompt the agent, create Saves, manage schedules and Apps |
| Guest | Read Chats, files, and Saves; no file edits or agent prompts |
Assign builder to teammates who contribute sources or review tidy runs. Casual readers only need the published App URL, which requires no Cohub account. Setting signed-in and anonymous access to guest—as we did in the test Space—also lets visitors browse raw sources and Chats read-only:
cohub -s <wiki-space> spaces invites create --role builder --days 7 --max-uses 1
cohub -s <wiki-space> spaces access set --signed-in guest --anonymous guestWhen to stay in Obsidian vs move to a Cohub Space
Stay with Obsidian plus local Claude Code or Codex when:
- Only you use the wiki and want to browse locally while the agent edits on disk.
- Your workflow depends on Obsidian's graph view, Dataview, Marp, or Web Clipper.
- Source documents must stay strictly on your device or work offline.
Move the wiki into a Cohub Space when:
- Multiple teammates add sources and you need role boundaries on edits.
- Scheduled tidy passes must run even while every laptop is closed.
- External readers expect a web link instead of syncing a vault.
- Agents in other Spaces need to query the wiki via
@spacementions.
Obsidian's paid Sync and Publish add-ons handle syncing and web reading, but do not execute scheduled agent runs; a local cron job only fires while that computer stays awake.
If your goal is pulling scattered sources together to answer one cited research question rather than maintaining one team knowledge base over months, see AI research workspace.
Six operational limits to plan around
- Direct workspace writes: a tidy pass edits
wiki/immediately with no pre-apply approval step; auditfiles diffbefore creating a Save or publishing. - Snapshot-based App versions: the live App does not auto-sync with
/workspace; runapps publish-versionafter reviewing a tidy pass. - Plain Markdown in Files panel: no graph view, backlinks, or
[[wikilinks]]rendering—instruct the agent to emit standard relative Markdown links. - Directory-listing retrieval only: tested on nine content pages without a search index; once a wiki reaches hundreds of pages, add a search script the agent can invoke.
- Access required for
@spacementions: mentioning a private wiki Space only succeeds for users who can read it, so add readers as guests first. - Directory App ceiling: one directory App holds 1 to 1,000 files and up to 1 GiB; split very large wikis across multiple Apps.
Reference in the docs
This page: Whether a team's LLM wiki should live in a Cohub Space or in Obsidian with a local agent, and how to keep it current once several people feed it.
- Spaces: Space settings for members and access
- Files & Sandbox: why files, not Chat history, are the durable state
- CLI: spaces prompt with --cron and --session
- Apps: directory Apps and publishing a new version
- Chats: @space mentions
FAQ
Do I need embeddings or a vector database for an LLM wiki in Cohub?
Not at this size. In our run the agent listed the wiki folder, read the station page, a topic page and log.md, and answered from them. A search tool becomes worth adding when listing and reading files no longer finds the right page quickly.
Can the scheduled tidy run publish the App by itself?
We published by hand after reading the diff, and recommend that. The agent in a Space can run the cohub CLI, so the tidy prompt could also ask it to run apps publish-version, but we did not test that.
What does a scheduled tidy run cost?
Each run is a normal agent turn in the wiki Space, billed like any other prompt, at the rate of the model you choose. The tidy run we scheduled finished in 51 seconds.
Related
- How to run an AI research workspace across linked Cohub Spaces
Cohub works as an AI research workspace with shared context: keep each source collection in its own Space, then @mention it for one question or mount it read-only so every Chat can read it.
- Scheduled prompts: cron for AI agents
Scheduled prompts are cron for AI agents: a Cohub prompt sent to a Space after a delay, at an ISO time, or on a cron expression with a time zone, with each run recorded in a Chat.
- How shared AI context works when a team shares one Cohub Space
Cohub provides shared AI context for teams: Chats in a Space are visible to its members, the agent works on the same files for everyone, and anyone can continue or fork a teammate's thread.
- How to publish a running app from an AI sandbox as a live link
To publish a running app from an AI sandbox in Cohub, run one CLI command, or use the Publish dialog, to point an App at the port your dev server listens on; static output can go out as a folder or a single HTML file instead.
Sources
- LLM Wiki, Andrej Karpathy (the pattern: raw sources, wiki, schema; ingest, query, lint)
- Cohub docs: Spaces (members, access)
- Cohub docs: Core concepts (roles host, builder, guest; scheduled prompts)
- Cohub docs: Files & Sandbox (files are the durable state)
- Cohub docs: Apps (directory target limits, versions)
- Cohub docs: Chats (@space mentions)
- Obsidian pricing (Sync and Publish add-ons)
- Northwind Field Wiki, the App published from the Northwind Wiki Space in this run