MCP HubMCP Hub
스킬 목록으로 돌아가기

swarmvault

swarmclawai
업데이트됨 5 days ago
537
66
537
GitHub에서 보기
디자인aimcpautomationdata

정보

SwarmVault는 다양한 소스(문서, URL, 코드)를 수집하여 내구성 있는 구조화된 아티팩트를 디스크에 기록하는 로컬-퍼스트 개발자용 지식 저장소입니다. 이는 LLM이 유지하는 위키 패턴을 구현하여 원시 입력에서 검색 가능한 마크다운, 그래프, 대시보드 및 검색 준비가 된 데이터 레이어를 생성합니다. 파일 시스템 내에 직접 지속적이고 AI가 강화된 지식 베이스를 구축하는 데 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add swarmclawai/swarmvault -a claude-code
플러그인 명령대체
/plugin add https://github.com/swarmclawai/swarmvault
Git 클론대체
git clone https://github.com/swarmclawai/swarmvault.git ~/.claude/skills/swarmvault

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

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.
  • Use swarmvault next when you need a read-only orientation command before deciding whether to initialize, ingest, compile, query, review, or refresh.
  • 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 quickstart <file-or-directory-or-github-url> as the beginner-friendly first-run path when the user wants init + ingest + compile + graph viewer in one command.
  • Use swarmvault scan <file-or-directory-or-github-url> --no-serve, swarmvault scan <file-or-directory-or-github-url> --no-viz, or swarmvault clone <file-or-directory-or-github-url> --no-viz when the user wants the fastest scratch pass over a local file, local repo, public GitHub repo, or docs tree without manually stepping through init + ingest + compile first; for GitHub URLs add --branch, --ref, or --checkout-dir when the user needs a pinned checkout. Use scan --mcp or clone --mcp when the next step should be an MCP stdio server. Use swarmvault graph share --post for copyable text, swarmvault graph share --svg [path] for a visual card, or swarmvault graph share --bundle [dir] for a portable folder with markdown, post text, SVG, HTML preview, and JSON metadata.
  • Use swarmvault context build "<goal>" --target <path-or-node> --budget <tokens> when the next agent, review, or handoff needs a bounded evidence pack instead of a broad vault search.
  • Use swarmvault chat "question" when a multi-turn conversation should survive handoff; resume with swarmvault chat --resume <id> "follow-up" and inspect saved transcripts under wiki/outputs/chat-sessions/.
  • Use swarmvault export ai --out <dir> when another agent, crawler, or static workflow needs llms.txt, full text, JSON-LD graph data, a manifest, and per-page siblings without starting graph serve.
  • Use swarmvault task start "<goal>" --target <path-or-node> when agent work should leave a durable task ledger with decisions, linked context packs, changed paths, outcomes, and follow-ups. The older memory command remains a compatibility alias.
  • Use swarmvault doctor before broad troubleshooting or agent handoff; add --repair when the retrieval index can be safely rebuilt. In swarmvault graph serve, the workbench shows prioritized next actions, every doctor check with details, copyable suggested commands, and safe direct repair where available.
  • 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.
  • If SWARMVAULT_OUT is set, resolve generated artifacts from that output root: raw/, wiki/, state/, agent/, and inbox/ live there while swarmvault.config.json and swarmvault.schema.md stay in the project root.

