enforce-voice

enforce-voice is a command for Claude Code from TribeAI/claude-cowork-brand-voice-plugin. It costs 6 tokens per session (421 once invoked), scanned A, a copy of enforce-voice, MIT.

A command that applies saved brand guidelines to content creation. It first checks for a selected working folder and then looks for the guidelines in the session or that folder.

In plain words
What is it for?
Use it when creating content that must follow stored brand voice guidelines, including guidelines saved in a project folder.
Why use it?
It prevents content from being written without the intended brand rules and explains when those rules cannot be loaded.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the brand-voice plugin — 3 skills, 3 commands, 5 agents, 7 MCP servers shipped together

Good fit Use it when creating content that must follow stored brand voice guidelines, including guidelines saved in a project folder.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice
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/TribeAI/claude-cowork-brand-voice-plugin

Made for: Claude Code.

Or install brand-voice, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 5 agents, 7 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice/github.svg)](https://agentmods.dev/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice)
Your own site
<a href="https://agentmods.dev/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice"><img src="https://agentmods.dev/badge/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice/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 enforce-voice

Your own site · 80×15
<a href="https://agentmods.dev/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice"><img src="https://agentmods.dev/badge/commands/tribeai/claude-cowork-brand-voice-plugin/enforce-voice.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 421 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 100% copy Near-identical to another mod 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.00006 $0.00421
Opus 5 $0.00003 $0.00211
Sonnet 5 $0.00001 $0.00084
Haiku 4.5 $0.00001 $0.00042

Measured 13d ago against content hash ab67acc3ab40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

enforce-voice 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 13d 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.

Origin

This is a copy

100% identical to enforce-voice — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/enforce-voice.md · 23 lines

What it actually says

MANDATORY FIRST STEP — do this before anything else, including loading guidelines or processing the content request. Check whether the user has a working folder selected for this session. You must verify this before starting any enforcement work. If there is no working folder, stop and warn the user: "You don't have a working folder selected. Without one, I can't load saved guidelines from a previous session, and any guidelines generated in this conversation won't be saved for future sessions either. Please select a working folder and re-run this command. If you'd like to proceed anyway (guidelines will only be usable in this session), let me know." Wait for the user to confirm before continuing.

Load the user's brand guidelines and apply them to the content request provided in $ARGUMENTS.

Find brand guidelines using this sequence (stop as soon as found):

  1. Session context — check if guidelines were generated earlier in this conversation
  2. Local guidelines file — check for .claude/brand-voice-guidelines.md inside the user's working folder. Do NOT use a relative path from the agent's current working directory (in Cowork, the agent runs from a plugin cache directory). If no working folder is set, skip this step.
  3. If not found, ask the user to run /brand-voice:discover-brand, /brand-voice:generate-guidelines, or paste guidelines directly

Once guidelines are loaded, follow the brand-voice-enforcement skill instructions to:

  1. Analyze the content request (type, audience, key messages, requirements)
  2. Apply voice constants ("We Are / We Are Not") and flex tone for context (formality, energy, technical depth)
  3. Generate content applying voice, tone, messaging, and terminology guidelines
  4. Validate output against brand do's and don'ts
  5. Present the content with a brief explanation of brand choices made
  6. Note any open questions from guidelines that affect this content
  7. Offer to refine based on feedback
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. 13d ago First seen · 23 lines · 6 tokens per session scan A ab67acc3ab40

Subscribe to this mod's changes

enforce-voice is a command published in the GitHub repository TribeAI/claude-cowork-brand-voice-plugin (35 stars, last pushed 3mo ago), licensed MIT. It adds 6 tokens to every session and 421 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to enforce-voice, differing in 0 lines, and is treated as a copy.