Catalog
Yeachan-Heo/wiki

LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)

NewUpdated Sep 11, 2026

Wiki

Persistent, self-maintained markdown knowledge base for project and session knowledge. Inspired by Karpathy's LLM Wiki concept.

Operations

Ingest

Process knowledge into wiki pages. A single ingest can touch multiple pages.

wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })

Query

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" })

Lint

Run health checks on the wiki. Detects orphan pages, stale content, broken cross-references, oversized pages, and structural contradictions.

wiki_lint()

Quick Add

Add a single page quickly (simpler than ingest).

wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })

List / Read / Delete

wiki_list()           # Show all pages (reads index.md)
wiki_read({ page: "auth-architecture" })  # Read specific page
wiki_delete({ page: "outdated-page" })    # Delete a page

Log

View wiki operation history by reading .omc/wiki/log.md.

Categories

Pages are organized by category: architecture, decision, pattern, debugging, environment, session-log

Storage

  • Pages: .omc/wiki/*.md (markdown with YAML frontmatter)
  • Index: .omc/wiki/index.md (auto-maintained catalog)
  • Log: .omc/wiki/log.md (append-only operation chronicle)

Cross-References

Use [[page-name]] wiki-link syntax to create cross-references between pages.

Auto-Capture

At session end, significant discoveries are automatically captured as session-log pages. Configure via wiki.autoCapture in .omc-config.json (default: enabled).

Hard Constraints

  • NO vector embeddings — query uses keyword + tag matching only
  • Wiki pages are git-ignored by default (.omc/wiki/ is project-local)

Model Routing

  • haiku — quick lookups, lightweight inspection, narrow docs work
  • sonnet — standard implementation, debugging, and review
  • opus — architecture, deep analysis, consensus planning, and high-risk review
  • fable — Claude Fable 5 (above Opus); pass it explicitly on the Task call or pin it per agent with agents.<name>.model
  • The session model chosen with /model applies to the main loop only. Delegated agents run on their pinned tier unless the Task call passes model explicitly or the agent is overridden via agents.<name>.model. To run delegated work on Fable, use one of those two surfaces; selecting Fable in /model alone does not change delegation.
Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

78/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

82

Quality

75

Clarity

82

Completeness

68

Summary

A persistent markdown knowledge base skill that enables LLM agents to ingest, query, lint, and maintain project documentation across sessions. The skill uses keyword and tag-based search (no vector embeddings), stores pages in a project-local `.omc/wiki/` directory with YAML frontmatter, and includes automatic session-log capture. Content is organized by category (architecture, decision, pattern, debugging, environment, session-log) and supports wiki-link cross-references.

Detected Capabilities

file readfile writefile deletestructured query/searchYAML frontmatter parsingsession loggingcross-reference managementconfiguration read (.omc-config.json)

Trigger Keywords

Phrases that agents use to match this skill to user intent.

persistent knowledge basewiki add pagequery wikisession documentationarchitectural decisionswiki lint health

Risk Signals

INFO

Automatic session-log capture to .omc/wiki/ without explicit user consent documented

Auto-Capture section
INFO

Pages are git-ignored by default — sensitive data could persist locally untracked

Hard Constraints section

Use Cases

  • Maintain architectural documentation across sessions
  • Build a searchable decision log for project context
  • Auto-capture session discoveries and debugging notes
  • Query historical project knowledge without semantic search
  • Lint wiki for stale content and broken cross-references
  • Organize patterns and environment configuration documentation

Quality Notes

  • Clear operation glossary with function signatures (ingest, query, lint, add, list, read, delete, log)
  • Storage location explicitly documented (.omc/wiki/*.md, index.md, log.md)
  • Category taxonomy well-defined (6 categories with clear purposes)
  • Hard constraints explicitly stated (no vector embeddings, git-ignored by default)
  • Model routing guidance provided for different task complexity tiers (haiku/sonnet/opus/fable)
  • Cross-reference syntax documented (wiki-link [[page-name]] support)
  • Auto-capture feature described but configuration surface (.omc-config.json) could be clearer
  • No error handling guidance for failed ingests or query misses
  • No examples of page structure (YAML frontmatter format not shown)
  • Lint operation benefits listed but specific detection logic not detailed
Model: claude-haiku-4-5-20251001Analyzed: Sep 11, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v1.2

    Content updated

    ✦ AIAdds model routing guidance showing when to use haiku, sonnet, opus, and Fable, with explicit rules for delegated agent model selection.

    2026-09-11

    LATEST
  2. v1.1

    Content updated

    ✦ AIAdds LICENSE file.

    2026-04-20

    View This Version
  3. v1.0

    2026-04-12

    View This VersionInitial version

Use Yeachan-Heo/wiki in your dev environment

Command Palette

Search for a command to run...