Core loop

  1. Run swarmvault next when the current vault state is unclear; it is read-only and returns paths, checks, and recommended commands.
  2. Initialize a vault with swarmvault init when needed.
  3. Update swarmvault.schema.md before a serious compile. Use it for naming rules, categories, grounding, freshness expectations, and exclusions.
  4. 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. For public GitHub repos, use --branch, --ref, or --checkout-dir when a branch, tag, commit, or reusable checkout matters.
  5. Ingest one-off inputs with swarmvault ingest <path-or-url>, or ingest a whole repo tree with swarmvault ingest <directory>. Audio and video files use tasks.audioProvider when configured; local video needs ffmpeg, public video URLs use swarmvault ingest --video <url> / swarmvault add --video <url> with yt-dlp, and supported YouTube URLs go through direct transcript capture instead of generic URL ingest.
  6. 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.
  7. 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.
  8. 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.
  9. Resolve staged work with swarmvault review list|show|accept|reject and swarmvault candidate list|promote|archive.
  10. 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; retrieval.rerank: true lets the current queryProvider rerank the merged top hits before answering.
  11. Use swarmvault chat "question" for a persisted multi-turn conversation over the compiled wiki, then resume or manage it with swarmvault chat --resume <id>, chat --list, and chat --delete <id>.
  12. Build agent handoff bundles with swarmvault context build "<goal>" --target <path-or-node> --budget <tokens>. Use --format markdown|json|llms for the printed shape, and inspect swarmvault context list|show|delete for saved packs.
  13. Start a task ledger with swarmvault task start "<goal>" --target <path-or-node>, update it with swarmvault task update <id> --note|--decision|--changed-path|--context-pack, finish it with swarmvault task finish <id> --outcome <text>, and use swarmvault task resume <id> --format markdown|json|llms for the next-agent handoff. query, explore, and context build can attach work with --task <id>; --memory <id> remains a compatibility alias.
  14. Run swarmvault export ai --out <dir> when the compiled wiki should be handed to another agent or static crawler as llms.txt, full text, JSON-LD, manifest metadata, and per-page .txt/.json siblings.
  15. Run swarmvault doctor [--repair] when the vault needs one health summary across graph, retrieval, review queues, watch state, migrations, managed sources, and task state before deeper troubleshooting.
  16. 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.
  17. 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.
  18. Use swarmvault mcp when another agent or tool should browse, search, query, build context packs, manage tasks, and inspect vault or retrieval health from the vault through MCP.
  19. Use swarmvault graph share --post when the user needs a quick copyable summary, swarmvault graph share --svg [path] when they need a 1200x630 visual card, swarmvault graph share --bundle [dir] when they need a portable share kit for posting, linking, or screenshotting, swarmvault graph blast <target> when they want reverse-import impact analysis, swarmvault graph cycles when they need directed cycle checks, swarmvault graph status [path] or swarmvault check-update [path] when they need a read-only stale check before deciding between graph update and compile, swarmvault graph stats when they need lightweight counts and relation mix, swarmvault graph validate [graph] --strict when a graph artifact should be checked before export, merge, push, or publish workflows, swarmvault graph update [path] --force or swarmvault update [path] --force only when a large node/edge shrink is expected, swarmvault watch [path] --once --code-only when one repo root should be refreshed without writing watch config, swarmvault graph query "<seed>" --context calls --evidence extracted when traversal should focus on relation groups, evidence classes, node types, or languages, swarmvault graph tree [--output <html>] or swarmvault tree [--output <html>] when they need an interactive source/module/symbol tree with a node inspector, swarmvault graph merge <graph...> --out <path> or swarmvault merge-graphs <graph...> --out <path> when they need to combine SwarmVault or node-link graph JSON, swarmvault graph cluster [--resolution <n>] or swarmvault cluster-only [vault] when they need communities and graph report artifacts recomputed without re-ingest, swarmvault graph serve when the live workspace, health workbench, Memory dashboard, 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> / graph export --callflow <output> when richer sharing will help. The live workbench exposes prioritized next actions, explicit capture modes, title/tag capture fields, context-pack/task token budgets, and action receipts; the bookmarklet sends page titles and selected text into the same capture path. graph export also supports --html-standalone, --json, --obsidian, --canvas, and --neo4j for lighter, Obsidian-native, or Neo4j-ready 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.
  • Use saved chat transcripts and static AI exports as durable handoff artifacts when the user asks for continuity across sessions or tools.
  • Prefer wiki/graph/report.md, state/graph.json, and saved wiki pages over ad hoc broad search when they already exist.
  • Use swarmvault graph status [path] or swarmvault check-update [path] before refreshing a tracked repo when you need to know whether a code-only graph update/update is enough or a full compile is required.
  • Use swarmvault graph validate [graph] --strict before sharing, merging, pushing, or publishing graph artifacts when reference integrity matters.
  • 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. Use swarmvault provider add|list|show|remove when provider routing should be updated without hand-editing config.
  • Audio and video ingest need tasks.audioProvider to resolve to a provider that exposes audio capability. For a fully local setup, run swarmvault provider setup --local-whisper --apply — installs the local-whisper provider, downloads a whisper.cpp ggml model into ~/.swarmvault/models/, and points tasks.audioProvider at it. Local video also needs ffmpeg; public video URL ingest with --video needs yt-dlp. 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 and oversized/low-cohesion split pass, or run swarmvault graph cluster --resolution <n> for a one-off recompute.
  • 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.

