Redline GitHub
Open source review loop for Claude Code

Review plans like a doc. Redline prototypes like a design.

Claude's plans and playable prototypes open in your browser. Select a sentence or click a component, leave a note, and send the batch straight back to the Claude Code session that made them. It picks them up, revises, and the page updates live.

>/plugin marketplace add NikkyAmresh/claude-plugins
>/plugin install redline@nikkyamresh # starts with each session
Runs on localhost One Python file, zero dependencies MIT licensed
127.0.0.1:4747/plan/demo/delivery-slots
Redline plan review: the outline and versions on the left, the demo plan with line numbers, a table and phase checklists in the middle, and the review panel with a thread that needs a reply, a draft comment and a suggested edit

The demo plan under review: outline on the left, your comments on the right.

The problem

Agents make plans and prototypes. Reviewing them is the slow part.

Plans in the terminal

A wall of text and one accept or reject. Your feedback gets typed from memory ("in step 4...") and scrolls away.

Prototypes in chat

You see the problem in a second, then spend minutes describing where it is to an agent that cannot see your screen.

Redline moves both into the browser, where every note points at an exact place, and sends them back to the session in one batch.

Plans

Review a plan like a doc, not a diff.

Claude writes the plan as a markdown file and opens it as a real document: mermaid diagrams, tables and phase checklists, versioned per project.

  • Comment or suggest an editSelect any sentence and press C or E. Attach screenshots. Drafts collect until you send them.
  • Notes point at one exact placeEach comment records its source lines and offsets, plus a path like Phase 2 › item 2. The markdown stays untouched.
  • Questions come back in redWhen Claude needs a decision, it opens a "Needs your reply" thread on the exact passage. Reply right there.
  • Every version keptSee what changed since the last version, open any past one, restore it or download it as .md.
Comments3HistoryPrototype
Needs your reply 1
Claude asked you · comment
Phases › Phase 2: real capacity › item 2 · line 69
Hold a slot for ten minutes while the customer pays
Y
You

Ten minutes feels long on mobile. Can we do five?

C
Claude

Five works for cards, but UPI apps often take longer to hand back. Five with one automatic extension, or a flat eight?

Drafts 2Not sent yet
Suggested edit
Delivery slots at checkout › paragraph 2 · line 13
-Plants die in hot delivery vans.
+Plants wilt in hot delivery vans.
Why: Softer, and true for most orders.
Comment
Phases › Phase 1: pick a slot › item 1 · line 62
three slots per day
Add an evening slot, most customers work office hours.
+ General noteSend 2 to Claude ⌘↵
Outline and line numbersComment counts per section, source line numbers, and a ruler marking every comment.
Command barPress ⌘K to jump to any section, comment or version, or run an action.
Changes since last versionOne switch marks the lines Claude changed when the next version lands.
Room to readCollapse either panel with [ and ]. Dark and light themes, and a phone layout.
Prototypes

Pin feedback to the component, not a screenshot.

Ask for a prototype and Claude builds a playable dummy of any app or website: real screens, fake data, every button does something. You review it by using it.

  • Press C and click itComment mode outlines whatever you point at. Click to pin a note to that component; hold Alt for the exact element.
  • Suggest the exact wordsOn any text, switch to Suggest copy and type the replacement for a button, heading or label.
  • Box a whole areaDrag a box over a section when the note is about layout, not one element.
  • It sees what you sawEvery pin records the screen, the component id and a screenshot, so Claude never has to guess.
Comments3History
Drafts 2Not sent yet
1Suggested edit
Shop · home.featured-cta
-Shop the edit
+See low light plants
Shop the edit
Why: Say where the button goes.
2Comment
Shop · area in home.categories
Put Low light first; it is what most people search for.
Resolved 1
3Resolved · comment
Plant detail · product.add-to-bag
Add to bag
Shows the bag count after adding, in v2.
+ Note on this screenSend 2 to Claude ⌘↵
127.0.0.1:4747/proto/demo/sprout-shop
Redline prototype review: the Sprout demo app in a phone frame with numbered pins on a button, a headline and the product cards, and the review panel listing a comment, a copy edit and an area note

The Sprout demo app: a five screen plant shop that ships with Redline, ready to click through and pin.

Phone, tablet or desktopThe prototype runs in a device frame, sandboxed, with a screens list showing where your pins are.
Pins that survive editsPins anchor to stable data-rl component ids, so they stay put when Claude rebuilds the screen.
Same screen, next versionAfter Claude edits, it reloads where you were, your notes resolve, and every version can be restored or downloaded.
How it works

One loop for plans and prototypes.

Your feedback lands back in the session that made the work, without breaking what it was doing.

  1. Claude makes itIt writes the plan or builds the prototype, commits v1 and opens it in your browser.
  2. You reviewSelect a sentence, or press C and click a component. Drafts pile up quietly.
  3. Send to ClaudeOne batch, one click. A signal lands in inbox/.
  4. The session picks it upWithout dropping its work. Or switch on Run independently and a background agent takes it.
  5. The page updates liveThe next version arrives, resolved notes turn green, open questions come back in red.

Your work never leaves your machine

The server binds 127.0.0.1, rejects foreign Host headers and never phones home. Plans, prototypes, feedback and screenshots live in ~/.claude/redline as plain files, with a git history of every version. It is a single reviewer tool on purpose; don't put it on the internet.

Small on purpose

  • One Python stdlib file, no dependencies, marked and mermaid vendored
  • Plans and prototypes survive /clear, compaction and restarts
  • Checkboxes tick while Claude implements, so a plan doubles as a progress board
  • Starts with each Claude Code session, one server for all of them
  • MIT licensed, yours to bend
Quick start

Two commands in Claude Code.

>/plugin marketplace add NikkyAmresh/claude-plugins
>/plugin install redline@nikkyamresh # starts with each session

Then ask any session for a plan or a prototype, or run /redline:plan-review or /redline:prototype-review. Two demos ship with it, a plan and the playable app it describes, so you can try the loop right away. Python 3.7+ and Claude Code, on macOS or Linux. Your plans live in ~/.claude/redline, outside the plugin, so updates never touch them.

Hacking on Redline itself? Install from a git clone instead

Use one or the other, not both, or the skills load twice.

$ git clone https://github.com/NikkyAmresh/redline ~/.claude/redline
$ for s in redline plan-review prototype-review; do ln -s ../redline/skills/$s ~/.claude/skills/$s; done
$ sh ~/.claude/redline/skills/redline/redline.sh start