Claude Flow Hooks

Provide event-driven lifecycle hooks for agent routing and model selection.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/ricable/cli-skills-builder --skill claude-flow-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Claude Flow Hooks
Source: https://github.com/ricable/cli-skills-builder/tree/main/.claude/skills/claude-flow-hooks
Command: npx skills add https://github.com/ricable/cli-skills-builder --skill claude-flow-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines complex development workflows by providing event-driven hooks for agent routing, model selection, and continuous learning, reducing manual oversight and improving efficiency.

Core Features & Use Cases

  • Event-Driven Hooks: Integrates with various development events (pre-edit, post-command, etc.) to trigger automated actions.
  • Intelligent Routing: Routes tasks to the most suitable agents or Claude models based on learned patterns and coverage analysis.
  • Self-Learning: Incorporates ReasoningBank learning to adapt and improve routing and pretraining strategies over time.
  • Use Case: When a developer commits code, pre-commit hooks can automatically analyze changes, route potential issues to relevant agents for review, and log the outcome for future learning, ensuring code quality and faster iteration cycles.

Quick Start

Use the claude-flow-hooks skill to pretrain intelligence from the current repository.

Frequently Asked Questions about Claude Flow Hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate agent routing and model selection in my development workflow?

Agent routing and model selection are automated using event-driven lifecycle hooks that analyze development events like pre-edit file changes, routing tasks to suitable agents based on learned patterns and coverage analysis.

What is event-driven workflow automation for pre-commit code analysis?

Event-driven workflow automation triggers pre-commit hooks to automatically analyze code changes, route potential issues to relevant agents for review, and log outcomes for future continuous learning to ensure code quality.

How do I pretrain repository intelligence for continuous learning?

Repository pretraining extracts intelligence from the current repository using event-driven hooks, integrating with ReasoningBank to adapt and improve routing and pretraining strategies over time.

Can I use workflow hooks for post-command execution logging and parallel processing?

Post-command execution logging is supported by event-driven hooks that run background workers for parallel processing, capturing command outcomes and feeding them into continuous learning systems.

Does event-driven workflow automation require specific dependencies for coverage gap analysis?

Coverage gap analysis operates without external dependencies, utilizing internal references and ReasoningBank integration to identify uncovered areas and adapt agent routing strategies accordingly.

When should I not use event-driven hooks for agent orchestration?

Event-driven hooks for agent orchestration are not ideal for simple, static workflows lacking iterative development events, as the continuous learning and adaptive routing mechanisms require ongoing development events to function effectively.