hooks-multi-tool-parity

hooks-multi-tool-parity is a skill for Claude Code from avizmarlon/agent-skills. It costs 66 tokens per session (1,852 once invoked), scanned A, original, MIT.

A rule set for keeping hook definitions synchronized across AI coding tools. Hooks are automatic actions that run at specified points in an agent's work.

In plain words
What is it for?
Use it when creating, changing, or removing hooks across tools such as Claude Code, Codex CLI, Cursor, Gemini, or Kimi.
Why use it?
It prevents a safety or workflow rule added to one tool from being missing in another tool used in the same workflow.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it when creating, changing, or removing hooks across tools such as Claude Code, Codex CLI, Cursor, Gemini, or Kimi.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avizmarlon/agent-skills/hooks-multi-tool-parity
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 avizmarlon/agent-skills --skill hooks-multi-tool-parity
Clone the repo
git clone --depth 1 https://github.com/avizmarlon/agent-skills

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 hooks-multi-tool-parity

README.md
[![agentmods](https://agentmods.dev/badge/skills/avizmarlon/agent-skills/hooks-multi-tool-parity/github.svg)](https://agentmods.dev/skills/avizmarlon/agent-skills/hooks-multi-tool-parity)
Your own site
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/hooks-multi-tool-parity"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/hooks-multi-tool-parity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hooks-multi-tool-parity

Your own site · 80×15
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/hooks-multi-tool-parity"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/hooks-multi-tool-parity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,852 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.
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.00066 $0.01852
Opus 5.5 $0.00026 $0.00741
Sonnet 5.5 $0.00013 $0.00370
Haiku 4.5 $0.00007 $0.00185

Measured 2mo ago against content hash 98765d11b2b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hooks-multi-tool-parity 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 2mo 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.

skills/hooks-multi-tool-parity/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hook Lifecycle Propagation Across All AI Tools

When you manage hooks in a multi-AI environment, hook definitions must propagate across all AI tools that have equivalent lifecycle support. This prevents gaps where a behavioral rule is enforced in one tool but leaves others unprotected.

Why This Matters

When multiple AI tools (Claude Code, Codex, Cursor, Gemini, Kimi, Desktop Commander, Cline) are used in parallel or in sequence within the same workflow:

  • A bug-mitigation hook (e.g., confabulation detection, evidence-validation checks) implemented in one tool leaves others exposed
  • Divergent hook implementations create hidden dependencies and make reasoning harder to audit
  • Asymmetric enforcement creates false confidence in safety: one tool appears "hardened" while others follow the same failure mode

Example failure scenario: You implement a validation hook in Claude Code that prevents certain classes of faulty claims. Codex, used in parallel, lacks this hook. Both tools can produce the same error, but you've only patched half your stack.

Propagation Framework

Tool Categories by Hook Support

Different tools have varying hook lifecycle maturity. Organize propagation as tiers:

Tool Hook Events Propagation Tier Configuration
Claude Code SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PreCompact, Stop Primary ~/.claude/hooks/ + settings.json
Codex CLI SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop, SessionEnd Primary ~/.codex/hooks/ + config file
Cursor Startup, ToolExecution, FileEdit, Completion, Shutdown Best-effort IDE plugin config + rules directory
Gemini CLI Startup, Shutdown, BeforeAgent Best-effort Settings file
Kimi Desktop / CLI Tool-specific hooks Best-effort App config
Desktop Commander Tool-specific hooks Best-effort Application config
Cline BeforeToolExecution, AfterToolExecution, OnNotification Best-effort SDK hook configuration

Read the full file on GitHub · 123 lines

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. 2mo ago First seen · 123 lines · 66 tokens per session scan A 98765d11b2b7

Subscribe to this mod's changes

hooks-multi-tool-parity is a skill published in the GitHub repository avizmarlon/agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 66 tokens to every session and 1,852 once invoked, about $0.0003 per session on Opus 5.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-08-31.