Skip to content
Back to skills

Audit Hooks

ASecurity

Audit repository agent hooks for failure behavior, validator enforcement, timeouts, logging, and deployment correctness.

  • 26 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agentsshell

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add tomcounsell/ai --skill audit-hooks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Hooks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit Hooks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomcounsell-audit-hooks-ai/badge)](https://www.skillsdirectory.com/skills/tomcounsell-audit-hooks-ai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit-hooks
description: "Audit repository agent hooks for failure behavior, validator enforcement, timeouts, logging, and deployment correctness."
---

# Audit Hooks

Identify the runtime and its real hook registration. For Valor's Claude hooks, inspect `.claude/hooks/manifest.toml` and generated settings; these remain Claude infrastructure even when Codex audits them. Do not invent equivalent Codex hooks or assume they execute in this session.
Read [hook checks](BEST_PRACTICES.md). Enumerate event, matcher, command, timeout, and advisory/validator role. Advisory logging/enrichment must not block a session; validators must preserve their refusal exit status rather than suppress it with `|| true`. Evaluate timeouts, heavy imports, interpreter paths, command existence, exception logging, and shell error behavior in context.
Inspect recent hook errors and distinguish absence of logs from successful execution. Compile or parse scripts without executing their live side effects. Report PASS/WARN/FAIL by hook with cited evidence. If fixes are requested, change the manifest or source and use the documented generator, never hand-edit generated hook blocks.

Files in this skill

  • BEST_PRACTICES.md4.3 KB
  • SKILL.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.