Mneme wiki
The Mneme knowledge tier (Tier 2) — a per-corpus wiki built from documents, read on demand and never injected into a chat. Use when ingesting a source into a wiki, querying a wiki, or auditing one. Distinct from the lean cache (Tier 1).From its SKILL.md
npx -y skills add Aexagon/mneme --skill mneme-wikiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `/mneme:ingest <source> [--wiki <name>]` and 2 more.
SKILL.md
2.2 KB, 556 tokens by cl100k_base, as published. Nobody here has run it
Mneme wiki — the knowledge tier
The cache (Tier 1) is lean and injected into every chat. A wiki (Tier 2) is the opposite: a per-corpus knowledge base built from your documents, read on demand and never injected. So a wiki can be large — 10–15 pages per source is fine. This is the gist's "LLM Wiki": maintained markdown over raw documents.
Where a wiki lives
- Home:
dirname(<global cache>)/wiki/(a sibling ofcache/), overrideMNEME_WIKI_DIR. Project overlay:<project>/.mneme/wiki/. - One corpus per subdir:
wiki/<corpus>/index.md— the corpus table of contents (Pages / Entities / Concepts). Hand-maintained.pages/<slug>.md— summary, entity, and concept pages. Frontmatter like a cache note, but bodies may be long. Cross-link with[[slug]].sources/— the raw (andmarkitdown-converted) source files.log.md— append-only timeline (ingest,recall-filed,lint-fix), vialib/log.sh. Never injected.
The loop
- Ingest —
/mneme:ingest <source> [--wiki <name>]brings a document in, summarizes it into pages, and updatesindex.md. - Query —
/mneme:recall "<q>" --wiki <name>readsindex.mdfirst, then the relevant pages, and answers with citations. Plain/recallnever touches a wiki. - Audit —
/mneme:lint --wiki <name>runs the link checks (dead[[links]], orphans) over the corpus's pages.
Shared engine
A wiki reuses lib/ (the same as the cache): log.sh for log.md, links.sh for [[link]] graphs between pages, md.sh for frontmatter, wiki.sh for home/corpus resolution. Run helpers under explicit bash (the agent's shell may be zsh). The cache and the wiki are two tiers on one engine.
The invariant
A wiki is never injected. The SessionStart loader emits at most one line naming the corpora (Wikis: <names> — query with /recall --wiki <name>); it never reads a wiki's index.md or pages. Knowledge enters a chat only when you query it.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.