coding-agent
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features…
Use when working with a SwarmVault knowledge vault (raw/, wiki/, swarmvault.schema.md). Establishes schema-first conventions and prefers graph queries over broad search.
Claude Code
$ npx -y skills add swarmclawai/swarmclaw --skill swarmvault --agent claude-code
Codex
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a codex -y
Cursor
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a cursor -y
Gemini CLI
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a gemini-cli -y
GitHub Copilot
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a github-copilot -y
OpenCode
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a opencode -y
Windsurf
$ npx skills add swarmclawai/swarmclaw --skill swarmvault -a windsurf -y
name: swarmvault
description: Use when working with a SwarmVault knowledge vault (raw/, wiki/, swarmvault.schema.md). Establishes schema-first conventions and prefers graph queries over broad search.
homepage: https://swarmvault.ai
metadata:
openclaw:
capabilities: [knowledge-base, knowledge-graph, retrieval, vault]
requires:
bins: [npx]Use when the agent has a SwarmVault MCP server enabled (transport `stdio`, command `npx -y @swarmvaultai/cli mcp`) pointed at a vault directory.
A SwarmVault workspace is a three-layer knowledge system:
The vault contract lives in `swarmvault.schema.md` at the workspace root. The vault config lives in `swarmvault.config.json`.
1. **Read `swarmvault.schema.md` first** before any compile or query work. It defines categories, naming, freshness rules, and grounding conventions for this specific vault. 2. **Read `wiki/graph/report.md` before broad file searching** when it exists; otherwise start with `wiki/index.md`. Both summarize the vault structure so you don't re-scan everything. 3. **Treat `raw/` as immutable.** Never edit, rename, or delete files there. New sources go through `ingest`. 4. **Treat `wiki/` as compiler-owned.** Edits should preserve frontmatter fields exactly: `page_id`, `source_ids`, `node_ids`, `freshness`, `source_hashes`. If those drift, the next `compile` will overwrite or flag the page. 5. **Prefer graph queries over grep/glob** for "how does X relate to Y" or "what depends on Z" questions. The vault's typed graph is more reliable than text search. 6. **Save high-value answers** to `wiki/outputs/` (use the `query` or `explore` tools) instead of leaving them only in chat. That way they become first-class vault content for next time.
The SwarmVault MCP server exposes the following tools (names are prefixed by SwarmClaw with `mcp_<sanitized server name>_`, e.g. `mcp_SwarmVault_query_vault`). Match the user's intent to the closest tool:
Vault inspection:
Graph (prefer over grep for relational questions):
Question answering:
Ingest and maintenance:
If the MCP server is unavailable but the agent has a `shell` or `execute` tool, the same operations are available via `swarmvault <subcommand>` (or `npx -y @swarmvaultai/cli <subcommand>`) with the working directory set to the vault root.
For a fresh question against the vault:
1. Call `workspace_info` if you haven't already, then read `swarmvault.schema.md`. If `wiki/graph/report.md` or `wiki/index.md` exists, skim it. 2. Use `query_vault` (or `query_graph` / `get_node` / `shortest_path` for relational questions). Cite returned `source_ids` and `node_ids`. 3. If the answer reveals a gap, propose `ingest_input` for the missing source, then `compile_vault`. 4. Save the final answer with `query_vault` `save: true` so it becomes vault content under `wiki/outputs/`.
For a new source the user mentions:
1. `ingest_input` the file/URL. 2. `compile_vault` to derive new wiki pages, graph, and search index. 3. `lint_vault` to check frontmatter and links. 4. Skim the new pages in `wiki/sources/` and confirm provenance.
The self-hosted AI agent runtime and multi-agent framework for autonomous agents. Open-source agent swarms with durable agent memory, MCP tools, skills, delegation, schedules, and 23+ LLM providers — a practical Claude Code and LangChain alternative.
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features…
GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2)…
Use Google Workspace CLI (`gws`) for Drive, Docs, Sheets, Gmail, Calendar, Chat, and related Workspace API tasks.
Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro). Use when asked to create, generate, or edit images and a Gemini…
Edit or create PDFs with natural-language instructions using the nano-pdf CLI. Use when asked to make a PDF, edit a PDF, add…
Generate images via OpenAI Images API (GPT Image, DALL-E 3, DALL-E 2). Supports batch generation with random prompt sampler and…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.