audio-hooks

audio-hooks is a skill for Claude Code from ChanMeng666/echook. It costs 64 tokens per session (3,412 once invoked), scanned B, original, MIT.

A control skill for echook, an audio notification system used with coding agents.

In plain words
What is it for?
Use it to install, configure, test, mute, snooze, troubleshoot, or change the audio theme and other echook settings.
Why use it?
It gives the agent a defined way to change audio behaviour without guessing which settings or commands the installed version supports.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_DATA} variable. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the audio-hooks plugin — 1 skill, 30 hooks shipped together

Good fit Use it to install, configure, test, mute, snooze, troubleshoot, or change the audio theme and other echook settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chanmeng666/echook/audio-hooks
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 ChanMeng666/echook --skill audio-hooks
Clone the repo
git clone --depth 1 https://github.com/ChanMeng666/echook

Made for: Claude Code.

Or install audio-hooks, the plugin that ships this one along with the rest of its 1 skill, 30 hooks.

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 audio-hooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/chanmeng666/echook/audio-hooks/github.svg)](https://agentmods.dev/skills/chanmeng666/echook/audio-hooks)
Your own site
<a href="https://agentmods.dev/skills/chanmeng666/echook/audio-hooks"><img src="https://agentmods.dev/badge/skills/chanmeng666/echook/audio-hooks/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 audio-hooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/chanmeng666/echook/audio-hooks"><img src="https://agentmods.dev/badge/skills/chanmeng666/echook/audio-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,412 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00064 $0.03412
Opus 5.5 $0.00026 $0.01365
Sonnet 5.5 $0.00013 $0.00682
Haiku 4.5 $0.00006 $0.00341

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

Security

Grade B, and why

audio-hooks scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Do NOT edit `user_preferences.json` or `~/.claude/settings.json` hook registrations by hand. The plugin registers its own hooks.
plugins/audio-hooks/skills/audio-hooks/SKILL.md · 117 lines

How it starts

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

audio-hooks skill

This plugin is the AI control surface for the echook project. The user does NOT operate it by hand. You operate it for them through the audio-hooks binary, which this plugin adds to your Bash tool's PATH.

Rules

  • The audio-hooks CLI is the only interface. Every command is non-interactive and returns JSON with stable error codes. Never edit user_preferences.json by hand: use audio-hooks set <dotted.key> <value> and the typed setters (hooks enable, theme set, webhook set, tts set, rate-limits set).
  • Run audio-hooks manifest first for anything you do not immediately recognise (subcommands, hooks, config keys, error codes, env vars). It never lags the running version; this file can. audio-hooks manifest --schema gives the config JSON Schema.
  • Diagnose before guessing: audio-hooks status, then audio-hooks diagnose (its errors carry a code and a suggested_command to run), then audio-hooks logs tail --n 20. Verify a fix with audio-hooks test all.
  • Do not ask the user to confirm ("[y/N]"). If they gave an instruction, run it.
  • Do not translate JSON output. Keys and values are stable contracts.
  • Reporting commands are read-only (status, diagnose, get, hooks list, snooze status, manifest, statusline segments, every --help, ...). A stale preferences file (PREFS_SCHEMA_STALE) is not fixed by running them; the next hook event or any state-changing command migrates it, or run audio-hooks migrate (v6.7, no flags, idempotent).
  • No subcommand acts on an argument it does not understand. State-changing subcommands answer an unknown flag or stray positional with INVALID_USAGE and change nothing; --help is always safe.

Installing (three entry points)

  • Claude Code (plugin, the recommended path): claude plugin marketplace add ChanMeng666/echook --json then claude plugin install audio-hooks@chanmeng-audio-hooks --json (audio-hooks install --plugin prints exactly these and changes nothing). Then ask the user to type /reload-plugins in any already-open session. It is REPL-only; never fake it via Bash.
  • Cursor: audio-hooks install --cursor (see the duplicate-bridge section below).
  • Codex: plugin path codex plugin marketplace add ChanMeng666/echook then codex plugin add audio-hooks@chanmeng-audio-hooks, or the native fallback audio-hooks install --codex; follow the next_steps / feature_flag_state in its output. Codex does not auto-bridge Claude Code plugins.

Read the full file on GitHub · 117 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. 1mo ago Changed · +2 lines db7b48956e24
  2. 1mo ago Changed · -257 tokens per session 7af04fa78f9b
  3. 1mo ago Changed · -466 lines scan C → B 254b2d7e8cc7
  4. 1mo ago Changed · +7 lines 403681415e64
  5. 1mo ago Changed · +14 lines 7871060596d4
  6. 3mo ago First seen · 560 lines · 321 tokens per session scan C e4b25e0aeb25

Subscribe to this mod's changes

audio-hooks is a skill published in the GitHub repository ChanMeng666/echook (91 stars, last pushed 13d ago), licensed MIT. It adds 64 tokens to every session and 3,412 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

audio-hooks compared with skills from other repositories

audio-hooks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audio-hooksChanMeng666/echookSkill9113d agoMITB64Claude Code
auditictechgy/context-guardSkill32mo agoApache-2.0A29Claude Code
optimizeictechgy/context-guardSkill32mo agoApache-2.0B62Claude Code
setupictechgy/context-guardSkill32mo agoApache-2.0B35Claude Code
x-mankierx-cmd/x-cmdSkill4.8k6d agoApache-2.0A62Claude Code, Codex
wikipediax-cmd/x-cmdSkill4.8k6d agoApache-2.0A49Claude Code, Codex
cvex-cmd/x-cmdSkill4.8k6d agoApache-2.0A49Claude Code, Codex