What problem does it solve? Manually validating edits, formatting code, tracking session state, and coordinating multiple agents in Claude Code is repetitive and error-prone. This Skill automates those tasks through configurable hooks that run before and after operations, persist context across sessions, and train on successful patterns. ## Core Features & Use Cases - Pre/Post-Operation Hooks: Validate syntax, assign agents, auto-format code, and store edit context in memory around every file edit or bash command. - Session & Memory Management: Start, restore, and end sessions with state persistence, metrics export, and cross-agent memory synchronization via MCP tools. - Git & Quality Integration: Wire hooks into pre-commit, post-commit, and pre-push Git stages for automated quality gates and commit tracking. - Use Case: A team running a multi-agent refactoring swarm uses pre-task hooks to spawn agents, post-edit hooks to format and log every change, and session-end hooks to export metrics and summaries for review. ## Quick Start Ask the AI to initialize the hooks system with claude-flow and configure pre-edit and post-edit hooks in .claude/settings.json for automatic formatting and memory storage.