Agent skill

Swarmvault

by davila7 in davila7/claude-code-templates

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…

MITAuto-check passedDocuments & Office

Install Swarmvault

skills CLI
$ npx skills add davila7/claude-code-templates --skill swarmvault -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates swarmvault --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/swarmvault .claude/skills/swarmvault && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swarmvault
GitHub stars
32k
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
1,287 words
Files
9 (incl. references)
Skills in repo
478
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 12 steps: Initialize a vault with swarmvault init… → Update swarmvault.schema.md before a… → Use swarmvault source add when the input… → …
  • Needs a local-first knowledge vault that writes durable markdown
  • SKILL.md covers Quick checks, Core loop, Working rules and Files and artifacts, plus 2 more sections
  • Calls gemini, opencode and ollama

What it does

Swarmvault is an agent skill from davila7/claude-code-templates. 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.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `README.md`, `TROUBLESHOOTING.md` and `examples/quickstart.md`).

It sits in Documents & Office, covering Second brain and Slides and decks. It works with Model Context Protocol. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Needs a local-first knowledge vault that writes durable markdown
  • MCP artifacts to disk from books
  • Recurring source workflows

Example prompts

  • “/swarmvault”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  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…
  3. Use swarmvault source add when the input is a recurring local file, local directory, public GitHub repo root, or docs hub that should stay…
  4. Ingest one-off inputs with swarmvault ingest , or ingest a whole repo tree with swarmvault ingest . Audio files use tasks.audioProvider…
  5. Use swarmvault ingest --guide, swarmvault source add --guide, swarmvault source reload --guide, swarmvault source guide , or swarmvault…
  6. Use swarmvault inbox import for capture-style batches, then swarmvault watch --lint --repo when the workflow should stay automated. Add…
  7. Compile with swarmvault compile, use compile --max-tokens when the generated wiki must stay inside a bounded context budget, or use…
  8. Resolve staged work with swarmvault review list|show|accept|reject and swarmvault candidate list|promote|archive.
  9. Ask questions with swarmvault query "". It saves durable answers into wiki/outputs/ by default; add --no-save only for ephemeral checks…
  10. Use swarmvault explore "" --steps for save-first multi-step research loops, or --format report|slides|chart|image when the artifact should…
  11. Run swarmvault lint whenever the schema changed, artifacts look stale, or compile/query results drift. Set profile.deepLintDefault: true…
  12. Use swarmvault mcp when another agent or tool should browse, search, and query the vault through MCP.

What it can do on your machine

Read from SKILL.md and the folder at commit 46b4d8b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gemini
    • opencode
    • ollama
    • claude
    • cursor

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • gist.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swarmvault loads about 2.8k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 1,287 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 46b4d8b, republished under its MIT licence (© davila7). 1,287 words, ~2,796 tokens.

