How a notebook's pages are written and kept: one page per subject, what the user said kept apart from what was read elsewhere, links between pages, and how a document or a web page is brought in. Read it before writing, reorganising or importing pages in a notebook (a folder under the notebooks directory, pages in wiki/).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Llm Wiki?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/flagdizero-llm-wiki)
---
name: llm-wiki
description: >-
How a notebook's pages are written and kept: one page per subject, what the
user said kept apart from what was read elsewhere, links between pages, and
how a document or a web page is brought in. Read it before writing,
reorganising or importing pages in a notebook (a folder under the notebooks
directory, pages in wiki/).
locked: true
---
# A notebook's pages
> Rewritten short from the llm-wiki skill by Lewis Liu, itself inspired by Karpathy's
> llm-wiki gist.
A notebook is a folder: pages in `wiki/`, what arrives from outside in `raw/`, the day's notes in
`raw/journal/`, and `AGENTS.md` with the notebook's own rules. The user looks at the board and at
the pages, never at the folder: what you leave there is what they will read in a month.
## A page
- **One subject, named in the title.** `# Ficus benjamina`, not `# Notes`. When a page talks about
two things it becomes two pages, each carrying the sentences that were already about it, moved
word for word, with a `[[link]]` left where they were.
- **Sections with plain headings** (`## Care`, `## History`). A section is what gets rewritten
when something changes, so keep one topic in each.
- **Write for someone who was not there.** Full sentences, dates written out (`2026-11-26`, never
"yesterday"), names instead of "it" or "that one".
- **What the user said stays theirs.** Keep their numbers, names and choices exactly. Do not
improve a decision, round a figure, or turn "maybe" into a plan.
- **What came from elsewhere says so.** A fact read in a file or on the web carries where it came
from, in the sentence or at the end of the section: `(raw/research/soil-ph.md)`, or the address.
A page must never present something read as something the user said.
- **Links.** `[[Page title]]` to a page that exists. Check a title before linking to it; a link
to nothing is the one thing `notebook action=check` will call broken.
- No front matter is required. If a page already has one, leave it as it is.
## Changing pages
- A fact goes in as a note first (`note`, with the `page` it belongs on); the note waits at the
bottom of the page until the section it belongs to is rewritten.
- Rewrite **one section**, the one the fact belongs to, and keep every name, number and date it
already had. Where the new fact corrects one, the new fact wins — say what it replaced if the
old value matters.
- Never delete or shorten to tidy. Moving is tidying; deleting is losing.
- After pages on a card change, bring that card's drawer up to date: it says what the pages say,
in two short sentences a section, and nothing more.
## Bringing a document in
1. **Keep the source as it is.** Save the file, or the text of the web page, under `raw/` — word
for word, with where it came from and the date at the top. Never paraphrase into `raw/`.
2. **Write the page from it.** One page for the document's subject, or new sections on the pages
it adds to. Say what the document says, shorter, and name the file it comes from.
3. **Link it.** From the pages it touches, and onto a card if the notebook has a board.
4. Something the document says that contradicts a page is not settled by you: put both, say
which is which, and tell the user.
## When the pages fall short
- What a search finds is saved verbatim in `raw/` first — in a notebook,
`raw/research/<YYYY-MM-DD>-<slug>.md` — and the page is written from that file.
- A page never says "to search" and never lists queries to run. What nobody looked up is a
gap: it goes in your report under **To research**, and whoever asked sends a `researcher`.
- A page says "not documented" only together with the queries that were tried.
- Moving or splitting pages only moves what is there, and needs no search.
## When you are done
`notebook action=check` lists what is broken: dead links, cards or drawers naming a page that is
gone. Fix those; report the rest in your answer, not in a file.