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.
npx skills add petekp/claude-code-setup --skill refine-prosegit clone --depth 1 https://github.com/petekp/claude-code-setupWrote 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.
[](https://agentmods.dev/skills/petekp/claude-code-setup/refine-prose)<a href="https://agentmods.dev/skills/petekp/claude-code-setup/refine-prose"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/refine-prose/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.
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/refine-prose"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/refine-prose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00132 | $0.02683 |
| Opus 5.5 | $0.00053 | $0.01073 |
| Sonnet 5.5 | $0.00026 | $0.00537 |
| Haiku 4.5 | $0.00013 | $0.00268 |
Grade A, and why
refine-prose 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.
How it starts
The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Refine prose
Work from the reader's side. Ask what this reader needs in order to understand or decide, then remove everything that does not serve that.
Most weak prose fails above the word level. It says things the reader did not need, in an order that hides the point, in phrasing chosen to sound like writing rather than to say something. Fix those in that order. Word-level tells come last and matter least.
One move covers most fixes: describe what is present, in literal words, with the person who did it named.
Before editing
Settle three things from the request or the text itself:
- The reader and what they will do with the text. A busy engineer deciding whether to merge reads differently from a friend receiving a reply.
- Whose voice it is in. Pete's own message or post: read
~/.claude/skills/write-as-pete/VOICE.mdand apply it after the passes below. Interface strings: read~/.claude/skills/clean-copy/SKILL.mdfor what survives on a screen and how to report a batch. Anything else: the default register under Voice. - The mode. Rewrite returns revised text. Review reports findings and changes nothing. Draft writes new text, then applies the passes to it.
Ask only when the answer would change the edit materially. Otherwise choose the reading a careful editor would choose and say so in one line.
Pass 1: Cut what should not exist
Walk each section, paragraph, and sentence down these questions. Delete at the first one that fires. Do not polish text that should be gone.
- Would the reader have wondered this? Text that answers a question nobody had plants the question. A caption saying the preview is rendered at the exact profile size makes the reader wonder whether it might not be.
- Does something nearby already say it? A caption under a clear label. A summary after a short argument. A recap paragraph. A topic sentence that restates the heading. A closing line that repeats the opening.
- Does it rule out a failure instead of describing a behavior? "This may look slow but it is not." "Unlike the old cancel, this keeps your files." A list of what the change will not do. That is the writer's memory of a bug or a debate. The reader was not there and now has a worry they arrived without.
- Does it announce the text instead of being it? "In this section we will", "Here's the thing", "Let me walk through", "The rest of this post", "It's worth noting that", "In short". Delete the announcement and let the content stand.
- Does it exist to sound like writing? A quotable line. A punchline closing a paragraph. A question answered in the next sentence. A metaphor where a literal phrase was available. Replace it with the literal statement, or delete it if the statement is already there.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 216 lines · 132 tokens per session scan A 1740ad448a38
refine-prose is a skill published in the GitHub repository petekp/claude-code-setup (50 stars, last pushed yesterday), licensed MIT. It adds 132 tokens to every session and 2,683 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-10-22.
refine-prose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| refine-prosepetekp/claude-code-setup | Skill | 50 | yesterday | MIT | A | 132 | Claude Code, Codex |
| html-artifactslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 52 | Claude Code, Codex |
| sandbox-imageslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 55 | Claude Code, Codex |
| web-appslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 43 | Claude Code, Codex |
| baby-sitlangchain-ai/open-swe | Skill | 11k | today | MIT | A | 30 | Claude Code, Codex |
| merge-queue-recoverylangchain-ai/open-swe | Skill | 11k | today | MIT | A | 31 | Claude Code, Codex |
| migratelangchain-ai/open-swe | Skill | 11k | today | MIT | A | 72 | Claude Code, Codex |