skills/wiki/SKILL.md
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
npx skillsauth add Thomashighbaugh/opencode wikiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Persistent, self-maintained markdown knowledge base for project and session knowledge. Inspired by Karpathy's LLM Wiki concept.
Process knowledge into wiki pages. A single ingest can touch multiple pages.
wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })
Search across all wiki pages by keywords and tags. Returns matching pages with snippets — YOU (the LLM) synthesize answers with citations from the results.
wiki_query({ query: "authentication", tags: ["auth"], category: "architecture" })
Run health checks on the wiki. Detects orphan pages, stale content, broken cross-references, oversized pages, and structural contradictions.
wiki_lint()
Add a single page quickly (simpler than ingest).
wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })
wiki_list() # Show all pages (reads index.md)
wiki_read({ page: "auth-architecture" }) # Read specific page
wiki_delete({ page: "outdated-page" }) # Delete a page
View wiki operation history by reading .opencode/state/wiki/log.md.
Pages are organized by category: architecture, decision, pattern, debugging, environment, session-log
.opencode/state/wiki/*.md (markdown with YAML frontmatter).opencode/state/wiki/index.md (auto-maintained catalog).opencode/state/wiki/log.md (append-only operation chronicle)Use [[page-name]] wiki-link syntax to create cross-references between pages.
At session end, significant discoveries are automatically captured as session-log pages. Configure via wiki.autoCapture in .omc-config.json (default: enabled).
.opencode/state/wiki/ is project-local)documentation
Agentic memory system for writers - track characters, relationships, scenes, and themes
tools
Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Converts webpage URLs to clean Markdown by calling the local web2md CLI (Puppeteer + Readability), suitable for JS-rendered pages.
testing
Structured visual QA verdict for screenshot-to-reference comparisons
testing
Verify that a change really works before you claim completion