cmd-break

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

A command that feeds a user-interface component or screen realistic worst-case data and reports what breaks. It uses a development-only switch and labels problems as broken, unattractive, or fragile.

In plain words
What is it for?
Use it to test empty states, single-item states, long content, optional values, and unpaginated lists with up to 1,000 rows.
Why use it?
It exposes failures caused by long values, missing data, extreme counts, or large lists before real users encounter them, while avoiding unrequested fixes.

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 to test empty states, single-item states, long content, optional values, and unpaginated lists with up to 1,000 rows.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentsorg/design-engineering/cmd-break"><img src="https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-break.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 990 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.00990
Opus 5.5 $0.00000 $0.00396
Sonnet 5.5 $0.00000 $0.00198
Haiku 4.5 $0.00000 $0.00099

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

Security

Grade A, and why

cmd-break 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 16d 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-break.md · 40 lines

How it starts

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

/design-engineering break

Aliases: worst-case, break-ui. Posture: adversary, then judge. Build the worst-case data and the toggle, report, and stop. Never fix the component until the user names which breaks to fix.

Target

One component or screen. A whole app is narrowed to the piece with the most user-authored data; say which and offer the rest as follow-ups. With no target, ask for one in a single line.

Variants: break <target> fix runs the whole pass, then applies every fix not listed under Decisions and re-flips every state. break data only <target> builds the fixture and toggle and stops, with no report. A bare fix all or fix 1, 3 acts on the last report.

Steps

  1. Map. Read [[stress-scenarios]] and the component. List every value it renders — counts, timestamps, badges, labels from data, avatars, the list's own length — with its source, its limit from the schema, migration, API type or maxLength, and whether it's optional. No limit is written as "no limit found", and that's already a finding.
  2. Build the worst case. One fixture shaped like the existing demo data, failures spread across the first rows rather than piled into row 1. Every value plausible or at the real limit, never keyboard mash; take a row from each kind in [[worst-case-values]] that the map turned up. Add Empty, One (every count at 1) and a 1,000-row state if the list is unpaginated.
  3. Wire the toggle. Swap fixtures at the data boundary, never by editing markup. A dev-only segmented control (Demo / Worst case / Empty / One / 1,000), bottom-centre, plain harness chrome, selection in the URL (?data=worst). Switching is instant, with no transition on the content: motion would hide the jump you are looking for. No project → one self-contained HTML file.
  4. Break it. Check at the real container width, 320px and the widest layout; at 200% zoom; under dir="rtl" and in dark mode if the product ships them. Match each break against the failure-signature table in [[stress-scenarios]] and the truncation rules in [[line-behavior]]. Say which findings were seen in a screenshot and which were inferred from CSS.
  5. Report and stop. Use the output below, leave the toggle running, and wait. On fix all or fix 1,3, apply only those fixes using the project's conventions, then flip through every state again, Demo included, so a worst-case fix can't regress the happy path. Keep the fixture; remove only the toggle when asked.

Read the full file on GitHub · 40 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. 16d ago Changed b061bfcaba17
  2. 20d ago Changed · +4 lines 9de01ab1ae44
  3. 1mo ago First seen · 36 lines · 0 tokens per session scan A a5bd7f1601f4

Subscribe to this mod's changes

cmd-break is a command published in the GitHub repository AgentsORG/design-engineering (48 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 990 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-break compared with commands from other repositories

cmd-break next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cmd-breakAgentsORG/design-engineeringCommand4817d agoMITA0Claude Code
color-specialistimsaif/design-with-claudeCommand1113d agoMITA35Claude Code
dark-mode-specialistimsaif/design-with-claudeCommand1113d agoMITA38Claude Code
error-handling-specialistimsaif/design-with-claudeCommand1113d agoMITA42Claude Code
motion-designerimsaif/design-with-claudeCommand1113d agoMITA37Claude Code
responsive-design-specialistimsaif/design-with-claudeCommand1113d agoMITA36Claude Code
spacing-layout-specialistimsaif/design-with-claudeCommand1113d agoMITA34Claude Code