COMMAND_COMPLIANCE_REP…
CommandReviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
Cleanup and persist session state before ending work.
> /plugin marketplace add spencermarx/open-code-review> /plugin install ocr@aclarify
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"
}AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.
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.
Identify and resolve performance bottlenecks in your development workflow.
Generate comprehensive performance reports for swarm operations.
Reduce token consumption while maintaining quality through intelligent coordination.
Analyze token usage patterns and optimize for efficiency.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.