prose-style-refresh

prose-style-refresh is a command for Claude Code from ihudak/ihudak-claude-plugins. It costs 72 tokens per session (1,925 once invoked), scanned A, original, MIT.

A command that rebuilds an organization's writing-rule overlay from configured web pages, a Git repository, or local files. The overlay is an extra set of rules placed on top of the shipped general rules.

In plain words
What is it for?
Use it to refresh style rules, preview changes with a dry run, choose a source, or write the rules to a specified directory.
Why use it?
It keeps team-specific writing guidance current without changing the general rules included with the add-on.

Command for Claude Code

Written for Claude Code: allowed-tools 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 prose-style plugin — 1 skill, 3 commands, 2 agents shipped together

Good fit Use it to refresh style rules, preview changes with a dry run, choose a source, or write the rules to a specified directory.

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 ihudak/ihudak-claude-plugins
Claude Code
/plugin install prose-style

Made for: Claude Code.

Or install prose-style, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 2 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 prose-style-refresh

README.md
[![agentmods](https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-style-refresh/github.svg)](https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-style-refresh)
Your own site
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-style-refresh"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-style-refresh/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 prose-style-refresh

Your own site · 80×15
<a href="https://agentmods.dev/commands/ihudak/ihudak-claude-plugins/prose-style-refresh"><img src="https://agentmods.dev/badge/commands/ihudak/ihudak-claude-plugins/prose-style-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 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,925 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.00072 $0.01925
Opus 5 $0.00036 $0.00962
Sonnet 5 $0.00014 $0.00385
Haiku 4.5 $0.00007 $0.00193

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

Security

Grade A, and why

prose-style-refresh 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 4d 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/prose-style/commands/prose-style-refresh.md · 189 lines

How it starts

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

Refresh the prose style overlay

Regenerates the overlay rules from your configured style-guide source. The plugin ships no vendor's style guide and this command fetches from no fixed site: the source is whatever your source.yml declares, or whatever you pass on the command line.

Arguments

Argument Example Behaviour
(none) /prose-style-refresh Uses the configured source.yml
--source <url> --source https://style.example.com/docs One-off web source; may be repeated
--from <path> --from ~/company-style-guide/ One-off local directory or file source
--rules <path> --rules ~/style/rules Write to this overlay directory instead of the discovered one
--dry-run --dry-run Report what would change; write nothing

Procedure

0. Resolve the baseline directory

${CLAUDE_PLUGIN_ROOT} does not expand in a slash-command body. Invoke the prose-style-rules skill (Skill tool, skill: "prose-style:prose-style-rules"), which resolves it, and take from it the absolute path of the shipped baseline directory — the one holding terminology.md, word-list.md, and the other six reference files.

Everything below calls that resolved path <baseline>. It is a read-only input to this command: the structure to map onto, and the one path that must never be written to.

1. Resolve the overlay directory (the write target)

Take the FIRST that resolves:

  1. --rules <path>, when given.
  2. <repo-root>/.prose-style/rules/<repo-root> from git rev-parse --show-toplevel, falling back to the working directory.
  3. $PROSE_STYLE_PATH.

If none exists yet, tell the user which path you would create — default <repo-root>/.prose-style/rules/ — and ask for confirmation before creating it. Do not create a directory tree unasked.

The shipped baseline at <baseline> is never a write target. It is the vendor-neutral fallback, it is reinstalled with the plugin, and anything written there is lost on the next update. Refuse a --rules path that resolves inside <baseline> or its parent plugin directory, and say why.

Read the full file on GitHub · 189 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. 4d ago First seen · 189 lines · 72 tokens per session scan A 8ac244689ff2

Subscribe to this mod's changes

prose-style-refresh is a command published in the GitHub repository ihudak/ihudak-claude-plugins (2 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 1,925 once invoked, about $0.0004 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-09-05.