ワンクリックで
hooks-automation
Configure Claude Code hooks for automated coordination and learning
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Configure Claude Code hooks for automated coordination and learning
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
CLI modernization and hooks system enhancement for claude-flow v3. Implements interactive prompts, command decomposition, enhanced hooks integration, and intelligent workflow automation.
Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.
Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.
Deep agentic-flow@alpha integration implementing ADR-001. Eliminates 10,000+ duplicate lines by building claude-flow as specialized extension rather than parallel implementation.
MCP server optimization and transport layer enhancement for claude-flow v3. Implements connection pooling, load balancing, tool registry optimization, and performance monitoring for sub-100ms response times.
Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).
| name | hooks-automation |
| description | Configure Claude Code hooks for automated coordination and learning |
| version | 1.0.0 |
| invocable | true |
| author | agentic-flow |
| capabilities | ["pre_edit_hooks","post_edit_hooks","session_management","metrics_tracking"] |
Configure intelligent hooks for automated coordination, formatting, and learning.
Triggered before Claude Code tools execute.
{
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [{
"type": "command",
"command": "npx agentic-flow@alpha hooks pre-edit \"$TOOL_INPUT_file_path\""
}]
},
{
"matcher": "Bash",
"hooks": [{
"type": "command",
"command": "npx agentic-flow@alpha hooks pre-command \"$TOOL_INPUT_command\""
}]
}
]
}
Triggered after successful tool execution.
{
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [{
"type": "command",
"command": "npx agentic-flow@alpha hooks post-edit \"$TOOL_INPUT_file_path\" --success"
}]
}
]
}
Triggered at session start/end.
{
"SessionStart": [{
"hooks": [{
"type": "command",
"command": "npx agentic-flow@alpha hooks intelligence stats --json"
}]
}],
"SessionEnd": [{
"hooks": [{
"type": "command",
"command": "npx agentic-flow@alpha hooks metrics --session --json"
}]
}]
}
# Pre-edit: Check for patterns, validate
npx agentic-flow@alpha hooks pre-edit "src/api.ts"
# Post-edit: Format, learn pattern
npx agentic-flow@alpha hooks post-edit "src/api.ts" --success
# Pre-command: Validate safety
npx agentic-flow@alpha hooks pre-command "npm install"
# Post-command: Track result
npx agentic-flow@alpha hooks post-command "npm install"
# Intelligence routing
npx agentic-flow@alpha hooks route "implement OAuth"
# Session metrics
npx agentic-flow@alpha hooks metrics --session
Hooks automatically assign specialized agents based on file type:
.ts, .tsx → TypeScript agent.py → Python agent.md → Documentation agenttest.* → Testing agentPre-command hooks validate for:
Post-edit hooks learn:
Session hooks track:
Full hook configuration in .claude/settings.json:
{
"hooks": {
"PreToolUse": [...],
"PostToolUse": [...],
"PostToolUseFailure": [...],
"SessionStart": [...],
"SessionEnd": [...],
"UserPromptSubmit": [...],
"Stop": [...]
}
}
|| true for optional hooks