Agent Hooks
Description
Agent Hooks: A Safety & Workflow Suite for autonomous CLI AI agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI