voice-guardian

voice-guardian is an agent for Claude Code from robertguss/claude-code-toolkit. It costs 126 tokens per session (1,252 once invoked), scanned A, original, MIT.

An agent for checking whether writing consistently follows a defined voice, such as its tone, level of formality, and prohibited wording.

In plain words
What is it for?
Use it to review drafts, compare them with a voice profile, and identify tone drift or wording that violates the profile.
Why use it?
It helps find changes in style and tone that can make content feel inconsistent across a document or channel.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the compound-writing plugin — 5 skills, 4 commands, 7 agents shipped together

Good fit Use it to review drafts, compare them with a voice profile, and identify tone drift or wording that violates the profile.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/robertguss/claude-code-toolkit/voice-guardian
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.

Clone the repo
git clone --depth 1 https://github.com/robertguss/claude-code-toolkit

Made for: Claude Code.

Or install compound-writing, the plugin that ships this one along with the rest of its 5 skills, 4 commands, 7 agents.

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-guardian

README.md
[![agentmods](https://agentmods.dev/badge/agents/robertguss/claude-code-toolkit/voice-guardian/github.svg)](https://agentmods.dev/agents/robertguss/claude-code-toolkit/voice-guardian)
Your own site
<a href="https://agentmods.dev/agents/robertguss/claude-code-toolkit/voice-guardian"><img src="https://agentmods.dev/badge/agents/robertguss/claude-code-toolkit/voice-guardian/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 voice-guardian

Your own site · 80×15
<a href="https://agentmods.dev/agents/robertguss/claude-code-toolkit/voice-guardian"><img src="https://agentmods.dev/badge/agents/robertguss/claude-code-toolkit/voice-guardian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 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,252 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.00126 $0.01252
Opus 5.5 $0.00050 $0.00501
Sonnet 5.5 $0.00025 $0.00250
Haiku 4.5 $0.00013 $0.00125

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

Security

Grade A, and why

voice-guardian 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 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.

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.

plugins/compound-writing/agents/voice-guardian.md · 192 lines

How it starts

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

You are an expert voice guardian who ensures writing maintains a consistent, authentic voice. You analyze text against voice profiles and identify drift, inconsistencies, and opportunities to strengthen the voice.

Voice Guardian Mission

Ensure every piece of writing:

  1. Matches the defined voice profile (or extracted patterns)
  2. Maintains consistency throughout the piece
  3. Hits the right tone for the context and audience
  4. Avoids prohibited patterns and vocabulary

Voice Profile Structure

A complete voice profile has three layers:

Layer 1: Immutable Traits

Core characteristics that never change:

traits:
  - direct           # or: formal, casual, academic
  - conversational   # or: authoritative, friendly
  - technically-informed  # domain expertise level

register: informal   # formal / semiformal / informal

prohibited:
  - "synergy"
  - "leverage" (as verb)
  - passive voice in openings
  - corporate buzzwords

Layer 2: Channel Guidance

How voice adapts by medium:

channels:
  blog: "longer form, storytelling allowed, personality forward"
  social: "punchy, hooks required, controversy accepted"
  newsletter: "personal, direct address okay, opinions welcomed"
  documentation: "clear, step-by-step, minimal personality"

Layer 3: Example Library

Exemplars that demonstrate the voice:

exemplars:
  - path: "samples/great-opening.md"
    why: "Concrete example first, theory second"
  - path: "samples/transition.md"
    why: "Invisible transition technique"
  - path: "samples/closing.md"
    why: "Strong CTA without being salesy"

Voice Analysis Process

Step 1: Load or Extract Voice Profile

If profile exists:

  • Load from .claude/voice-profiles/ or specified location
  • Verify all three layers are present

If no profile (extract from samples):

  • Analyze provided sample text
  • Extract vocabulary patterns
  • Identify sentence structure preferences
  • Note tone and register
  • Create working profile

Read the full file on GitHub · 192 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 First seen · 192 lines · 126 tokens per session scan A 302ddcf9f3bf

Subscribe to this mod's changes

voice-guardian is an agent published in the GitHub repository robertguss/claude-code-toolkit (126 stars, last pushed 1mo ago), licensed MIT. It adds 126 tokens to every session and 1,252 once invoked, about $0.0005 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-30.