Agent skill

Hooks Automation

by ruvnet in ruvnet/agentic-flow

Configure Claude Code hooks for automated coordination and learning

No licenceAuto-check passedAgent Workflows

Install Hooks Automation

skills CLI
$ npx skills add ruvnet/agentic-flow --skill hooks-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/agentic-flow hooks-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/agentic-flow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agentic-flow/.claude/skills/hooks-automation .claude/skills/hooks-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hooks-automation
GitHub stars
819
Token cost
~810 tokens
SKILL.md length
147 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Configure Claude Code hooks for automated coordination and learning

  • Works in 5 steps: Keep hooks fast: <100ms for interactive… → Use timeout: Prevent hanging hooks → Handle failures gracefully: Use || true… → …
  • Tasks that involve Hooks and plugins
  • SKILL.md covers Available Hooks, Hook Commands, Automation Features and Configuration, plus 1 more section
  • Calls npx

What it does

Hooks Automation is an agent skill from ruvnet/agentic-flow. Configure Claude Code hooks for automated coordination and learning

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Hooks and plugins. The repository describes itself as: Easily switch between alternative low-cost AI models in Claude Code/Agent SDK. For those comfortable using Claude agents and commands, it lets you take what you've created and…

When your agent uses it

  • Tasks that involve Hooks and plugins

Example prompts

  • “/hooks-automation”

Requirements

  • Python 3
  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Keep hooks fast: <100ms for interactive experience
  2. Use timeout: Prevent hanging hooks
  3. Handle failures gracefully: Use || true for optional hooks
  4. Log metrics: Track for optimization
  5. Test hooks: Verify before deployment

What it can do on your machine

Read from SKILL.md and the folder at commit e993605. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hooks Automation loads about 810 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~810

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 147 words (~810 tokens).

“Configure intelligent hooks for automated coordination, formatting, and learning.”

— opening of SKILL.md by ruvnet
name
hooks-automation
version
1.0.0
invocable
true
author
agentic-flow
capabilities
pre_edit_hooks, post_edit_hooks, session_management, metrics_tracking

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agentic-flow/.claude/skills/hooks-automation of ruvnet/agentic-flow.

Open the folder on GitHubat commit e993605

Compare with similar skills

Hooks Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hooks Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hooks Automation this skillruvnet/agentic-flow819—~810Automated safety check: PassNone
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Claude Code Agent Developmentanthropics/claude-plugins-official38k7 repos~2.8kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Plugin Settings Patternanthropics/claude-plugins-official38k7 repos~3kAutomated safety check: PassApache-2.0
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Plugin Settings Pattern

    anthropics/claude-plugins-official

    Official

    Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.

    38k GitHub starsUsed in 7 repos~3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed

More from ruvnet/agentic-flow

All 21 skills in this repo
  • Stream Chain

    ruvnet/agentic-flow

    Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows

    819 GitHub starsUsed in 5 repos~3.2k tokens
    Auto-check passed
  • Flow Nexus Neural

    ruvnet/agentic-flow

    Train and deploy neural networks in distributed E2B sandboxes with Flow Nexus

    819 GitHub starsUsed in 4 repos~4.1k tokens
    Auto-check passed
  • Flow Nexus Swarm

    ruvnet/agentic-flow

    Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform

    819 GitHub starsUsed in 4 repos~4.2k tokens
    Auto-check passed
  • Hive Mind Advanced

    ruvnet/agentic-flow

    Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory

    819 GitHub starsUsed in 4 repos~4.2k tokens
    Auto-check passed
  • Performance Analysis

    ruvnet/agentic-flow

    Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms

    819 GitHub starsUsed in 4 repos~3.6k tokens
    Auto-check passed
  • Agentic Jujutsu

    ruvnet/agentic-flow

    Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination

    819 GitHub starsUsed in 3 repos~4.7k tokens
    Auto-check passed

Categories

Questions about Hooks Automation

What does Hooks Automation do?

Configure Claude Code hooks for automated coordination and learning. Hooks Automation is an agent skill from ruvnet/agentic-flow.

When should I use Hooks Automation?

Hooks Automation fits situations like: tasks that involve Hooks and plugins.

How do I install Hooks Automation in Claude Code?

Run `npx skills add ruvnet/agentic-flow --skill hooks-automation -a claude-code`. Or copy the skill folder (agentic-flow/.claude/skills/hooks-automation in ruvnet/agentic-flow) into .claude/skills/hooks-automation in your project. Claude Code loads it when a task matches its description.

How do I install Hooks Automation in Codex?

Run `npx skills add ruvnet/agentic-flow --skill hooks-automation -a codex`. Or copy the skill folder (agentic-flow/.claude/skills/hooks-automation in ruvnet/agentic-flow) into .agents/skills/hooks-automation in your project. Codex loads it when a task matches its description.

Can I use Hooks Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/agentic-flow --skill hooks-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hooks-automation, .gemini/skills/hooks-automation, .github/skills/hooks-automation and .opencode/skills/hooks-automation in your project.

What does Hooks Automation need to run?

Going by SKILL.md and its folder, Hooks Automation needs the command-line tools its instructions call (npx). Our summary lists: Python 3; Node.js.

Does Hooks Automation access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Hooks Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hooks Automation use?

No licence was found for Hooks Automation or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Hooks Automation use?

About 810 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hooks Automation?

Skills that share tags, products or a category with Hooks Automation: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hooks Automation?

ruvnet (a GitHub user) maintains it in ruvnet/agentic-flow, which has 819 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 16, 2026.

Source: ruvnet/agentic-flow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.