voice-fix

voice-fix is a command for coding agents from zircote/human-voice. It costs 12 tokens per session (1,048 once invoked), scanned A, original, MIT.

A command that replaces writing patterns often associated with AI-generated text, such as em dashes, smart quotes, emojis, and ellipses, in content files.

In plain words
What is it for?
Cleaning selected files or configured content folders, previewing changes with a dry run, and skipping chosen pattern categories.
Why use it?
It removes unwanted punctuation and symbols from documents without requiring manual editing of every occurrence.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the human-voice plugin — 2 skills, 12 commands, 3 agents, 1 hook shipped together

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.

agentmods
npx agentmods add commands/zircote/human-voice/voice-fix
Clone the repo
git clone --depth 1 https://github.com/zircote/human-voice

Or install human-voice, the plugin that ships this one along with the rest of its 2 skills, 12 commands, 3 agents, 1 hook.

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 voice-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/zircote/human-voice/voice-fix.svg)](https://agentmods.dev/commands/zircote/human-voice/voice-fix)
Your own site
<a href="https://agentmods.dev/commands/zircote/human-voice/voice-fix"><img src="https://agentmods.dev/badge/commands/zircote/human-voice/voice-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,048 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.01048
Opus 5 $0.00006 $0.00524
Sonnet 5 $0.00002 $0.00210
Haiku 4.5 $0.00001 $0.00105

Measured 5d ago against content hash 12caab6641d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

voice-fix 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 5d 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/voice-fix.md · 81 lines

How it starts

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

Human Voice Fix

Auto-fix AI-telltale characters (em dashes, smart quotes, emojis, etc.) in content files.

Options

  • --dry-run - Preview changes without modifying files
  • --ignore=emojis,em-dash - Skip specific pattern categories
    • Valid categories: emojis, em-dash, en-dash, smart-quotes, ellipsis, bullet, arrow
    • Example: /human-voice:voice-fix --dry-run --ignore=emojis docs/

Step 0: Load Configuration

!cat "$HOME/.human-voice/config.json" 2>/dev/null || echo "NO_CONFIG"

Use detection.content_directories to resolve targets when no path is given. Respect detection.fix.dry_run_by_default.

Target

$IF($1, Target: $1

Verify the path exists: !test -e "$1" && echo "Path exists: $1" || echo "ERROR: Path '$1' does not exist" , No target specified. Resolving from config... !python3 -c "import json,os,sys; p=os.path.expanduser('~/.human-voice'+'/config.json'); c=json.load(open(p)); dirs=[d for d in c.get('detection',{}).get('content_directories',[]) if os.path.isdir(d)]; print(' '.join(dirs)) if dirs else sys.exit(1)" 2>/dev/null && echo "(from config.json)" || ls -d _posts content _docs docs 2>/dev/null || echo "No content directories found" )

Dry Run First

When --dry-run is specified or when unsure, show what would change without modifying files:

$IF($1, !node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" --dry-run $ARGS 2>&1 || true , !dirs=$(python3 -c "import json,os,sys; p=os.path.expanduser('~/.human-voice'+'/config.json'); c=json.load(open(p)); dirs=[d for d in c.get('detection',{}).get('content_directories',[]) if os.path.isdir(d)]; print(' '.join(dirs)) if dirs else sys.exit(1)" 2>/dev/null || { for d in _posts content _docs docs; do test -d "$d" && printf '%s ' "$d"; done; }); test -n "$dirs" && node "${CLAUDE_PLUGIN_ROOT}/skills/human-voice/scripts/fix-character-restrictions.js" --dry-run $dirs $ARGS 2>&1 || echo "No content directories found" )

Apply Fixes

Read the full file on GitHub · 81 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. 5d ago First seen · 81 lines · 12 tokens per session scan A 12caab6641d0

Subscribe to this mod's changes

voice-fix is a command published in the GitHub repository zircote/human-voice (10 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 1,048 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.

Related

Other commands, from other repositories