hook-management

hook-management is a skill for Claude Code from a5c-ai/babysitter. It costs 25 tokens per session (491 once invoked), scanned A, original, MIT.

A session-only control panel for automated checks that run around coding-agent actions. It can enable, disable, and report on checks such as type checking, linting, tests, file protection, checkpoints, and self-review.

In plain words
What is it for?
Use it to manage hook behavior, inspect execution times, and run automated checks on changed files, the full project, or completed work.
Why use it?
It lets you control which safeguards are active during the current session and shows when checks are slow or produce unusually large output. Changes do not persist to later sessions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to manage hook behavior, inspect execution times, and run automated checks on changed files, the full project, or completed work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a5c-ai/babysitter/hook-management
About the project

Babysitter is a workflow engine for AI coding agents that enforces predefined steps, quality checks, human approvals, and decision records. It is used to coordinate complex, repeatable agent workflows across supported coding tools. The catalogue contains skills, agents, instructions, settings, a plugin, and an MCP integration for its workflow.

a5c-ai/babysitter · 1,777 stars · on GitHub · a5c.ai

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 a5c-ai/babysitter --skill hook-management
Clone the repo
git clone --depth 1 https://github.com/a5c-ai/babysitter

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 hook-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/a5c-ai/babysitter/hook-management.svg)](https://agentmods.dev/skills/a5c-ai/babysitter/hook-management)
Your own site
<a href="https://agentmods.dev/skills/a5c-ai/babysitter/hook-management"><img src="https://agentmods.dev/badge/skills/a5c-ai/babysitter/hook-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00025 $0.00491
Opus 5 $0.00013 $0.00246
Sonnet 5 $0.00005 $0.00098
Haiku 4.5 $0.00003 $0.00049

Measured 4d ago against content hash 57a9a630b111, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

hook-management scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

library/methodologies/claudekit/skills/hook-management/SKILL.md · 60 lines

What it actually says

  • file-guard: Blocks sensitive file access (195+ patterns)

PostToolUse Hooks

  • typecheck-changed: Type checking on modified files
  • lint-changed: Linting on modified files
  • test-changed: Testing related to modified files
  • check-comment-replacement: Detects code replaced with comments
  • check-unused-parameters: Detects unused function parameters

UserPromptSubmit Hooks

  • codebase-map: Invisible project context injection
  • thinking-level: Reasoning enhancement (4 levels)

Stop/SubagentStop Hooks

  • create-checkpoint: Git-backed state snapshot
  • typecheck-project: Full project type checking
  • lint-project: Full project linting
  • test-project: Full test suite execution
  • self-review: Comprehensive change review

Session Isolation

All hook changes are session-scoped. Disabling a hook only affects the current session and does not persist.

Profiling

  • Red alert: execution time > 5s
  • Yellow warning: execution time > 3s
  • Green: execution time < 3s
  • Output size monitoring: flag > 10KB

Commands

  • /hook:enable [hookName] -- Enable a disabled hook
  • /hook:disable [hookName] -- Disable a hook for this session
  • /hook:status -- Show all hook states and profiling data

When to Use

  • When a hook is causing issues during a session
  • To check performance of hook executions
  • To temporarily bypass a hook for a specific operation

Processes Used By

  • claudekit-orchestrator (hook pipeline setup)
  • claudekit-safety-pipeline (hook profiling)
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 60 lines · 25 tokens per session scan A 57a9a630b111

Subscribe to this mod's changes

hook-management is a skill published in the GitHub repository a5c-ai/babysitter (1,777 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 491 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.