agent-capabilities
CommandMatrix of agent capabilities and their specializations.
Cleanup and persist session state before ending work.
> /plugin marketplace add ruvnet/agentic-flow> /plugin install agentic-flow@agentic-flow
Cleanup and persist session state before ending work.
npx claude-flow hook session-end [options]
npx claude-flow hook session-end --session-id "dev-session-2024"
npx claude-flow hook session-end -s "feature-auth" --export-metrics --generate-summary
npx claude-flow hook session-end -s "quick-fix" --save-state false --cleanup-temp
npx claude-flow hook session-end -s "major-refactor" --save-state --export-metrics --generate-summary
This hook is automatically called by Claude Code when:
Manual usage in agents:
# At session end npx claude-flow hook session-end --session-id "your-session" --generate-summary
Returns JSON with:
{
"sessionId": "dev-session-2024",
"duration": 7200000,
"saved": true,
"metrics": {
"commandsRun": 145,
"filesModified": 23,
"tokensUsed": 85000,
"tasksCompleted": 8
},
"summaryPath": "/sessions/dev-session-2024-summary.md",
"cleanedUp": true,
"nextSession": "dev-session-2025"
}Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.
Matrix of agent capabilities and their specializations.
Complete guide to all 54 available agent types in Claude Flow.
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.