cmd-polish

cmd-polish is a command for Claude Code from AgentsORG/design-engineering. It costs 0 tokens per session (334 once invoked), scanned A, original, MIT.

A final interface-detail command that edits a settled layout to improve its states and visual finish using the project's existing design tokens.

In plain words
What is it for?
Use it after the structure is right to refine interaction states, borders, shadows, line treatment, spacing details, and other small visual issues.
Why use it?
It prevents time being spent on decoration while the layout or hierarchy is still wrong, and prioritizes important states such as focus, disabled, loading, empty, and error.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the design-engineering plugin — 1 skill, 17 commands, 13 agents, 1 hook shipped together

Good fit Use it after the structure is right to refine interaction states, borders, shadows, line treatment, spacing details, and other small visual issues.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agentsorg/design-engineering/cmd-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/AgentsORG/design-engineering

Made for: Claude Code.

Or install design-engineering, the plugin that ships this one along with the rest of its 1 skill, 17 commands, 13 agents, 1 hook.

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 cmd-polish

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentsorg/design-engineering/cmd-polish"><img src="https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 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.00000 $0.00334
Opus 5.5 $0.00000 $0.00134
Sonnet 5.5 $0.00000 $0.00067
Haiku 4.5 $0.00000 $0.00033

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

Security

Grade A, and why

cmd-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.

skills/design-engineering/references/commands/cmd-polish.md · 25 lines

What it actually says

/design-engineering polish

Posture: build. Edit the code, then show what changed.

Steps

  1. Check the phase first. If the layout or hierarchy is still wrong, polishing it is wasted work. Say so and run [[feeling-right]] first ([[skill-router]] §2).
  2. Read [[ui-polish-pass]], [[states-are-the-work]], [[gotchas]] and [[pov]], plus the project's contract if one exists ([[using-design-file]]).
  3. Walk the pass in order. Fix states before decoration: hover, focus, active, disabled, empty, loading and error ([[empty-loading-states]], [[touch-and-focus]]). Then the optical details: [[border-radius]] nesting, [[shadows-whisper]], [[line-behavior]], [[visual-imperfection]].
  4. Make the edits with the contract's tokens, never new literals.

Output

The edits, followed by a short [[review-format]] table of the changes that matter most (at most five rows).

Hand-offs

Motion feels off → [[cmd-motion]]. Mobile feels like a website → [[cmd-mobile]]. Accessibility gaps → [[cmd-a11y]]. Launch week, the whole app → [[cmd-ship]]. Worst-case data breaks the layout → [[cmd-break]].

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 First seen · 25 lines · 0 tokens per session scan A 1a5cd834eb53

Subscribe to this mod's changes

cmd-polish is a command published in the GitHub repository AgentsORG/design-engineering (51 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 334 tokens. 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-31.

Related

cmd-polish compared with commands from other repositories

cmd-polish next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cmd-polishAgentsORG/design-engineeringCommand5118d agoMITA0Claude Code
color-specialistimsaif/design-with-claudeCommand1115d agoMITA35Claude Code
motion-designerimsaif/design-with-claudeCommand1115d agoMITA37Claude Code
spacing-layout-specialistimsaif/design-with-claudeCommand1115d agoMITA34Claude Code
dark-mode-specialistimsaif/design-with-claudeCommand1115d agoMITA38Claude Code
responsive-design-specialistimsaif/design-with-claudeCommand1115d agoMITA36Claude Code
typographyAboudjem/ui-ux-suiteCommand814d agoMITA0Claude Code