Skip to content
Skillpedia
Research33k · #8803

swarmvault

What it does

This skill sets up a local knowledge base that your agent keeps organized as a wiki. It is for people who want to collect sources like notes, books and links and query them later.

When to use it

  • ✓When you want to turn a folder of notes, books or transcripts into a searchable wiki.
  • ✓When you want an AI to keep a lasting knowledge base that updates as new sources arrive.
  • ✓When your project already has SwarmVault config files and you want to work with the vault.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/swarmvault/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/swarmvault/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Set up a knowledge vault from the PDFs and notes in my research folder so I can search them later.”

5 new skills a week. 1 minute to read.

How it works

The agent creates a vault folder with a schema, adds your sources and compiles them into linked markdown pages, graphs and a dashboard you can read on your computer.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

SwarmVault

Use this skill when the user wants a local-first knowledge vault built on the LLM Wiki pattern — three layers (raw sources, wiki, schema) where the LLM maintains a durable wiki between you and raw sources. Also use it when the project already contains swarmvault.config.json or swarmvault.schema.md.

For onboarding, examples, command references, or troubleshooting, read the bundled README.md, examples/, references/, and TROUBLESHOOTING.md before improvising workflow advice.

Quick checks

  • Work from the vault root.
  • If the vault does not exist yet, run swarmvault init.
  • Use swarmvault demo --no-serve when the user wants the fastest zero-config walkthrough before pointing SwarmVault at their own sources.
  • Use swarmvault scan <directory> --no-serve when the user wants the fastest scratch pass over a local repo or docs tree without manually stepping through init + ingest + compile first.
  • Read swarmvault.schema.md before compile or query work. It is the vault's operating contract.
  • If wiki/graph/report.md exists, use it before broad repo search.

Core loop

  1. Initialize a vault with swarmvault init when needed.
  2. Update swarmvault.schema.md before a serious compile. Use it for naming rules, categories, grounding, freshness expectations, and exclusions.
  3. Use swarmvault source add <input> when the input is a recurring local file, local directory, public GitHub repo root, or docs hub that should stay registered.
  4. Ingest one-off inputs with swarmvault ingest <path-or-url>, or ingest a whole repo tree with swarmvault ingest <directory>. Audio files use tasks.audioProvider when configured, and supported YouTube URLs go through direct transcript capture instead of generic URL ingest.
  5. Use swarmvault ingest --guide, swarmvault source add --guide, swarmvault source reload --guide, swarmvault source guide <id>, or swarmvault source session <id> when the human should integrate one source at a time before canonical pages change. Set profile.guidedIngestDefault: true in swarmvault.config.json to make guided mode the default; use --no-guide to override. Profiles using guidedSessionMode: "canonical_review" stage approval-queued canonical edits; insights_only profiles keep exploratory synthesis in wiki/insights/. Use --review only for the lighter review-only path.
  6. Use swarmvault inbox import for capture-style batches, then swarmvault watch --lint --repo when the workflow should stay automated. Add --code-only when the refresh should stay AST-only and defer non-code semantic re-analysis to a later compile. On tracked repos, code-only changes take that faster compile path automatically. Install swarmvault hook install when git checkouts and commits should trigger the same repo-aware code-only refresh automatically.
  7. Compile with swarmvault compile, use compile --max-tokens <n> when the generated wiki must stay inside a bounded context budget, or use compile --approve when changes should go through the local review queue first.
  8. Resolve staged work with swarmvault review list|show|accept|reject and swarmvault candidate list|promote|archive.
  9. Ask questions with swarmvault query "<question>". It saves durable answers into wiki/outputs/ by default; add --no-save only for ephemeral checks. When an embedding provider is configured, query can merge semantic page matches into local search; search.rerank: true lets the current queryProvider rerank the merged top hits before answering.
  10. Use swarmvault explore "<question>" --steps <n> for save-first multi-step research loops, or --format report|slides|chart|image when the artifact should be presentation-oriented.
  11. Run swarmvault lint whenever the schema changed, artifacts look stale, or compile/query results drift. Set profile.deepLintDefault: true in swarmvault.config.json when the advisory deep-lint pass should be the default, and use --no-deep when you need a structural-only run. Add --web only when deep lint is enabled and a webSearch.tasks.deepLintProvider adapter is configured; web evidence is scoped to deep lint and does not change compile or query behavior.
  12. Use swarmvault mcp when another agent or tool should browse, search, and query the vault through MCP.
  13. Use swarmvault graph blast <target> when the user wants reverse-import impact analysis, `swarmvault graph
FAQ

Where is the vault stored?

The skill is described as local-first, meaning it writes its files to your own computer.

What kinds of sources can it use?

The description lists books, notes, transcripts, exports, datasets, slide decks, files, URLs and code.

Can I try it before using my own files?

Yes. The skill mentions a demo command that gives a quick walkthrough before you add your own sources.

Details

Original description by the author

Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, and MCP artifacts to disk from books, notes, transcripts, exports, datasets, slide decks, files, URLs, code, and recurring source workflows.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8803
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills