wiki
Skill14 starsChanged 3 months agoMITView on GitHub
Scaffold an LLM-wiki "second brain" for the current folder in one shot — lays the vault skeleton, writes a note per project from its README/code, builds a graphify knowledge graph, and wires the graphify MCP so the current host can query prior work across projects. Auto-detects a single project vs a folder of many projects. Use when the user invokes /wiki, says "scaffold the LLM wiki", "build a second brain here", "graphify this folder", or "turn these projects into a knowledge base".
- Installs packages
31 other projects use a version of this.
Adopted by
Most recently taken up by
- wesburch/claude-skillstheir own version, first seen Oct 1, 2026
- kazzarahw/skillstheir own version, first seen Sep 30, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Sep 29, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
- saltmd/salt.mdtheir own version, first seen Sep 21, 2026
- SethGammon/Citadeltheir own version, first seen Sep 20, 2026
Used with
Projects with it also use wiki-lint, wiki-ingest and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
graypirateSkillwiki-lint
Run a health check on the user's wiki. Use when the user asks to lint, audit, clean up, check, or fix the wiki — or when they suspect orphans, broken wikilinks, stale pages, missing frontmatter, or contradictions between pages. Combines structural checks (zero token cost) with semantic review (LLM reasoning).
Also in 4 projects that use this
bozhouDevSkillwiki-ingest
Use when adding a new source to a wiki — a paper, article, URL, file, transcript, or any document. One ingest may touch 10-15 wiki pages.
Also in 4 projects that use this
TashanGKDSkillnote
个人笔记记录助手。自动以 JSON 格式记录想法、学习笔记、会议纪要到 ~/.note,支持标签分类和全文搜索。
Also in 3 projects that use this
bozhouDevSkillwiki-query
Use when asking a question against a personal wiki built with wiki-init and wiki-ingest. Do not answer from general knowledge — always read the wiki pages first.
Also in 3 projects that use this
GitHubSkillautoresearch
Autonomous iterative experimentation loop for any programming task. Guides the user through defining goals, measurable metrics, and scope constraints, then runs an autonomous loop of code changes, testing, measuring, and keeping/discarding results. Inspired by Karpathy''s autoresearch. USE FOR: autonomous improvement, iterative optimization, experiment loop, auto research, performance tuning, automated experimentation, hill climbing, try things automatically, optimize code, run experiments, autonomous coding loop. DO NOT USE FOR: one-shot tasks, simple bug fixes, code review, or tasks without a measurable metric.
Also in 4 projects that use this
an8079Skillautopilot
Also in 3 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- AgriciDaniel/claude-obsidian★ 15ksame name
- SethGammon/Citadel★ 922same name
- Encod3d-Sec/TORCH★ 329same name
- ekadetov/llm-wiki★ 109same name
- skillberry-ai/cap-evolve★ 65same name
- WALKERKILLER/Look-Tongji-Notes★ 48same name
- 6eanut/llm-wiki★ 46same name
- alirezarezvani/gaios★ 45same name
- alxyrgin/health-os★ 38same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Read host and tool setup. Set STUNTMAN_HOST to codex in Codex or claude in Claude Code.
- Very specific: line 30
Read its output: VAULT=…, MODE=single|folder, and (folder mode) the PROJECTS: list.
- Very specific: line 31
Never clobbers — re-running only fills gaps.
- Distinctive: line 39
Write notes that a reader with zero memory of the codebase can use.
- Very specific: line 42
Every note's frontmatter needs type: and a one-line description: (OKF v0.1 — this is what makes the vault portable across agent tooling).
- Very specific: line 53
MODE=single: read the current project and write one wiki/projects/<folder>.md.
- Very specific: line 59
Run graphify over $VAULT/wiki (the notes, not the project code — keeps it fast and at the right altitude).
- Very specific: line 89
Check for an existing entry with mcp get before adding.
“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
stuntman: wiki — stand up an LLM-wiki second brain + graphify
/scaffold gives one project a memory; /wiki gives a whole folder of projects
a shared brain: a navigable Obsidian vault of notes-about-projects, a graphify
knowledge graph, and a live MCP so any future session can ask "did I already solve this?"
across everything.
It's the Karpathy "LLM wiki" pattern, automated. Run it once in the target folder.
Dependencies
- graphify (
pip install graphifyy, or the user's/graphifyskill) — builds the graph. - mcp python package + the current host CLI (
claudeorcodex) — to wire the live query server. The skill installs/checks these along the way; if one is truly unavailable, do that step's fallback and tell the user.
What to do
1. Scaffold the skeleton (deterministic, idempotent)
Read host and tool setup. Set STUNTMAN_HOST to codex in
Codex or claude in Claude Code; use both when requested.
WIKI="$STUNTMAN_ROOT/bin/wiki"
"$WIKI" --host "$STUNTMAN_HOST" # optionally append /path/to/folderRead its output: VAULT=…, MODE=single|folder, and (folder mode) the PROJECTS: list.
Never clobbers — re-running only fills gaps. $VAULT is <folder>-wiki/.
2. Ensure graphify is installed
Resolve an interpreter that can import graphify (uv tool / pipx / venv / system). If none,
install it in a dedicated virtual environment or with uv/pipx. Save the interpreter path to
$VAULT/graphify-out/.graphify_python for later steps (create that directory first).
3. Populate the notes from reality
Write notes that a reader with zero memory of the codebase can use. Follow the schema in
the vault's AGENTS.md (Codex) or CLAUDE.md (Claude Code), including frontmatter + Summary / Architecture / Connections / Notable.
Every note's frontmatter needs type: and a one-line description: (OKF v0.1 — this is what
makes the vault portable across agent tooling). Wikilinks must target real page basenames
(kebab-case filenames, not Title Case) — broken links render as ghost nodes in Obsidian.
- MODE=folder: one
$VAULT/wiki/projects/<name>.mdper detected project. For more than ~4 projects, use available native subagents within host limits (one per cluster of 3–5 projects) to read each project's README / manifest / structure / key entry files and return a structured summary (read sequentially if no subagent tool is available); then author the notes centrally so cross-links are consistent (linking needs a global view of all projects). Group projects into families and writewiki/_PROJECTS_MOC.md, fillwiki/index.md, and seedwiki/hot.md. Create awiki/concepts/orwiki/patterns/note only where a pattern genuinely spans ≥3 projects. - MODE=single: read the current project and write one
wiki/projects/<folder>.md; pointindex.mdandhot.mdat it. - Selective linking is the quality lever — 2–4 high-signal
[[wikilinks]]per note, only where one project genuinely informs another. Capture any ⚠️ secrets/security issues inwiki/lessons-learned/.
4. Build the graph
Run graphify over $VAULT/wiki (the notes, not the project code — keeps it fast and at the right
altitude). The scaffold includes a $VAULT/.graphifyignore that keeps navigation pages
(index/hot/log/MOC/Dashboard/templates) OUT of the graph — they link to everything and would
become the top god nodes, hairballing the whole graph. graphify's detect() honors it
automatically; never hand-add those pages back. Do NOT use graphify update for notes:
verified on graphify 0.5.0, update only rebuilds code (it imports
graphify.watch._rebuild_code, prints "Re-extracting code files...", and directs doc
changes to /graphify --update) — it never re-extracts Markdown notes. Refreshing notes
means re-running the full semantic extraction pipeline below (or the /wiki skill itself).
Preferred: invoke the /graphify skill on $VAULT/wiki. If that skill isn't present,
run the pipeline directly with the saved interpreter: detect → semantic-extract the notes via
available native subagents or sequential extraction → build_from_json → cluster → report.generate → export.to_json /
to_html, and export.to_canvas into $VAULT/graph.canvas. Output lands in $VAULT/graphify-out/
(graph.html, graph.json, GRAPH_REPORT.md).
5. Wire the live MCP in the current host
INTERP="$(cat "$VAULT/graphify-out/.graphify_python")"
"$INTERP" -c "import mcp" 2>/dev/null || uv pip install --python "$INTERP" mcp -q || "$INTERP" -m pip install mcp -q
NAME="$(basename "$VAULT")" # e.g. myprojects-wiki
# Codex:
codex mcp add "$NAME" -- "$INTERP" -m graphify.serve "$VAULT/graphify-out/graph.json"
codex mcp get "$NAME"
# Claude Code (use this block instead when Claude Code is the host):
claude mcp add "$NAME" --scope user -- "$INTERP" -m graphify.serve "$VAULT/graphify-out/graph.json"
claude mcp get "$NAME"The server loads graph.json at session start, so the brain is queryable from the user's next
session. (If the current host CLI is unavailable, give its exact add command.)
Check for an existing entry with mcp get before adding; preserve unrelated
entries and reuse an entry already pointing at this graph. A listed configuration
is not proof of a live connection: query the graph through MCP in a new session
when available, otherwise report that connection verification is pending.
6. Report
Show: the vault path, project/concept counts, and from GRAPH_REPORT.md the God Nodes and
Surprising Connections. Tell the user to open $VAULT as a vault in Obsidian (graph view is
pre-colored; graph.canvas is the community layout), that the <name> MCP is live next session,
and the maintenance loop: re-run /wiki after meaningful work — agents refresh the affected
notes and semantically rebuild their graph. Notes are maintained by agents, not on every file
write; there is no background watcher (the hook only nudges). graphify update rebuilds code
only (verified v0.5.0) and is insufficient for Markdown notes. The MCP loads graph.json at
session start, so after a rebuild the existing connection may need a restart / new session —
don't claim live auto-reloading. Existing vaults stay untouched: the scaffolder never clobbers
(contracts and user notes are preserved idempotently); if explicitly asked to refresh an existing
vault, review/update its old refresh advice without overwriting user notes. Optionally offer to add a "check the second brain before rebuilding"
note to their global ~/.claude/CLAUDE.md.
Notes
- Notes only, never code. The vault holds summaries/lessons; project code stays in its own folder, untouched.
- Idempotent. Safe to re-run — the scaffolder skips existing files; re-running mainly refreshes notes + graph.
- Pairs with
/scaffold(per-project memory) and the graphify MCP (cross-project recall): scaffold makes one project resumable;/wikimakes the whole portfolio searchable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

