polish

polish is a skill for Claude Code from inkatze/planwright. It costs 90 tokens per session (3,089 once invoked), scanned A, original, MIT.

A local review-and-fix loop that repeatedly checks changes on a feature branch, applies findings that can be resolved automatically or by the agent, and records issues needing human judgment.

In plain words
What is it for?
Use it to review a branch, apply permitted fixes, rerun the review, and produce an audit record with remaining sign-off items.
Why use it?
It helps reduce repeat review cycles by addressing resolvable problems before handoff while keeping decisions that require a person clearly marked.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the planwright plugin — 14 skills, 10 hooks shipped together

Good fit Use it to review a branch, apply permitted fixes, rerun the review, and produce an audit record with remaining sign-off items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inkatze/planwright/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.

Any agent
npx skills add inkatze/planwright --skill polish
Clone the repo
git clone --depth 1 https://github.com/inkatze/planwright

Made for: Claude Code.

Or install planwright, the plugin that ships this one along with the rest of its 14 skills, 10 hooks.

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 polish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/inkatze/planwright/polish"><img src="https://agentmods.dev/badge/skills/inkatze/planwright/polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,089 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.00090 $0.03089
Opus 5.5 $0.00036 $0.01236
Sonnet 5.5 $0.00018 $0.00618
Haiku 4.5 $0.00009 $0.00309

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

Security

Grade A, and why

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 22d 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.

skills/polish/SKILL.md · 248 lines

How it starts

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

/polish

The autonomous act-then-review loop (REQ-E2.1, D-12): repeat the /self-review pass against the feature branch until it drains every action disposition and only irreducible Needs-human-judgment forks remain, then hand off a projection of the audit record and the file holding it in full. Polish is local-only per the invariants below: nested /self-review passes reuse the base pinned at pre-flight, and the skill owning PR creation carries its checklist to the draft PR.

Doctrine

Resolve the same rule docs as /self-review, listed in the manifest below, via scripts/resolve-rule-doc.sh <doc-name> through the core root chain. Their definitions govern wherever this skill names a concept. Issue one plain command per Bash call, test and lint runs through compute-route.sh (doctrine/plugin-script-invocation.md). If a rule doc does not resolve, halt with a clear message naming the missing doc and the chain consulted.

Doctrine manifest (per doctrine/instruction-hygiene.md; run-start docs load before work begins, point-of-use at the named step):

Doctrine: point-of-use discovery-rigor (nested pass's Discovery) Doctrine: point-of-use validation-rigor (nested pass's Validation) Doctrine: run-start finding-categorization Doctrine: run-start gate-wiring Doctrine: point-of-use research-rigor (the nested /self-review pass's finding-validation) Doctrine: point-of-use refactor-instinct (the nested /self-review pass's refactor filter) Doctrine: run-start security-posture Doctrine: point-of-use proportionality (nested pass's scoping)

Invocation modes

Read the literal flag --nested from $ARGUMENTS at the start of the run:

  • Standalone (no flag): on exit, present the handoff to the human.
  • Nested (--nested): a parent skill (typically /execute-task, which runs Polish as its convergence step per REQ-E1.4) invoked the loop in-session and receives the handoff; the parent owns the PR body the audit record lands in.

The loop behaves identically in both modes. Nested invocation is in-session skill composition (REQ-E2.2, D-13): one session, one context, hooks fire once per actual tool call, not once per skill layer. Record the resolved mode in every iteration summary.

Read the full file on GitHub · 248 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. 22d ago Changed · +1 lines 9d26c7185312
  2. 1mo ago Changed · -1 lines 2dabcc27b0d6
  3. 1mo ago Changed · +1 lines · -16 tokens per session dba9f77660e3
  4. 1mo ago Changed · +10 lines 44f23e19fad6
  5. 2mo ago Changed 42222cc2392e
  6. 2mo ago Changed 5867fbff78ef
  7. 2mo ago Changed · -1 lines cfb9f9634d40
  8. 2mo ago Changed · +23 lines · +12 tokens per session bdd50400fd3b
  9. 2mo ago Changed · -23 lines 62febab4b11a
  10. 3mo ago First seen · 238 lines · 94 tokens per session scan A 3e2ba0280d1d

Subscribe to this mod's changes

polish is a skill published in the GitHub repository inkatze/planwright (4 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 3,089 once invoked, about $0.0004 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-08-31.

Related

polish compared with skills from other repositories

polish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
polishinkatze/planwrightSkill4todayMITA90Claude Code
accessibility-gatevmobifystudio/app-dev-teamSkill510d agoMITA55Claude Code
github-pr-workflowpaperclipai/paperclipSkill119ktodayMITA39Claude Code, Codex
agent-code-review-swarmruvnet/rufloSkill83kyesterdayMITA22Claude Code
agent-reviewerruvnet/rufloSkill83kyesterdayMITA15Claude Code
agent-code-analyzerruvnet/rufloSkill83kyesterdayMITA19Claude Code
github-automationruvnet/rufloSkill83kyesterdayMITA61Claude Code