BUILT FOR CLAUDE CODE

The best way to make quick adjustments

CmdZero maps every element in your running app to its exact line of source. Click something, change it — copy and style edits land in your code instantly, no AI involved. Everything else goes to Claude Code, on a Claude model sized for the job.

Star on GitHub
localhost:3000
cmdzero · ⌘0 active
ARTICLE
Q3 Growth Report
Revenue grew 34% quarter over quarter, driven by mid-market expansion and improved retention across…
✨ Summarize
<Summarize/>
Revenue up 34% QoQ on mid-market expansion; retention improved and churn fell, extending runway to 30 months.
INSPECTOR
src/lib/ai.ts:156
REQUEST
"Summarize this article in 50 words"
MODEL ROUTING
classify → simple task
- model: claude-opus-4-8
+ model: claude-haiku-4-5
TOKENS SAVED12,400
THE PROBLEM

The 40 second tweak

You know the loop. You ask your agent for "a bit more padding on the pricing card." It greps the repo, reads four files, thinks, and 137,000 tokens later edits the right one — probably. You look at it and say "hmm, a bit less."

CmdZero uses AI at the right time.

Agent session · unscoped
› "a bit more padding on the pricing card"
grep -r "pricing" src/ … 212 matches
read PricingTable.tsx · Card.tsx · theme.ts · index.tsx
thinking………
✓ edited src/components/PricingCard.tsx (probably)
137,000 tokens40 seconds× 2 ("a bit less")
cmdzero · same edit0 tokens · <10ms · exact line
INSTALLATION

How to get started

1Install
$ npm i -D cmdzero
    @cmdzero/react
2Point React's dev runtime at it
// tsconfig.json
{ "jsxImportSource":
  "@cmdzero/react" }

// app/layout.tsx
<CmdZeroOverlay />
3Run it next to your dev server
$ npx cmdzero

# open your app, press ⌘0
# and click anything

No bundler config. Works with Turbopack, webpack, and Vite — stamping happens in React's dev JSX runtime, so server components map too. Production builds get a passthrough: zero bytes, zero overhead.

THE THREE LANES

Automated tool selection

Fast local edits
⏎ written to App.jsx · 0 tokens
COPY · 0 TOKENS

Click, type, done

Click any text and edit it in place. Enter writes it to the JSX literal — your actual source file, not a CMS shadow copy. 0 tokens, 0 API calls.

STYLE · 0 TOKENS

Your design system, on tap

Padding and margin per side. Font sizes and swatches read from your Tailwind theme — the tokens your app really uses, not a generic picker. Every change is a deterministic class edit.

SOURCE MAPPED COMPONENTS

A direct path to context

Every element in you UI is source mapped to provide minimal sufficient context for the model to understand the request.

› "confirmation state on click"
classify → functionality → claude-opus-4-8
scope → Button.tsx (1 file, not 1,400)
validate → parses ✓ · applied
EFFICIENCY

The right model for the task

CmdZero already knows which file you clicked, so nothing has to search for it — and it routes each tweak to the cheapest model that can still do the job.

CONTEXT, NOT SEARCH

The file is already known. No grep, no repo crawl — just the component you clicked and your instruction.

Nav.tsx
Hero.tsx
Trust.tsx
Footer.tsx
→ context ready, zero lookups
RIGHT-SIZED MODEL

Simple tweak, cheap model. Every request is routed to the smallest model that can still handle it well.

- model: claude-opus-4-8
+ model: claude-haiku-4-5
SAVED THIS TWEAK$0.00
COST SAVINGS

Automated AI cost savings

The cheapest request is the one that never hits a model. CmdZero skips the API when it can, right-sizes when it can't, and shows you exactly where the savings add up.

ZERO-TOKEN REQUESTS

Some tweaks cost nothing. Cached and deterministic edits resolve locally — no tokens, no API call, no bill.

TOKENS USED0
NO OVERKILL

Small tasks, small models. Flagship models stay reserved for hard work — routine edits never pay premium prices.

claude-opus-4-8 · $$$
claude-haiku-4-5 · ¢
SAVINGS ALERTS

See where you save most. Alerts surface which files, models, and tweaks are driving the biggest cost cuts.

SAVED THIS WEEK$4.20
CORE FEATURES

The ultimate refinement tool

Select across containers, reorder sections by hand, and watch every change reload live — while a running tally shows exactly what you're saving.

MULTI-CONTAINER SELECT

Grab many at once. Select across containers and apply one tweak to every element you picked.

SELECTION0 selected
SIMPLE REORDERING

Reorder by hand. Drag sections into a new order and the layout rearranges as you go.

Features
Pricing
AUTO-RELOAD

See it instantly. Every tweak reloads the page automatically — no manual refresh, no lost state.

localhost:3000
✓ reloaded in 42ms
SAVINGS TRACKER

A running tally. Watch cumulative savings climb as skipped and right-sized requests add up over the day.

SAVED TODAY$0.00
LIVE ALERTS

Know the moment it happens. Real-time alerts stream in for spend spikes, model routing, and cache hits.

Routed to claude-haiku-4-5 · saved $0.03
Cache hit · 0 tokens used
Spend spike flagged on Hero.tsx

Your next tweak takes four milliseconds

Press ⌘0 and click anything.