knowledge-base
Skill by wonderwhy-er
Creates and maintains a Markdown knowledge base that any AI agent can read, search, and update. It uses an INDEX.md registry instead of a vector database. Aimed at people who want organized notes for an agent or LLM to consume.
Install knowledge-base
Built from the published package, never by AI.
git clone --depth 1 https://github.com/wonderwhy-er/DesktopCommanderMCP /tmp/DesktopCommanderMCP && mkdir -p ~/.claude/skills && cp -r /tmp/DesktopCommanderMCP/skills/knowledge-base ~/.claude/skills/knowledge-baseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wonderwhy-er/DesktopCommanderMCP /tmp/DesktopCommanderMCP && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/DesktopCommanderMCP/skills/knowledge-base ~/.gemini/antigravity-cli/skills/knowledge-baseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The knowledge-base skill sets up and maintains a folder of Markdown notes that an AI agent can navigate without a vector database. The agent reads one INDEX.md file, picks notes by their one-line descriptions, and opens only the notes it needs. Notes are atomic, have stable IDs, use YAML frontmatter, and link to related notes with a stated reason.
The skill covers creating a new KB, adding or updating notes, and running a maintenance pass. That pass looks for orphan notes, broken links, non-atomic or duplicate notes, and tags outside the controlled list. It suits people who want to give an agent or LLM organized docs or a second brain for context. The source is version 0.1.0.
Written from the project's SKILL.md and checked against it.
What it can do
- Create a new KBSets up the folder structure, INDEX.md, a first topic folder, and a first note.
- Add a noteCreates an atomic note with frontmatter, registers it in INDEX.md, and links it from the topic map.
- Update a noteEdits an existing note in place, bumps its updated date, and refreshes its registry line.
- Maintenance passFinds orphans, broken links, drift, non-atomic notes, duplicates, and tag sprawl.
- write_fileUsed to create new notes and index files.
- edit_blockUsed to change only the lines that need updating in existing files.
- start_searchRipgrep-based text search used during maintenance scans.
- list_directoryUsed to see what is in a topic folder before adding a note.
What you need
- Filesystem tools that provide write_file, edit_block, and list_directory
- ripgrep for start_search text scans
Try asking
- Start a knowledge base for my project docs
- Add a note about how we rotate session tokens
- Run a maintenance pass on my KB to find orphan notes
Good to know
- Designed to work without a vector database, so note summaries need to be clear for the agent to pick the right note.
- The INDEX.md file is loaded into context, so it must be kept short.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/knowledge-base/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to knowledge-base
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
knowledge-base: common questions
Does this need a vector database?
No. The source says an agent reads one index file, picks notes by their descriptions, and opens only those notes.
What is INDEX.md?
INDEX.md holds the instructions for agents and the registry of all notes. The source calls it the single source of truth for the KB.
How does the maintenance pass find orphan notes?
It searches the KB for each note's ID and filename slug, ignores the note's own file, INDEX.md, and its topic file, and flags notes with no other match.
How do I install knowledge-base?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is knowledge-base free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is knowledge-base safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to knowledge-base?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
