Install
openclaw skills install create-opc-wikiScaffold a personal LLM wiki (Karpathy pattern) — multi-agent, MCP-ready, with SEO/GEO publish target. Compiles knowledge into a persistent wiki instead of re-deriving from raw docs on every query. One paste from any agent (OpenClaw, Claude Code, Codex, Cursor, Hermes) installs it.
openclaw skills install create-opc-wikiScaffold a personal LLM wiki on the Karpathy pattern in 30 seconds. Multi-agent native, MCP server built-in, SEO/GEO-optimized publish target.
Run the scaffolder against any folder and you get a complete personal-knowledge-base vault:
agent-rules/main.md — single source of truth, synced to 9 agent file formats (CLAUDE.md, AGENTS.md, .cursor/rules/main.mdc, .cursorrules, .github/copilot-instructions.md, .trae/rules.md, .openclaw/rules.md, .hermes/agent.md)/wiki-ingest, /wiki-query, /wiki-lintpublic | private | secretwiki_query, wiki_list, wiki_read) and a hard privacy gate (privacy: secret pages never leave the box)The skill wraps the published npm package create-opc-wiki@latest. From any agent that can run a shell command:
npx -y create-opc-wiki@latest <path> --yes --agents=openclaw,claude,codex,cursor
Common one-liners:
| Agent | Command |
|---|---|
| OpenClaw | npx -y create-opc-wiki@latest ~/wiki --yes --agents=openclaw,claude |
| Claude Code | npx -y create-opc-wiki@latest ~/wiki --yes --agents=claude |
| Codex CLI | npx -y create-opc-wiki@latest ~/wiki --yes --agents=codex |
| Cursor | npx -y create-opc-wiki@latest ~/wiki --yes --agents=cursor |
| All of them | npx -y create-opc-wiki@latest ~/wiki --yes --agents=openclaw,claude,codex,cursor,hermes,vscode,trae |
Add --no-mcp, --no-site, --no-recipes, or --no-git to skip those layers. --json emits machine-readable result on stdout.
CLAUDE.md / AGENTS.md / .openclaw/rules.md / etc.)/wiki-ingest <url-or-file> — drop a new source, agent files it into raw/ and synthesizes wiki pages/wiki-query <question> — natural-language query across compiled wiki/wiki-lint — health-check (contradictions, stale speculative claims, orphan pages)The MCP server in mcp/server.mjs exposes the wiki to any MCP client (Claude Desktop, Cursor, Codex). Run npm install && npm start from the mcp/ directory.
Most LLM-on-files setups re-derive answers from raw docs at every query. There's no accumulation. Quoting Karpathy's gist:
The LLM incrementally builds and maintains a persistent wiki — a structured, interlinked collection of markdown files that sits between you and the raw sources. The wiki keeps getting richer with every source you add and every question you ask.
This skill operationalizes exactly that, with concrete choices for ontology, agent rules, MCP, and publishing.
privacy: secret pages never returned by the MCP server (enforced at mcp/server.mjs:38)privacy: public is the only level that publishes (enforced at site/build.mjs:53)private — nothing publishes by accidentnpm install you trigger yourselfSTABILITY.md in the repo for the semver-stable surfacedocs/INSTALL-FOR-AGENTS.md in the repoMIT. Inspired by Andrej Karpathy's "LLM Wiki" gist; implementation choices are this project's. Full attribution in INSPIRATION.md.