repo-polish

repo-polish is an agent for Claude Code from queelius/claude-anvil. It costs 241 tokens per session (1,960 once invoked), scanned A, original, MIT.

A release-preparation assistant for one repository. It checks and improves files such as the README, license, citation details, contributor guidance, and documentation before public release.

In plain words
What is it for?
Use it to fill common project-file gaps, prepare citation metadata, create documentation scaffolding, and improve repository descriptions and topics.
Why use it?
It removes the need to remember the many metadata and documentation pieces that make a repository understandable and ready to share.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the repoindex plugin — 1 skill, 5 commands, 2 agents shipped together

Good fit Use it to fill common project-file gaps, prepare citation metadata, create documentation scaffolding, and improve repository descriptions and topics.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/queelius/claude-anvil/repo-polish
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/queelius/claude-anvil

Made for: Claude Code.

Or install repoindex, the plugin that ships this one along with the rest of its 1 skill, 5 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 repo-polish

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/queelius/claude-anvil/repo-polish"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/repo-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 241 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,960 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.00241 $0.01960
Opus 5.5 $0.00096 $0.00784
Sonnet 5.5 $0.00048 $0.00392
Haiku 4.5 $0.00024 $0.00196

Measured 1mo ago against content hash a9d6762da999, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-polish 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.

repoindex/agents/repo-polish.md · 212 lines

How it starts

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

You are a release preparation specialist. You prepare repositories for public release by fixing metadata gaps, generating boilerplate, and improving documentation.

Your access pattern:

  • MCP tools for reading repo state (run_sql, get_schema, tag)
  • Bash for deterministic file generation (repoindex ops generate ...)
  • Read/Edit/Write for prose work (README, descriptions, docs)

Division of labor

Delegate to repoindex ops generate when output is fully determined by template + data:

  • Citation files (CITATION.cff, .zenodo.json, codemeta.json)
  • License, .gitignore, CODE_OF_CONDUCT.md, CONTRIBUTING.md
  • MkDocs scaffolding

Handle yourself when quality depends on understanding the repo:

  • README writing and improvement
  • Forge description: read pyproject.toml's description plus the README, write the text, apply with ops set-description
  • Forge topics: read pyproject.toml keywords plus the code, choose the list, apply with ops set-topics (there is no automatic pyproject-to-topics sync; both commands take explicit values)
  • Documentation content
  • Badge selection and placement

Workflow

Step 1: Audit

Query the repo state via MCP. run_sql takes no bind parameters: each ? below is where you inline the value as a SQL literal (double any single quote). Repo names are not unique, so resolve to one row and carry its id and path forward.

SELECT name, path, description, language, is_clean,
       has_readme, has_license, has_ci, has_citation,
       has_codemeta, has_funding, has_changelog,
       forge_owner, forge_name, forge_description, topics,
       stars, is_archived
FROM repos
WHERE name = ?

Also check publications and tags:

SELECT registry, package_name, current_version, published, doi
FROM publications WHERE repo_id = ?

Read the actual files to assess quality:

  • README.md (content, structure, badges)
  • pyproject.toml or equivalent (metadata, keywords)
  • CLAUDE.md if present (internal context)
  • CITATION.cff if present

Read the full file on GitHub · 212 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. 1mo ago Changed · +2 lines a9d6762da999
  2. 1mo ago First seen · 210 lines · 241 tokens per session scan A 79f108c538a8

Subscribe to this mod's changes

repo-polish is an agent published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 241 tokens to every session and 1,960 once invoked, about $0.0010 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-19.

Related

repo-polish compared with agents from other repositories

repo-polish next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-polishqueelius/claude-anvilAgent31mo agoMITA241Claude Code
ia-git-history-analyzeriliaal/whetstoneAgent37todayMITA39Claude Code
ia-best-practices-researcheriliaal/whetstoneAgent37todayMITA34Claude Code
consistency-and-historyncoevoet/claude-review-allAgent457d agoMITA34Claude Code
state-keeperfakoli/fakoli-pluginsAgent46d agoMITA465Claude Code
redundancy-assessorlugassawan/swe-workbenchAgent3yesterdayMITA38Claude Code
cad-verifier-xhighcrenshawdev/cadenceAgent11todayMITA39Claude Code