Skip to content
Agent Orchestration
Command

/overview

Automatically coordinate, format, and learn from Claude Code operations using hooks.

From plugin
ruvnet-ruflo
80k196 skills169 agents196 commands3 MCP
> /plugin marketplace add ruvnet/ruflo

Command definition

overview.md

Claude Code Hooks for claude-flow

Purpose

Automatically coordinate, format, and learn from Claude Code operations using hooks.

Available Hooks

Pre-Operation Hooks

  • **pre-edit**: Validate and assign agents before file modifications
  • **pre-bash**: Check command safety and resource requirements
  • **pre-task**: Auto-spawn agents for complex tasks

Post-Operation Hooks

  • **post-edit**: Auto-format code and train neural patterns
  • **post-bash**: Log execution and update metrics
  • **post-search**: Cache results and improve search patterns

MCP Integration Hooks

  • **mcp-initialized**: Persist swarm configuration
  • **agent-spawned**: Update agent roster
  • **task-orchestrated**: Monitor task progress
  • **neural-trained**: Save pattern improvements

Session Hooks

  • **notify**: Custom notifications with swarm status
  • **session-end**: Generate summary and save state
  • **session-restore**: Load previous session state

Configuration

Hooks are configured in `.claude/settings.json`:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "^(Write|Edit|MultiEdit)$",
        "hooks": [{
          "type": "command",
          "command": "npx claude-flow hook pre-edit --file '${tool.params.file_path}'"
        }]
      }
    ]
  }
}

Benefits

  • 🤖 Automatic agent assignment based on file type
  • 🎨 Consistent code formatting
  • 🧠 Continuous neural pattern improvement
  • 💾 Cross-session memory persistence
  • 📊 Performance metrics tracking

See Also

  • [Pre-Edit Hook](./pre-edit.md)
  • [Post-Edit Hook](./post-edit.md)
  • [Session End Hook](./session-end.md)
Read more
@ruvnet
Ships withruvnet-ruflo

📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. Agent = Model + Harness.

80k200 skills169 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80.4k
Star history of ruvnet/ruflo on GitHub, a chart by star-history.com

Other commands on ruvnet-ruflo.

More commands from other plugins.

ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command
code-review

code-review

Command

Technical code review for quality, bugs, and AGENTS.md compliance

archon10d24k
@coleam00@coleam00Install Command