← Tue, Dec 1 digest

Show HN: A GUI for polishing the text your coding agent writes

read article ↗ hn thread ↗

Draftmux is a desktop GUI for editing and refining text produced by coding agents like Claude Code or Pi, featuring live target previews and scoped chat sessions.

summary is enough The project solves a concrete workflow annoyance for coding agent users, though the concept is straightforward enough to grasp quickly without reading deep code.

summary

Draftmux provides a dedicated graphical interface for polishing documentation, PR descriptions, and chat updates generated by AI coding agents. It integrates directly with tools like Claude Code and Pi, forking the active session to maintain a clean context window while offering live previews for targets like GitHub or Slack. Users can selectively rewrite portions of text or chat directly with the agent to refine the draft before exporting. The project addresses the friction of wordsmithing inside terminal-based agent harnesses.

key points

  1. Forks the active agent session into a separate draft process to avoid bloating the main terminal context window with wordsmithing turns.
  2. Includes side-by-side live rendering previews tailored for specific destinations like GitHub Markdown, Slack, or plain text.
  3. Supports selective text actions like shortening, tightening, or generating alternative phrasing via targeted agent chat.

who should read it

Developers who heavily use terminal-based AI coding agents and frequently need to clean up generated PR descriptions or release notes.

discussion positive

consensus

Commenters generally appreciate the workflow optimization of separating the draft from the main debugging session, though many debate whether prompt tuning or existing skills can fix AI writing style without a new app.

pushback

Some push back against harness-specific tooling, arguing that utilities should remain agnostic rather than locking users into specific ecosystems like Claude Code or Pi.

best comment by leoliu_builds ↗

Forking the session specifically for the draft is the smartest design call here. Trying to edit a PR description or release note in the same terminal thread where you just spent 40 minutes debugging usually bloats the main context window with wordsmithing turns, and the agent keeps drifting back to mentioning every dead-end refactor it tried along the way. Showing the actual target formatting (GitHub vs Slack vs plain text) right beside it also catches broken markdown and escaped characters before they hit a public thread.

Explains why forking the session specifically for drafting is a crucial architectural choice that prevents context window bloat.

Generated by an LLM from the article and thread. Check the sources before relying on it.