Hooks Automation

Hooks Automation is a skill for Claude Code from amangit1314/repo-rag. It costs 46 tokens per session (7,560 once invoked), scanned C, original, no licence file.

A system of automatic actions that run before or after Claude Code tasks, with connections to MCP tools and Git.

In plain words
What is it for?
It helps automate task hooks, session management, Git operations, formatting, memory coordination, and pattern training.
Why use it?
It coordinates repeated development steps, session handling, formatting, memory, and learning without requiring each step to be started manually.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps automate task hooks, session management, Git operations, formatting, memory coordination, and pattern training.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amangit1314/repo-rag/hooks-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add amangit1314/repo-rag --skill hooks-automation
Clone the repo
git clone --depth 1 https://github.com/amangit1314/repo-rag

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Hooks Automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/amangit1314/repo-rag/hooks-automation/github.svg)](https://agentmods.dev/skills/amangit1314/repo-rag/hooks-automation)
Your own site
<a href="https://agentmods.dev/skills/amangit1314/repo-rag/hooks-automation"><img src="https://agentmods.dev/badge/skills/amangit1314/repo-rag/hooks-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Hooks Automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/amangit1314/repo-rag/hooks-automation"><img src="https://agentmods.dev/badge/skills/amangit1314/repo-rag/hooks-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.07560
Opus 5 $0.00023 $0.03780
Sonnet 5 $0.00009 $0.01512
Haiku 4.5 $0.00005 $0.00756

Measured 7d ago against content hash 748868e06e46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

Hooks Automation scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

npx claude-flow hook pre-bash -c "rm -rf /tmp/cache"
.claude/skills/hooks-automation/SKILL.md · 1,202 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 1,202 lines · 46 tokens per session scan C 748868e06e46

Subscribe to this mod's changes

Hooks Automation is a skill published in the GitHub repository amangit1314/repo-rag (0 stars, last pushed 1mo ago), with no licence file. It adds 46 tokens to every session and 7,560 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

computer-use

Read and drive native desktop applications through the accessibility layer — list on-screen apps, snapshot one window as a numbered element tree, then click / type / set a value / scroll / drag / run a named action, by element index or by screen coordinates. Use for work in a desktop app rather than a web page. Full…

kirodotdev/KiroCrew · 105 tokens

meetings

Context for working with the Meetings app's data — where a meeting's notes, diagram, transcript-derived tasks, and calendar cache live, what the lifecycle states mean, and how the app's agents are driven. Load when the user asks about a meeting's notes or action items, or when writing/reading files under the meetings…

kirodotdev/KiroCrew · 72 tokens

mochi-remind

Handle due reminders — notify the user with natural language and mark them done.

kirodotdev/KiroCrew · 20 tokens

agent-initialization

Initialize an Agent's settings from a user requirement by writing AGENTS.md, setting identity metadata, and installing only needed Skills.

Prism-Shadow/penguin-harness · 30 tokens

pto-planning

Check an employee's PTO balance and policy, then plan or submit a time-off request.

awslabs/agentcore-samples · 21 tokens

co-mail-and-drive

Read and send mail from the user's own Gmail or Outlook account, safely stage Gmail draft attachments, send from the agent's own address, manage Outlook contacts and the Outlook calendar, and work with Google Drive files — with co gmail, co outlook, co email, and co gdrive. Use when the user asks about their inbox, an…

openonion/connectonion · 103 tokens