Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 10k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-base

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install knowledge-base in Claude Code

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

A

No 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 →

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.

knowledge-base Install

Add to stack

Loading.