Files and artifacts

  • swarmvault.schema.md: vault-specific compile and query rules.
  • SWARMVAULT_OUT: optional output root for generated artifact directories. When set, raw/, wiki/, state/, agent/, and inbox/ are resolved under that directory.
  • 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/outputs/chat-sessions/: persisted markdown transcripts for swarmvault chat.
  • wiki/dashboards/: recent sources, reading log, timeline, source sessions, source guides, research map, contradiction, and open-question dashboards.
  • wiki/graph/share-card.md, wiki/graph/share-card.svg, and wiki/graph/share-kit/: post-ready text, visual graph summaries, and a portable HTML-preview share bundle generated on compile.
  • wiki/exports/ai/: default static AI handoff export with llms.txt, llms-full.txt, graph.jsonld, manifest.json, ai-readme.md, and optional per-page siblings.
  • wiki/context/: markdown context-pack companions for agent kickoff, PR review, and handoff.
  • wiki/memory/: task ledger index and markdown task pages.
  • 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), Svelte single-file components (.svelte), HTML (.html/.htm), CSS, Julia (.jl), Verilog/SystemVerilog (.v/.vh/.sv/.svh), R (.r/.R), and SQL (.sql) sources. Julia and Verilog/SystemVerilog use packaged WASM grammars; JS/TS capture static and dynamic imports; SQL adds table/view symbols plus read/write/join/reference graph edges; R emits an explicit diagnostic until a safe packaged parser exists.
  • 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, video 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/context-packs/: saved JSON context-pack artifacts with citations, token-budget accounting, included items, and omitted items.
  • state/chat-sessions/: saved structured chat state for resumable wiki conversations.
  • state/memory/tasks/: saved JSON task ledger records with decisions, changed paths, outcomes, and follow-ups.
  • state/retrieval/: local retrieval index, SQLite FTS shard, and manifest.
  • 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|kiro|kilo|hermes|antigravity|vscode|amp|augment|adal|bob|cline|codebuddy|command-code|continue|cortex|crush|deepagents|devin|firebender|iflow|junie|kilo-code|kimi|kode|mcpjam|mistral-vibe|mux|neovate|openclaw|openhands|pochi|qoder|qwen-code|replit|roo-code|trae-cn|warp|windsurf|zencoder installs agent-specific rules into the current project. Agents in the extended roster receive a project-level skill bundle at the tool's conventional skills directory.
  • swarmvault init, quickstart, scan, and clone leave project-local agent rule files alone by default. Use install --agent explicitly, or set agents in swarmvault.config.json and pass --install-agent-rules to initialization or scan commands when configured installs are intentional.
  • swarmvault install --agent codex|claude|opencode|gemini|copilot|kilo --hook installs graph-first hook or plugin support for the agents that expose project hook APIs. Use swarmvault install status --agent <agent> [--hook] to inspect expected files without writing.
  • swarmvault install --agent aider installs CONVENTIONS.md and wires .aider.conf.yml to read it when that config is valid YAML.
  • swarmvault install --agent antigravity writes .agents/rules/swarmvault.md and .agents/workflows/swarmvault.md; reinstall removes older fully managed .agent/ files.
  • swarmvault mcp exposes tools and resources for page search, page reads, source listing, graph stats, graph clustering refresh, community lookup, hyperedges, query, context-pack build/read/list, task start/update/finish/list/read/resume, compatibility memory tasks, vault doctor, retrieval status/rebuild/doctor, 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.

GitHub 저장소

swarmclawai/swarmvault
경로: skills/swarmvault
0
agent-memoryai-agentsclaude-codeclaude-code-memorycodexkarpathy

연관 스킬

executing-plans

디자인

executing-plans 스킬은 검토 체크포인트가 포함된 통제된 배치로 실행할 완전한 구현 계획이 있을 때 사용합니다. 이 스킬은 계획을 불러와 비판적으로 검토한 후, 소규모 배치(기본값 3개 작업)로 작업을 실행하면서 각 배치 사이에 진행 상황을 아키텍트 검토를 위해 보고합니다. 이를 통해 내재된 품질 관리 체크포인트를 갖춘 체계적인 구현이 보장됩니다.

스킬 보기

requesting-code-review

디자인

이 스킬은 코드 변경 사항을 요구 사항에 따라 분석하기 위해 코드 리뷰어 하위 에이전트를 호출합니다. 작업 완료 후, 주요 기능 구현 후, 또는 메인 브랜치에 병합하기 전에 사용해야 합니다. 이 리뷰는 현재 구현체와 원래 계획을 비교하여 문제를 조기에 발견하는 데 도움이 됩니다.

스킬 보기

connect-mcp-server

디자인

이 스킬은 개발자들이 HTTP, stdio 또는 SSE 전송 방식을 통해 MCP 서버를 Claude Code에 연결하는 포괄적인 가이드를 제공합니다. GitHub, Notion 및 사용자 정의 API와 같은 외부 서비스를 통합하기 위한 설치, 구성, 인증 및 보안을 다룹니다. MCP 통합 설정, 외부 도구 구성 또는 Claude의 모델 컨텍스트 프로토콜 작업 시 활용하세요.

스킬 보기

web-cli-teleport

디자인

이 스킬은 작업 분석을 기반으로 개발자가 Claude Code 웹 인터페이스와 CLI 인터페이스 중 선택할 수 있도록 돕고, 두 환경 간 원활한 세션 텔레포트를 가능하게 합니다. 웹, CLI 또는 모바일 환경 전환 시 세션 상태와 컨텍스트를 관리하여 워크플로를 최적화합니다. 다양한 단계에서 서로 다른 도구가 필요한 복잡한 프로젝트에 사용하세요.

스킬 보기