Memory Wiki — AI skill for Claude Code
File-layer wiki for AI agent markdown memory: ingest with automatic dating, keyword query, structural lint (orphans, duplicate titles, broken links, missing dates), index and change log.
How to install Memory Wiki
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chenhz01/memory-wiki and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memory Wiki does
File-layer wiki for AI agent markdown memory: ingest with automatic dating, keyword query, structural lint (orphans, duplicate titles, broken links, missing dates), index and change log. Single file, zero dependencies, no server, no database.
Alternatives in AI
- 09 Query Engine — Prompt 09: Get the QueryEngine (Core LLM Loop) Functional 2.3k ★
- Wiki Ingest — Ingest a source document into the LLM Wiki 2.3k ★
- Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★
README
memory-wiki
**Part of the Evidence-first Agents suite** — tooling that makes AI agents accountable instead of just capable: [answer-contract](https://github.com/chenhz01/answer-contract) (output discipline) · [skill-spec](https://github.com/chenhz01/skill-spec) (spec discipline) · [memory-wiki](https://github.com/chenhz01/memory-wiki) (memory discipline). Same author, same zero-dependency philosophy.
**The file-layer wiki for your agent's markdown memory.** Your agent remembers in scattered `.md` files. Give those files an index, a search, and a health check — without a database, a server, or a single dependency.
Agent memory tools keep racing toward vector stores and hosted services. But most agents (and most people) keep memory where it already works: **plain markdown files**. memory-wiki is the missing file layer — it treats your memory folder like code: indexed, searchable, and linted.
Inspired by the persistent-wiki pattern (see [nashsu/llm_wiki](https://github.com/nashsu/llm_wiki)); this is an independent, dependency-free implementation. Pairs with [skill-spec](https://github.com/chenhz01/skill-spec) — specs for your agent's skills, a wiki for its memory.
What it does
| Command | Effect |
|---|---|
ingest |
Absorb markdown files as entries (auto-dated if undated, slugified, never overwrites without --force) |
index |
Rebuild index.md — one table: title, date, first line, linked |
query |
Keyword search across entries, ranked by hit count, with context lines |
lint |
Health check: orphans not in the index, missing dates, duplicate titles, overlong files, broken relative links |
log |
Append-only operation log (log.md) — what entered the wiki and when |
Install (60 seconds)
Single file. Zero dependencies. No server, no database, no network calls — your memory never leaves your disk.
git clone https://github.com/chenhz01/memory-wiki.git
python memory-wiki/tools/memory_wiki.py ingest my-notes.md --wik
Related Skills
LLM Wiki Claude Skill
Karpathy-style LLM Wiki as a Claude Code skill — persistent markdown knowledge base with ingest/query/lint/com
AiNetLinter
Roslyn-based C# (.NET 10) linter for AI-readability rules, with an MCP server exposing 20 solution-analysis to
Build An AI Second Brain LLM Wiki Pattern With Claude Code And Obsidian
Build an AI-powered knowledge base in Obsidian. Use Claude Code slash commands to ingest, link, and query your
LLM Wiki Starter
Template and toolkit for LLM wikis (Karpathy's pattern): a kickoff interview that bakes in your topic, a zero-
LLM Wiki Maintenance
Ingest, then Lint, in one run — plus a one-time framework-update note if FRAMEWORK-SYNC.md exists
Cc Tab Titles
Claude Code plugin: auto-sets terminal tab titles to AI-generated session summaries
Related Agents
Wiki Auditor
Wiki health audit — finds and fixes broken links, missing frontmatter, orphans, near-duplicates. Fixes inline,
Linter
Validates wiki integrity — checks links, staleness, terminology, orphans
SEO Meta Optimizer
Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices.