What problem does it solve? Manually validating edits, formatting code, tracking sessions, and coordinating multiple AI agents is repetitive and error-prone. This Skill automates those tasks through configurable hooks that run before and after Claude Code operations, keeping code quality consistent and agent memory synchronized. ## Core Features & Use Cases - Pre/Post-Operation Hooks: Validate syntax, assign agents, auto-format code, and train neural patterns around every edit, bash command, task, or search. - Session & Memory Coordination: Persist session state, restore context across sessions, and synchronize shared memory namespaces between swarm agents via MCP tools. - Git Integration: Wire hooks into pre-commit, post-commit, and pre-push Git stages for automated quality gates and metrics export. - Use Case: A team running a multi-agent refactor configures post-edit hooks so every modified file is auto-formatted, stored in coordination memory, and used to train patterns, while a session-end hook exports metrics and a summary report. ## Quick Start Set up the hooks system by running npx claude-flow init --hooks and then ask the assistant to configure pre-edit and post-edit hooks in .claude/settings.json for automatic formatting and memory storage.