What problem does it solve? Manually coordinating agents, formatting code, tracking sessions, and persisting context across development workflows is repetitive and error-prone. This Skill automates those tasks through configurable pre/post-operation hooks integrated with MCP tools and memory coordination. ## Core Features & Use Cases - Pre/Post Operation Hooks: Validate syntax, auto-assign agents, format code, and train neural patterns around file edits, bash commands, tasks, and searches. - Session & Memory Management: Start, restore, and end sessions with state persistence, metrics export, and cross-agent memory synchronization. - Git & MCP Integration: Wire hooks into Git pre-commit/post-commit flows and coordinate with swarm tools like agent spawning and neural training. - Use Case: A team running multi-agent refactoring uses pre-task hooks to spawn agents, post-edit hooks to auto-format and store decisions in memory, and session-end hooks to export metrics and summaries. ## Quick Start Initialize the hooks system by running npx Codex-flow init --hooks and then ask the agent to set up pre-edit and post-edit hooks for your project files.