@zgeoff/agent-hooks weekly downloads statistics
By zgeoff (3 listings) · npm · Claude Code
The Claude Code and Codex CLI hooks for a zgeoff repo, run from one entry point: the skill gate, which denies an edit or a gated tool call until the session loads the skills it needs
@zgeoff/agent-hooks has 39,142 recorded weekly downloads on npm, an increase of 58.8% over the past 30 days, ranking #856 of 3,247 tracked listings.
About @zgeoff/agent-hooks
agent-hooks runs the Claude Code and Codex hooks of my repos from one entry point, and keeps an agent off a file until it has read the rules for it.
Install
Take the hook-start entry of repo-sync first, so the start-up stub lands in
.claude/hooks/start.ts. Then, at the repo root:
bun add -d @zgeoff/agent-hooks
bunx agent-hooks init
Install it at the repo root, so Bun finds it from .claude/hooks/. agent-hooks init adds one stub
entry per event to .claude/settings.json and .codex/hooks.json, and keeps every other hook. Run
it again after you change a tool gate. In Codex, open /hooks and trust the entries.
Usage
Gate the files that need a skill, in .claude/skill-gate.json:
{
"ignore": ["node_modules/", "dist/"],
"gates": [
{ "match": "**/*.test.ts", "skills": ["testing", "project-testing"] },
{ "match": "**/*.md", "skills": ["docs-writing"] }
]
}
An agent that edits src/queue.test.ts before it loads testing gets denied, with the skills it
still needs.
Features
- A skill gate: denies an edit, or a call to a gated tool, until the session loads the skills and reads the references the rules name. It catches a Bash command that changed a gated file too.
- A stub that installs itself: a fresh worktree needs
no
bun installfirst, and parallel hook calls share one install. - Fails closed: when the package can't load, the stub refuses every tool call but a read-only command.
- Codex too: the same stub runs under Codex with
--harness codex. - Forgiving rules: a rules file that doesn't parse warns and denies nothing. A repo with no file has no gate.
Documentation
Read writing skill-gate rules for every key.
Description from the npm listing.
- claude-code
- codex
- hook
- skills
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (149)Similar npm Claude Code plugins
All 20 @zgeoff/agent-hooks alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@zgeoff/agent-hooks. First seen Nov 6, 2026; last successful collection Dec 6, 2026. See the methodology.