Skip to content

What is a knowledge vault for coding agents?

By the Toolbay team · Checked against the sources below on

A knowledge vault is a folder of linked Markdown notes that a coding agent reads as reference: how your system works, the rules of a domain, the details of a framework version. It is often an Obsidian vault, which is simply a folder of Markdown files. The agent opens the notes it needs when a task calls for them.

How it differs

  • From a skill: a skill says how to do a job; a vault holds what is true about a subject. A skill can tell the agent which vault notes to read.
  • From CLAUDE.md: CLAUDE.md is short and loaded every session; a vault can be large because it is read on demand.
  • From an MCP server: a vault is plain files in your repo, with nothing to run.

How a Toolbay vault installs

Into vaults/<slug>/ inside your project, with one pointer line added to CLAUDE.md and AGENTS.md saying when to read it. Claude Code, Cursor and Codex can all follow that line.

When a skill or vault helps, and when it does not

Helps

  • A vault helps when the agent lacks knowledge your notes have, such as a framework version newer than the model.

Does not help

  • A vault restating what the model already knows adds reading time and can make some answers worse.

A knowledge vault for Next.js 16.3/16.4 raised hard-task passes from 16 of 42 to 35 of 42 runs but made two tasks worse, so it is not on sale yet.