@guyghost/swarm-dao-claude-adapter
v0.2.0
Published
Swarm DAO governance adapter for Claude Code — MCP server, native config, slash commands, and CLAUDE.md
Maintainers
Readme
@guyghost/swarm-dao-claude-adapter
Swarm DAO governance adapter for Claude Code (Anthropic).
It bundles:
- the Swarm DAO MCP server (
swarm-dao-claudebin) - a native
.mcp.jsontemplate - a
CLAUDE.mdinstructions file - ready-made slash commands (
/dao-propose,/dao-deliberate,/dao-ship) - a
HostAdapterimplementation for programmatic use
Install
npm install @guyghost/swarm-dao-claude-adapterConfigure
MCP server
Copy .mcp.json into your project root. Claude Code auto-detects it and
registers the swarm-dao MCP server. The dao_* tools then become available
as mcp__swarm-dao__dao_*.
Instructions
Append the contents of CLAUDE.md to your repo's CLAUDE.md so Claude Code
follows the DAO workflow.
Slash commands
Copy the commands/ directory into .claude/commands/ to enable:
/dao-propose— scaffold a proposal/dao-deliberate— deliberate and record sub-agent outputs/dao-ship— control, execute, and ship a proposal
Run the server directly
swarm-dao-claude # uses $DAO_ROOT or cwdProgrammatic API
import { createClaudeHostAdapter, startClaudeServer } from "@guyghost/swarm-dao-claude-adapter";
const adapter = createClaudeHostAdapter("/path/to/repo");
await startClaudeServer();License
MIT
