volume

volume is a command for Claude Code from juuni26/claude-notif-sound. It costs 25 tokens per session (475 once invoked), scanned A, original, MIT.

A command for reading or changing the volume of notification sounds on macOS or Linux, using a scale from 1 to 10.

In plain words
What is it for?
Use it to check the current notification volume or set a new value between 1 and 10.
Why use it?
It avoids manually editing the notification configuration and explains when Windows cannot control the sound level through this command.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the notif-sound plugin — 9 commands, 4 hooks shipped together

Good fit Use it to check the current notification volume or set a new value between 1 and 10.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juuni26/claude-notif-sound
Claude Code
/plugin install notif-sound

Made for: Claude Code.

Or install notif-sound, the plugin that ships this one along with the rest of its 9 commands, 4 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 volume

README.md
[![agentmods](https://agentmods.dev/badge/commands/juuni26/claude-notif-sound/volume/github.svg)](https://agentmods.dev/commands/juuni26/claude-notif-sound/volume)
Your own site
<a href="https://agentmods.dev/commands/juuni26/claude-notif-sound/volume"><img src="https://agentmods.dev/badge/commands/juuni26/claude-notif-sound/volume/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 volume

Your own site · 80×15
<a href="https://agentmods.dev/commands/juuni26/claude-notif-sound/volume"><img src="https://agentmods.dev/badge/commands/juuni26/claude-notif-sound/volume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 475 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.00025 $0.00475
Opus 5 $0.00013 $0.00237
Sonnet 5 $0.00005 $0.00095
Haiku 4.5 $0.00003 $0.00047

Measured 8d ago against content hash 119619b68446, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

volume 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 8d 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.

commands/volume.md · 73 lines

What it actually says

Set Volume

The user wants to change the notification sound volume.

Important: First check the platform:

uname -s

If the output starts with MINGW or MSYS (Windows), inform the user:

Volume control is not supported on Windows — PowerShell's Media.SoundPlayer has no volume property. Adjust your system volume instead.

Then stop — do not proceed with the steps below.


On macOS/Linux, proceed:

  1. If $ARGUMENTS is empty, read and report the current volume:
cat "${CLAUDE_PLUGIN_DATA}/config.json"
  1. If $ARGUMENTS is provided, validate it is an integer between 1 and 10

  2. Update the volume in config.json:

# Detect Python (python3, python, or py)
PYTHON_CMD=""
for cmd in python3 python py; do
  if command -v "$cmd" &>/dev/null; then
    PYTHON_CMD="$cmd"
    break
  fi
done
[ -z "$PYTHON_CMD" ] && echo "Python not found" && exit 1

$PYTHON_CMD -c "
import json, sys, os
cfg_path = '${CLAUDE_PLUGIN_DATA}/config.json'
os.makedirs(os.path.dirname(cfg_path), exist_ok=True)
try:
    with open(cfg_path) as f:
        cfg = json.load(f)
except:
    cfg = {}
vol = int(sys.argv[1])
if vol < 1 or vol > 10:
    print('Error: volume must be 1-10')
    sys.exit(1)
cfg['volume'] = vol
with open(cfg_path, 'w') as f:
    json.dump(cfg, f, indent=2)
print(f'Volume set to {vol}/10')
" "$ARGUMENTS"
  1. Play a test sound at the new volume:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/play-sound.sh"
  1. Report the new volume to the user.
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. 8d ago First seen · 73 lines · 25 tokens per session scan A 119619b68446

Subscribe to this mod's changes

volume is a command published in the GitHub repository juuni26/claude-notif-sound (2 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 475 once invoked, about $0.0001 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.