edit-miner

edit-miner is an agent for Claude Code from animalzinc/claude-plugins. It costs 41 tokens per session (495 once invoked), scanned A, original, MIT.

An agent that learns writing-style rules from edits made by human editors. It compares original and revised drafts and looks for the same kind of change appearing repeatedly.

In plain words
What is it for?
It helps build or refine a style guide from edit history, including rules about wording, punctuation, casing, headings, and sentence structure.
Why use it?
It separates changes to meaning from changes to wording and presentation, so content edits do not become style rules. It also spots conflicts with an existing style guide and repeated rejected rules.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the blog-style-guide-creator plugin — 4 skills, 2 commands, 11 agents shipped together

Good fit It helps build or refine a style guide from edit history, including rules about wording, punctuation, casing, headings, and sentence structure.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/animalzinc/claude-plugins/edit-miner
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/animalzinc/claude-plugins

Made for: Claude Code.

Or install blog-style-guide-creator, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 11 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 edit-miner

README.md
[![agentmods](https://agentmods.dev/badge/agents/animalzinc/claude-plugins/edit-miner/github.svg)](https://agentmods.dev/agents/animalzinc/claude-plugins/edit-miner)
Your own site
<a href="https://agentmods.dev/agents/animalzinc/claude-plugins/edit-miner"><img src="https://agentmods.dev/badge/agents/animalzinc/claude-plugins/edit-miner/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 edit-miner

Your own site · 80×15
<a href="https://agentmods.dev/agents/animalzinc/claude-plugins/edit-miner"><img src="https://agentmods.dev/badge/agents/animalzinc/claude-plugins/edit-miner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 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.00041 $0.00495
Opus 5.5 $0.00016 $0.00198
Sonnet 5.5 $0.00008 $0.00099
Haiku 4.5 $0.00004 $0.00049

Measured 2d ago against content hash 6ee6f5b513bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

edit-miner 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 2d 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/blog-style-guide-creator/agents/edit-miner.md · 28 lines

What it actually says

You learn a brand's style from what its editors change. The build-style-guide skill gives you the path to hunks.json (word-level changes between original and edited drafts, each with its sentence before and after), optionally decisions.jsonl (findings writers rejected in earlier checks), the current guide, and an output path.

Task

  1. Sort each hunk. A content edit changes what the piece says (a fact, an argument, a cut section); a style edit changes how it says it (a word, punctuation, casing, a heading, a sentence shape). Only style edits teach rules.
  2. Group style edits that make the same change. A group with at least two hunks, from at least two different pairs where there are several, becomes a candidate rule.
  3. Check the guide. A candidate the current guide already states is evidence for that rule (note its ID), not a new rule. A candidate that contradicts the guide is reported as a conflict.
  4. Read rejections. In decisions.jsonl, repeated rejections of the same rule on similar passages suggest the rule is too broad; propose a narrower wording.

Output

Write a JSON array to the output path, one object per candidate:

{"title": "Spell out ordinals below ten", "kind": "mechanical", "scope": "all", "severity_hint": "should", "text": "Write 'second', not '2nd'.", "evidence": "3 hunks in 2 pairs: '2nd page' -> 'second page' (pair-04), ...", "relation": "new", "rule_id": null, "source": "edits"}

relation is new, supports (with rule_id), conflicts (with rule_id), or narrows (with rule_id, from rejections). Quote hunks exactly. Reply with the number of candidates by relation and the file path only.

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. 2d ago First seen · 28 lines · 41 tokens per session scan A 6ee6f5b513bc

Subscribe to this mod's changes

edit-miner is an agent published in the GitHub repository animalzinc/claude-plugins (15 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 495 once invoked, about $0.0002 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-11-11.

Related

edit-miner compared with agents from other repositories

edit-miner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edit-mineranimalzinc/claude-pluginsAgent152d agoMITA41Claude Code
seo-geo-optimizerteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA29Claude Code
researcherteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA26Claude Code
fact-checkerteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA24Claude Code
content-drafterteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA22Claude Code
structurer-proofreaderteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA24Claude Code
batch-orchestratorteachskillofskills-ai/ContentForge-techshuAgent12mo agoMITA25Claude Code