wiki
Skill16 starsChanged 2 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
42 other projects use a version of this.
Adopted by
Most recently taken up by
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- zlatko-lakisic/agent-cooptheir own version, first seen Nov 1, 2026
- Lixiuxiu559/AgentForgetheir own version, first seen Nov 1, 2026
- saksham10arora-dotcom/everything-claude-codextheir own version, first seen Nov 1, 2026
Used with
Projects with it also use ai-slop-cleaner, ralplan 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.
Jurel89Skillai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Also in 4 projects that use this
ibahgatSkillralplan
Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.
Also in 4 projects that use this
Yeachan-HeoSkillultragoal
Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
Also in 3 projects that use this
woosikkimSkilldeepinit
Generate hierarchical AGENTS.md codebase maps for agent context
Also in 3 projects that use this
ibahgatSkillhud
Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.
Also in 3 projects that use this
klauswgSkilldeep-interview
在明确批准执行之前,通过数学化歧义门控进行苏格拉底式深度访谈
Also in 4 projects that use this
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-codex★ 34ksame name
- AgriciDaniel/claude-obsidian★ 16ksame name
- SethGammon/Citadel★ 927same name
- saltmd/salt.md★ 178same name
- ekadetov/llm-wiki★ 108same name
- saksham10arora-dotcom/everything-claude-codex★ 74same name
- skillberry-ai/cap-evolve★ 69same name
- WALKERKILLER/Look-Tongji-Notes★ 53same name
32 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 36 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 36 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.

