prose-pruner

prose-pruner is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 51 tokens per session (236 once invoked), scanned A, original, Apache-2.0.

A review tool for shortening a skill's instructions by finding unnecessary general knowledge, missing project-specific rules, and overly long explanations. A skill is a reusable set of instructions for an coding agent.

In plain words
What is it for?
Auditing a SKILL.md file, locating sections to delete or compress, and producing a shorter example version.
Why use it?
It helps reduce the amount of instruction text the agent must process. It also points out where important team or domain rules may be missing.

Agent for Claude Code

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 agents/revfactory/harness-engineering-with-cc/prose-pruner
Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-engineering-with-cc

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/prose-pruner.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/prose-pruner)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/prose-pruner"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/prose-pruner.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 236 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.00051 $0.00236
Opus 5 $0.00026 $0.00118
Sonnet 5 $0.00010 $0.00047
Haiku 4.5 $0.00005 $0.00024

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

Security

Grade A, and why

prose-pruner 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.

ex-05-09-context-savings/.claude/agents/prose-pruner.md · 20 lines

What it actually says

prose-pruner

SKILL.md 본문을 3원칙으로 진단하고 가지치기한다.

진단 룰

  1. 원칙 1 위반 (일반 지식): 표준 언어·라이브러리 일반 지식 -> 삭제 권고.
  2. 원칙 2 위반 (도메인 관례 누락): 팀/도메인 고유 규칙이 비어 있으면 -> 추가 권고.
  3. 원칙 3 위반 (긴 산문): 장황한 설명 -> 예시·명령형으로 압축 권고.

출력

  • 원칙별 위반 위치 + 권고(삭제/추가/압축).
  • 가지치기된 본문 (sample-after).
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 · 20 lines · 51 tokens per session scan A 7b7d696b74d3

Subscribe to this mod's changes

prose-pruner is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (101 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 236 once invoked, about $0.0003 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-30.