Download SKILL.mdSave it as .claude/skills/swarmvault/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
swarmvault
description
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.
version
0.7.30
license
MIT
metadata
{"openclaw":{"requires":{"anyBins":["swarmvault","vault"]},"install":[{"id":"node","kind":"node","package":"@swarmvaultai/cli","bins":["swarmvault","vault"],"l…

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 serve when the live workspace or bookmarklet clipper will help, swarmvault diff when they need a graph-level change summary against the last committed baseline, or swarmvault graph export --html <output> / graph export --report <output> when sharing will help. graph export also supports --html-standalone, --json, --obsidian, and --canvas for lighter or Obsidian-native sharing.

Working rules

  • Prefer changing the schema before re-running compile when organization or grounding is wrong.
  • Treat wiki/ and state/ as first-class outputs. Inspect them instead of trusting a single chat answer.
  • Prefer wiki/graph/report.md, state/graph.json, and saved wiki pages over ad hoc broad search when they already exist.
  • Use source add for recurring files, directories, public GitHub repo roots, and docs hubs. Use ingest and add for deliberate one-off inputs.
  • When the vault lives in a git repo, ingest|compile|query --commit can commit wiki/ and state/ changes immediately after the run.
  • The default heuristic provider is a valid local/offline starting point. Add a model provider only when the user wants richer synthesis quality or optional capabilities such as embeddings, vision, image generation, or audio transcription. The recommended fully-local setup is Ollama + Gemma: ollama pull gemma4 then set providers.llm to { type: "ollama", model: "gemma4" } and point tasks.compileProvider, tasks.queryProvider, and tasks.lintProvider at it.
  • Audio ingest needs tasks.audioProvider to resolve to a provider that exposes audio capability. YouTube transcript ingest does not need a provider. Set graph.communityResolution when the user wants to pin community clustering instead of using the adaptive default.
  • If an OpenAI-compatible backend cannot satisfy structured generation, reduce its declared capabilities instead of forcing every task through it.
  • Keep raw sources immutable. Put corrections in schema, new sources, or saved outputs rather than manually rewriting generated provenance.
Show full SKILL.md (411 more words)Show less

Files and artifacts

  • swarmvault.schema.md: vault-specific compile and query rules.
  • raw/sources/ and raw/assets/: canonical source storage.
  • wiki/: generated pages plus saved outputs.
  • wiki/outputs/source-briefs/: saved onboarding briefs for managed sources.
  • wiki/outputs/source-sessions/: resumable guided-session anchors plus question/answer history for one-source-at-a-time integration.
  • wiki/outputs/source-reviews/: staged source-scoped review pages.
  • wiki/outputs/source-guides/: staged source-integration guides for one-source-at-a-time workflows.
  • wiki/dashboards/: recent sources, reading log, timeline, source sessions, source guides, research map, contradiction, and open-question dashboards.
  • wiki/code/: module pages for ingested JavaScript, JSX, TypeScript (including .mts/.cts), TSX, Bash/shell script (with shebang-based detection for extensionless scripts), Python, Go, Rust, Java, Kotlin, Scala, Dart, Lua, Zig, C#, C, C++ (including .c/.cc/.cpp/.cxx and .h/.hh/.hpp/.hxx), PHP, Ruby, PowerShell (.ps1/.psm1/.psd1), Elixir (.ex/.exs), OCaml (.ml/.mli), Objective-C (.m/.mm), ReScript (.res/.resi), Solidity (.sol), Vue single-file components (.vue), HTML (.html/.htm), and CSS sources.
  • state/extracts/: extracted markdown and JSON sidecars for PDF, the full Word family (.docx/.docm/.dotx/.dotm), RTF (.rtf), OpenDocument (ODT/ODP/ODS), EPUB, CSV/TSV, the full Excel family (.xlsx/.xlsm/.xlsb/.xls/.xltx/.xltm), the full PowerPoint family (.pptx/.pptm/.potx/.potm), Jupyter notebooks (.ipynb), BibTeX (.bib), Org-mode (.org), AsciiDoc (.adoc/.asciidoc), transcripts, Slack exports, email, calendar, audio transcripts, YouTube transcript captures, and image sources (.png/.jpg/.jpeg/.gif/.webp/.bmp/.tif/.tiff/.svg/.ico/.heic/.heif/.avif/.jxl), plus structured previews for config/data files (JSON/JSONC/JSON5/TOML/YAML/XML/INI/ENV/PROPERTIES/CFG/CONF) and content-sniffed text ingest for developer manifests (package.json, Cargo.toml, go.mod, LICENSE, .gitignore, Dockerfile, Makefile, and similar plaintext files).
  • state/code-index.json: repo-aware code aliases and local import resolution data.
  • wiki/projects/: project rollups over canonical pages.
  • wiki/candidates/: staged concept and entity pages awaiting promotion.
  • state/graph.json: compiled graph.
  • state/search.sqlite: local search index.
  • state/sources.json and state/sources/<id>/: managed-source registry entries plus working sync state.
  • state/approvals/: staged review bundles from compile --approve.
  • state/sessions/: canonical session artifacts for compile, query, explore, lint, watch, review, and candidate actions.
  • state/jobs.ndjson: watch-mode run log.

Agent integration

  • swarmvault install --agent codex|claude|cursor|goose|pi|gemini|opencode|aider|copilot|trae|claw|droid installs agent-specific rules into the current project.
  • swarmvault install --agent claude|opencode|gemini|copilot --hook installs graph-first hook or plugin support for the agents that expose project hook APIs.
  • swarmvault install --agent aider installs CONVENTIONS.md and wires .aider.conf.yml to read it when that config is valid YAML.
  • swarmvault mcp exposes tools and resources for page search, page reads, source listing, query, ingest, compile, and lint.

Defaults to preserve

  • Keep raw source material immutable under raw/.
  • Save useful answers unless the user explicitly wants ephemeral output.
  • Prefer reviewable flows such as compile --approve, review, and candidate when a change should not activate silently.
  • Treat provider setup as part of serious vault operation. If only heuristic is configured, say so clearly.
  • When a vault uses the profile block in swarmvault.config.json, respect it as the deterministic behavior layer. swarmvault.schema.md still defines the human intent layer.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (references) in cli-tool/components/skills/development/swarmvault of davila7/claude-code-templates.

  • SKILL.md
  • README.md
  • TROUBLESHOOTING.md
  • examples/quickstart.md
  • examples/repo-workflow.md
  • examples/research-workflow.md
  • references/artifacts.md
  • references/commands.md
  • validation/smoke-prompts.md

Open the folder on GitHubat commit 46b4d8b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Swarmvault next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swarmvault compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swarmvault this skilldavila7/claude-code-templates32k1 repos~2.8kAutomated safety check: PassMIT
Swarmvaultswarmclawai/swarmvault708—~6.1kAutomated safety check: PassMIT
Baalda Guidenaveedharri/baalda155—~1.8kAutomated safety check: PassApache-2.0
Codex Slidesnexu-io/codex-slides928—~3kAutomated safety check: PassMIT
ChardeskSayhi-bzb/CharDesk548—~509Automated safety check: PassMIT
Codex Slides Known Errorsnexu-io/codex-slides928—~713Automated safety check: PassMIT

Similar skills

  • Swarmvault

    swarmclawai/swarmvault

    Use SwarmVault when the user needs a local-first knowledge vault that writes durable markdown, graph, search, dashboard, review, chat-session, context-pack, task-ledger, static AI export, retrieval…

    708 GitHub stars~6.1k tokensUpdated 3 mo ago
    Knowledge ManagementAuto-check passed
  • Baalda Guide

    naveedharri/baalda

    Answer any question about Baalda (the team second-brain app at baalda.com) in plain, non-technical language — what it is, what it can and cannot do, which file formats it supports (Markdown, images…

    155 GitHub stars~1.8k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Codex Slides

    nexu-io/codex-slides

    Create, research, revise, restyle, present, inspect, and export Codex Slides slide decks from Codex, including scenario workflows, project Design Files, and always-on brand design systems.

    928 GitHub stars~3k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Chardesk

    Sayhi-bzb/CharDesk

    Use CharDesk when work belongs on a shared spatial Canvas or Slide scene that humans and agents need to inspect, compose, or edit together.

    548 GitHub stars~509 tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Codex Slides Known Errors

    nexu-io/codex-slides

    Diagnose and recover from Codex Slides plugin, MCP, Browser handoff, local runtime, durable run, project resume, rendering, Design Files, export, and version-contract failures.

    928 GitHub stars~713 tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Codex Slides Research

    nexu-io/codex-slides

    Compatibility entry point for researching a current topic into a source-backed Markdown brief and turning it into a Codex Slides outline or rendered deck.

    928 GitHub stars~508 tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed

More from davila7/claude-code-templates

All 478 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Questions about Swarmvault

What does Swarmvault do?

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…. Swarmvault is an agent skill from davila7/claude-code-templates. 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.

When should I use Swarmvault?

Swarmvault fits situations like: needs a local-first knowledge vault that writes durable markdown; MCP artifacts to disk from books; recurring source workflows.

How do I install Swarmvault in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill swarmvault -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/swarmvault in davila7/claude-code-templates) into .claude/skills/swarmvault in your project. Claude Code loads it when a task matches its description.

How do I install Swarmvault in Codex?

Run `npx skills add davila7/claude-code-templates --skill swarmvault -a codex`. Or copy the skill folder (cli-tool/components/skills/development/swarmvault in davila7/claude-code-templates) into .agents/skills/swarmvault in your project. Codex loads it when a task matches its description.

Can I use Swarmvault in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill swarmvault -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swarmvault, .gemini/skills/swarmvault, .github/skills/swarmvault and .opencode/skills/swarmvault in your project.

What does Swarmvault need to run?

Going by SKILL.md and its folder, Swarmvault needs the command-line tools its instructions call (gemini, opencode, ollama, claude and cursor).

Does Swarmvault access the network?

SKILL.md names 1 domain. As links in the text: gist.github.com. This is read from the text; nothing was executed.

Is Swarmvault safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swarmvault use?

Swarmvault is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swarmvault use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Swarmvault?

Skills that share tags, products or a category with Swarmvault: Swarmvault (swarmclawai/swarmvault, 708 stars), Baalda Guide (naveedharri/baalda, 155 stars), Codex Slides (nexu-io/codex-slides, 928 stars) and Chardesk (Sayhi-bzb/CharDesk, 548 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swarmvault?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,483 GitHub stars. The repository holds 478 skills in this directory. The repository was last updated on October 9, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.