Agent Hooks — AI skill for Claude Code
Agent Hooks: A Safety & Workflow Suite for autonomous CLI AI agents.
How to install Agent Hooks
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Double77x/agent-hooks and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Hooks does
Agent Hooks: A Safety & Workflow Suite for autonomous CLI AI agents.
Alternatives in AI
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- J Space Cognition Suite V3.7 — J-Space Cognition Suite V3.7 - AI cognitive-enhancement Skills based on Anthropic's J-space global workspace r 3k ★
- Claudekit — by Carl Rannaberg - Impressive CLI toolkit providing auto-save checkpointing, code quality hooks, specificatio 633 ★
README
Agent Hooks
   
An enterprise-grade safety and workflow suite for autonomous AI agents. This repository provides a standardised set of hooks designed to secure the workspace, enforce architectural consistency, and optimise agent reasoning for Claude Code, Agy CLI (Antigravity CLI), and Codex.
Overview
Agent Hooks acts as a deterministic middleware layer between the AI agent and your local system. By intercepting tool calls before and after execution, the system ensures that every action is safe, compliant with project standards, and backed by a clear implementation plan.
The architecture is built on a lean, side-effect-light core. Each hook is a standalone ESM bundle that communicates via strictly formatted JSON on stdout while piping diagnostics to stderr for transparency.
Hook Reference
The following table details the hooks currently available in the suite.
| Hook | Event | Utility |
|---|---|---|
| Block Dangerous Commands | Pre-Tool Use | Detects and prevents destructive shell operations, such as targeting the root filesystem or executing remote scripts directly. |
| Protect Secrets | Pre-Tool Use | Shields sensitive files like .env, SSH keys, and cloud credentials from being read or exfiltrated by the agent. |
| Package Manager Enforcement | Pre-Tool U |
Related Skills
Ethos Gate
A PreToolUse safety gate for autonomous AI agents: blocks irreversible or outward-facing actions (sends, spend
Agent Eval Hub
Multi-provider + cross-device reliability harness for AI agents. Runs the same suite across Claude, OpenAI, Ge
LLM Dark Patterns
Umbrella for the LLM Dark Patterns Hooks suite — single-purpose Claude Code Stop hooks that suppress sycophanc
Axme Code
Persistent memory, architectural decision enforcement, pre-execution safety hooks, and session handoff for Cla
Claude Agentic Coding Playbook
Evidence-based practices for LLM-assisted development -- hooks, skills, scripts, and a best-practices guide wi
Claude Agent SDK Rust
Rust SDK for Claude Code CLI - Build production-ready AI agents with type safety
Related Agents
Framework Engineer
Framework / self-host implementer persona. Implements an authorized framework-internal atom — plugin scripts,
Test Suite Analyzer
Detect one package's test suites for a Stop test hook - stack, runners, suite kind, hook command with fail-fas
Safety Guardian
PROACTIVELY use this agent for comprehensive safety mechanisms ensuring acceptable operation bounds. Specializ