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
- Wiki Ingest — Ingest a source document into the LLM Wiki 2.3k ★
- Internal Safety Collapse — We built an adversarial codespace setup 1.2k ★
- Memtrace Public — Structural memory for AI coding agents 466 ★
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
Yotta School Doc
Local, deterministic school-document skeleton and validation skill for AI agents: versioned rule packs + struc
AniList MCP
Connects your AI agents (Claude Desktop, Cursor, Antigravity IDE, etc.) directly to AniList to discover anime
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
Harness Diagnostic
System-level lint for multi-agent harnesses. Catches the 21 structural traps single-file linters miss — includ
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
Web Maintainer
Audits the website source for broken internal links, missing or duplicate meta descriptions, and facts that co