public/skills/adolago/hooks-automation/SKILL.md
Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre/post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows.
npx skillsauth add demerzels-lab/elsamultiskillagent Hooks AutomationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Intelligent automation system that coordinates, validates, and learns from Claude Code operations through hooks integrated with MCP tools and neural pattern training.
configuration.md - Detailed configuration options and settingsexamples.md - Workflow examples (full-stack, debugging, multi-agent)# Initialize hooks system
npx claude-flow init --hooks
# Pre-task hook (auto-spawns agents)
npx claude-flow hook pre-task --description "Implement authentication"
# Post-edit hook (auto-formats and stores in memory)
npx claude-flow hook post-edit --file "src/auth.js" --memory-key "auth/login"
# Session end hook (saves state and metrics)
npx claude-flow hook session-end --session-id "dev-session" --export-metrics
Required:
npm install -g claude-flow@alpha).claude/settings.json with hook configurationsOptional:
| Hook | Purpose |
|------|---------|
| pre-edit | Validate and assign agents before file modifications |
| pre-bash | Check command safety and resource requirements |
| pre-task | Auto-spawn agents and prepare for complex tasks |
| pre-search | Prepare and optimize search operations |
Options:
--auto-assign-agent - Assign best agent based on file type--validate-syntax - Pre-validate syntax--backup-file - Create backup before editing--check-conflicts - Check for merge conflicts| Hook | Purpose |
|------|---------|
| post-edit | Auto-format, validate, and update memory |
| post-bash | Log execution and update metrics |
| post-task | Performance analysis and decision storage |
| post-search | Cache results and improve patterns |
Options:
--auto-format - Language-specific formatting--memory-key <key> - Store context in memory--train-patterns - Train neural patterns--analyze-performance - Generate metrics| Hook | Purpose |
|------|---------|
| session-start | Initialize new session |
| session-restore | Load previous session state |
| session-end | Cleanup and persist state |
| notify | Custom notifications with swarm status |
| Hook | Purpose |
|------|---------|
| mcp-initialized | Persist swarm configuration |
| agent-spawned | Update agent roster and memory |
| task-orchestrated | Monitor task progress |
| neural-trained | Save pattern improvements |
| Hook | Purpose |
|------|---------|
| memory-write | Triggered when agents write to memory |
| memory-read | Triggered when agents read from memory |
| memory-sync | Synchronize memory across agents |
continueOnErrornpx claude-flow init --hooks # Initialize hooks
npx claude-flow hook --list # List available hooks
npx claude-flow hook --test <hook> # Test specific hook
npx claude-flow memory usage # Manage memory
npx claude-flow agent spawn # Spawn agents
Works with:
testing
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
data-ai
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
development
Search X (Twitter) in real time, extract relevant posts, and publish tweets/replies instantly—perfect for social listening, engagement, and rapid content ops.
development
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.