21-state workflow engine for Claude Code with Serena memory persistence, swarm coordination, and RLVR learning.
- Node.js 18+ (LTS recommended) and npm 9+
- Claude Code installed globally
# Install claude-flow globally (required for swarm coordination and RLVR learning)
npm install -g claude-flow@alpha
# Verify installation
claude-flow --versionclaude mcp add claude-flow -s local -- npx claude-flow@v3alpha mcp start
claude mcp add sequential-thinking -s local -- npx -y @modelcontextprotocol/server-sequential-thinking
claude mcp add playwright -s local -- npx -y @playwright/mcp@latest
claude mcp add ruv-swarm -s local -- npx -y ruv-swarm mcp startclaude plugin marketplace add https://github.com/EarthmanWeb/serena-workflow-engine.git
claude plugin install swe@EarthmanWeb --scope localIn Claude Code CLI: claude /plugin → Marketplaces tab → EarthmanWeb → Enable auto-update
/swe-init
/swe-feature-onboard FEATURE_[KEY]
Create .serena/memory-paths.conf in your project root (one path per line):
./.serena/swe
./docs
Plugin bundled memories are always appended automatically. See MCP-README.md for details.
| Command | Description |
|---|---|
/swe-init |
First-time setup |
/swe-status |
Show current state |
/swe-feature-onboard [KEY] |
Register existing feature |
/swe-scaffold |
Scaffold new project |
/swe-reset |
Reset workflow |
/swe-goto [STATE] |
Force transition (debug) |
/swe-cleanup |
Archive completed work |
rm -rf ~/.cache/uv/environments-v2/ ~/.cache/uv/git-v0/ ~/.cache/uv/builds-v0/
rm -rf ~/.claude/plugins/cache/EarthmanWeb/
claude plugin marketplace add https://github.com/EarthmanWeb/serena-workflow-engine
claude plugin install swe@EarthmanWeb --scope localRestart Claude Code.
claude --debuggit submodule update --init .claude/plugins/serena-workflow-engine
bash .claude/plugins/serena-workflow-engine/scripts/install-hooks.sh| Location | Path | Purpose |
|---|---|---|
| Plugin folder | .claude/plugins/serena-workflow-engine/ |
Generic/portable code |
| Local memories | .serena/swe/ |
Project-specific adaptations |
See memories/REF_SWE_DEVELOPMENT.md for full development standards.
MIT