hooks-multi-tool-parity

hooks-multi-tool-parity is a skill for Claude Code, Codex 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 CodeCodex

Written for Claude Code and Codex: SessionStart hook event, but also reads ~/.codex or $CODEX_HOME. 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, Codex.

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 $0.00033 $0.00926
Sonnet 5 $0.00013 $0.00370
Haiku 4.5 $0.00007 $0.00185

Measured 10d ago against content hash 98765d11b2b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 2mo ago), licensed MIT. It adds 66 tokens to every session and 1,852 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

security-audit

Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.

omnigent-ai/omnigent · 64 tokens

taiyi-ui-design

A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.

Dong90/oh-my-taiyiforge · 35 tokens

taiyi-evolve

A workflow skill that compares the implemented code with the frozen design after development and testing. It records architecture changes and proposes updates to DESIGN.md, the document describing the intended system structure.

Dong90/oh-my-taiyiforge · 37 tokens

taiyi-diagram-c4

A code-scanning tool that builds C4 architecture documents from a repository. It separates facts observed in the code from conclusions inferred about the design and uses Mermaid diagrams as the source format.

Dong90/oh-my-taiyiforge · 48 tokens