Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: A GUI for polishing the text your coding agent writes (opens external site)

233 points by rane 3 days ago draftmux.raine.dev 102 comments (opens Hacker News) Vote (opens Hacker News)

Comments (102)

  1. Ah haha congratulations on shipping. You are doing awesome work. At the end of the day, the author must read the work themselves. If they don't read their own text, why should anyone else, right? By using agents, authors can become more efficient and in a sense it is almost like they are writing with a ghost writer which is nothing new (and completely fine if you ask me).
  2. Gosh, I mean, this is cool? Sure? It does the thing you want? But I've been in this nightmare nexus for so god damn long that polishing just isn't enough anymore. I can still tell. Especially in my own generations.

    I just tell my agent to leave copy gaps that I can then grep (some obscure string, I use "∑CG") and then just write it all myself. Also makes me actually read the code to write the strings. But then, I'm also weirdly cagy about agents and write my front end code by hand too.

    Replies (2)
    1. I think one of the major problems with AI is it is genuinely just capable of doing too much work in one go. I know everyones discussed this to death (especially around reviewing code), but I genuinely think its going to be a problem for products going forward unless the models improve in this area.

      I believe the vast majority of people that invest maybe 1hr on ideation then 40 minutes on their LLM coding something is not going to be invested enough in the product they're building to bother vetting every single string going into their app. Right now AI agents are /still/ incredibly verbose or hedge their bets everywhere and it just annoys me to no end.

      It's still this uncanny valley where they're simultaneously amazing and annoyingly bad at the same time.

      Replies (2)
      1. I "vibe" code my own pet project. But that's not 1h thinking and 1h vibing. It's putting together two weeks already of working together with the AI, concept by concept, test by test, feedback and new ideas constantly flowing in, features extended or removed or merged... yes one could have made something "similar" in 1h thinking and 1h generating. But that would have been garbage.
      2. > verbose

        This. There are so many hacks how to shorten the length of outputs but

        /ponytail skill is what I like for coding. But still I get so long explanatory texts that it is exhausting.

        James Gleick’s book mentions the lack of date-time context in email—and now we’re seeing the same issue with LLM output—add to that an output rate of 150 tokens per second, and we’re in trouble, because we’re producing so much data that it’s essentially lost its meaning (no one will ever read it, not even the LLM). And if no one reads it and no one ever will, then why store it at all?

    2. I have to use a default language of “llmspeak” and then translate to en_US. Since my current app is translated to es_US and fr_CA too this isn’t that big of a burden.

      Incidentally machine translating anything into Spanish was unusable. The end users basically couldn’t use it.

  3. Cool concept, I usually just get Claude (or whatever) to create a simple HTML file/artifac allowing me to annotate whatever needs annotating in a way that makes sense for the content.

    This allows for more flexible rendering of the content itself. For example, instead of being "limited" to markdown or html, it can support whatever is needed such as if I'm making a webgl game it can render the UI with the message in it.

    Replies (3)
    1. Interested to know how you would find my take on things: https://smalldocs.org / https://github.com/espressoplease/smalldocs. It's an agent first document format (Markdown, but with a range of rich features like embedded spreadsheets, charts, slides, code, diagrams, html widgets, etc.).

      My theory is that by having a dedicated rendering tool I can provide deeper functionality than a one-time-rendered HTML page. For example, here is a "sdoc" with a multi tab spreadsheet within it:

      https://smalldocs.org/s/YrJDCfCD8-6j_uRE0pNCbI#k=odJRxWOIySV...

      And I can add little features which make my life easier and the agent doesn't have to recreate every time, like copying a html table as csv for better human-to-agent feedback loops.

      I built it before artifacts were a thing, but I still find the richness of the format is better than html artifacts or dedicated doc types - sheets, slides, etc. (SmallDocs can combine them all). However that might not be the case for everyone.

    2. Yep, I have similar use cases and definitely been thinking how to bring HTML as a medium into this
    3. that's what most newer vibe coded projects don't seem to understand. by the time your money has been turned into a working software it's not necessary anymore.

      This here is what a simple game was 10years ago. Either you do monumental projects now like the *craft series, or don't even bother.

  4. I made something similar, but for code review: https://imgur.com/CKv75vb

    Based on my previous manual experiments: https://imgur.com/a/ZRg5x7t

    But I haven't shipped it yet, hope to be done by Christmas

  5. if you are on claude, the draft runs in its own fork of your session wihout your hooks, mcp servers or other settings, but it still loads the claude.md files and rules your session had, plus env and apikeyhelper from your user settings.json. so writing style rules in claude.md carry over and a hook that checks your pr text doesn't. On windows it also needs CC's native installer, the npm package won't work:https://github.com/raine/draftmux#how-it-works-with-claude-c...
  6. What am I missing here? This seems to offer the same capabilities as the Claude Plugin for VS Code, which is already quite nice for writing in LaTeX or markdown.
  7. I went the opposite way, I didn't want Claude to interfere with my writing, so I built a tool where it can only critique: https://www.writelucid.cc/
  8. This is neat and looks very polished, I've been using difit (local github PR interface) to comment on changes made by claude, but the interface here seems much more natural.

    https://github.com/yoshiko-pg/difit

  9. I've been tinkering with something kinda similar! I think there's more room here to push for something interesting. You'vei nspired me to share it with people!

    Really well polished and executed!

  10. Can you make this a web app instead of a Windows app?
  11. Looks very interesting. I've been mostly using plannotator for reviewing plans
  12. I guess many of us are building tools to support these new ways of working.

    I was fed up with the GitHub PR ux so I've been building this to help me stay on top of, in touch with, the work I am reviewing and approving.

    https://gnosis.to/

  13. just use vim

    greatest fit ever for (this paradigm of) ai

    Replies (1)
    1. thank you for being a fellow voice of reason in this comment thread. much of this page is filled with madness when not youthfully ignorant or under AI peer pressure psychosis.
  14. Thanks, this seem quite useful, and the UI looks very intuitive. From a brief read I could find out: is using this in opencode, also feasible? Or is it not supported right now?
    Replies (1)
    1. Cheers! Will look into opencode. Largely depends on if it has an RPC-style interface so the app can control it programmatically. I mostly use Pi and Claude Code so those are the only supported agent backends currently.
      Replies (1)
      1. Perfect thank you. Opencode has an extensive API afaik.
  15. If it's really faster for you to keep asking the agent to edit PR description rather than just edit it or even type it in, I suspect your PR is too big or you don't understand it enough to describe (both red flags).
  16. I typically just use the SimpleEnglish skill, which already gets rid of most annoying Claude language traits.

    https://github.com/AminBlg/SimpleEnglish

    Replies (2)
    1. I too use my simple English skill. one that has worked for many decades before the advent of LLMs I can confirm firsthand, kiddos. :-)
    2. Why didn't they use the skill to write the docs for that repo? Or write it themselves? It's full of Claudish garbage
  17. interesting, but it is a bit sad that people are focusig on specific harnesses. There are a lot more out there than Claude, Codex and Pi. Creating tooling that strictly requires specific harness has been very counter productive, instead we should strive to be tooling unaware as much as possible, then just provide a skill to teach agents how to use it.
    Replies (3)
    1. How would you solve this specific problem (letting the app fork an existing agent session, or that user wants to use their Claude subscription) in a harness agnostic way?
      Replies (2)
      1. Not sure about forking, but using existing subscription can probably be made by learning how to call the harness in headless mode, as a majority of them supports this. Which can be provided via a skill per harness but with a fallback: read the docs and <agent> --help. Not the most optimal but as a fallback it is ok so then it can be used anywhere.
      2. I avoid vendor-specific features so they stay swappable. Where the API’s between eg Claude and OpenAI diverge, that’s your cue to build that piece into your caller.

        The agents, of course, know their own APIs well and will nudge you towards using their esoteric edges. This turns into a form of lock-in.

    2. Very good point, I think that arises another problem and its that the users are not willing to get out of the harness/chat interface they already use (as this tools requires the user to do). I think that tools need to be integrated on any existing harness to reduce user friction
    3. If only there was a harness-agnostic protocol for connecting AI agents to data sources, tools, and applications... like some kind of Model Control Protocol ...........
  18. Cool concept
  19. Looks pretty slick. I created MD-Split just to have a nice editor + preview for all the Markdown I'm editing these days: https://github.com/james2doyle/mdsplit
    Replies (1)
    1. as a person whose primary workstation has been debian for _years_, i salute you! thank you
  20. I didn't know we were still fussing over this stuff enough to need a dedicated tool for it.

    I recently had to get into the weeds for a customer-facing document, but day-to-day I just prompt "use terse and information-dense prose with a bit of a narrative flow" and call it a day. For me the docs are basically just a representation of the code, and as long as it's structured and direct, I'm not going to pick at sentence phrasing.

    Replies (6)
    1. >> I just prompt "use terse and information-dense prose with a bit of a narrative flow" and call it a day.

      Why pre-generate documentation from the code if it's just a English summary of the flow? We could do this on-demand and not carry around a bunch of crud, but more importantly we've known since forever that this documentation is low value; explain the why not the how.

      Replies (1)
      1. Think of the pre-generated docs as a (prompt) cache.
        Replies (1)
        1. In that case, let the AI do what it does, who cares about human readable output?
          Replies (1)
          1. Becuase it saves you tokens (in theory):

            Option 1) everyone that uses the library spends tokens telling the llm to read through the codebase to figure out what it does.

            Option 2) the project owner does that once, writes the output to a file, and everyone that uses the library spends less tokens telling the llm to read the "cache" file.

            Replies (1)
            1. Why polish the writing? Nobody is reading it.

              Continue this thread (1 replies) →

    2. For most code related writing (code comments, ticket descriptions, pr descriptions, etc...) I use an `/ste-writing` skill. There are a few out there. IIRC, I use https://github.com/1fc0nfig/ste-writing. It uses a simplified/standardized dictionary originating in the aerospace industry.

      IMHO, the resulting output is clearer & easier to comprehend.

    3. For public facing text it is rough as hell. Claude writes the most wrenched syntax, I've resorted to using Neon and Deepseek for copy rewrites.
    4. Sounds like a slippery slope to not even reading it before sending it.
      Replies (1)
      1. Who reads the agents.md file? That thing is an abomination.

        (Ok, I read one yesterday and it was useful.)

        Replies (1)
        1. I still write them by hand? I know people now don't.

          OK so I get the agent to suggest, because you have to know what broad pattern sets it off in various directions.

          If it was confused by something on the way to a solution, or it realised it had done something suboptimally, you can ask it to explain itself and draft its own instructions.

          But that only gets you what would work in the context of that single session, because that's really all it knows.

          So it seems to me you have to fine-tune the words to be less vague based on your own knowledge; AGENTS.md is for agents but unless you are in the loop of writing it, it just encourages rabbit holes.

          Fine tune, test without making the model aware you might be testing (because that could bias it to consider the instructions more deeply than otherwise), and repeat.

          At the end should be something terse and complete that you can also understand, because if you can't understand it, you've lost control of the agent.

    5. You can help it with prompting and model choice, but in my experience LLMs don't yet have a good sense of what is relevant to the reader in the context. If you don't proof read and refine, there will be parts that stand out as fluff and give bad impression for the reader, IMHO
      Replies (1)
      1. > but in my experience LLMs don't yet have a good sense of what is relevant to the reader in the context.

        Yep -- this is why all Claude websites are bad, I think. All generated text is much closer to Lorem Ipsum than a human would write.

        Text that looks like filler or just there for the shape is aggravating.

    6. I agree. Written language, somewhat, but I've stopped caring about what the code looks like. I'm not the primary reader or writer so my taste preferences are irrelevant.

      On the written language side, I've just fed it things it wrote and I edited to be in my voice, and over time it is better at writing in my voice. But actually the habit of typing rather than copying is still good there because of how poor the platforms are at detecting slop and how aggressive they are with shadowbans/false positives.

  21. vim
  22. I personally print out all my output and urinate on it to prove I'm still alpha male. Then I type it back in.

    Gotta add value somehow!

  23. Needs Pangram integration, and auto-mode until it clears detection.
  24. Really funny because JetBrains had Writerside and they discontinued it, shame. I think JetBrains needs to really rethink their strategy, in my eyes they've needed to remake their IDE for a long while. Their AI offering is not very impressive it was before Claude Code, after Claude Code, unless they invest in hosting their own models (which they should have done long ago) they're really just going to keep losing customers, heavy weight IDEs are only so useful in a world before LLMs, Stack Overflow is effectively dying if not flat out dead, and heavy weight sluggish IDEs will likely be next.

    I hope JetBrains figures out a sound strategy before its too late. I'm surprised they didn't attempt to buy Cursor or one of those other editors.

    They did try to make a VS Code alternative, but it felt... wrong and I just couldn't find myself using it.

    Replies (2)
    1. Agreed, they could have a strong play if they would integrate the tooling they've honed for decades into an extremely fast and powerful AI backend.

      I'd love to see them attempt to become a one stop shop for a always on platform monitor and builder. Watch all my logs, check all my queries, heal and fix and optimize based on production benchmarks etc.

      Rubymine was my secret superpower for years and years. Would be a shame.

    2. I feel like their model of having a different IDE for every language is preventing them from moving quickly. But lots of people pay for multiple IDE's so they'd lose all that extra revenue if they were to change. It's a catch 22.

      On a related note, I'd like to see an editor that allows me to write and review pseudocode.

  25. Conveying your thoughts in the written form is a valuable intellectual skill. Letting this skill degrade will not serve yourself or society well.
    Replies (5)
    1. What do you think about drawing a diagram on a whiteboard? Sometimes I draw simple diagrams to depict things that could be described in words. I do this so that I can avoid having to say all those words.

      At this point, if people are going to at least proof read what AI wrote, I'll take what I can get.

      Replies (3)
      1. You draw your diagram, and then you explain it with words. Then you will have a much better understanding of the concept.
        Replies (1)
        1. My point is conveying thoughts through writing is not sacracinct. It's okay to use other forms of communication, including AI to help reduce the amount of writing that must be done.

          Movies require less writing than books. Movies are not worse than books, though they are different. Writing did not become fundamentally less valuable with the invention of movies, but in practice writing was less needed.

          Replies (1)
          1. It is true. There are different ways of communicating different things. But being able to express something in written form is probably one of the main tools that helped us developing all the technology that surrounds us now. And losing that ability (as a society) seems like a bad idea.
      2. It's a common meme on twitter, but fits here as well.

        https://x.com/raffysoanti/status/1403093629086965760?lang=en

        Both can exist, right? Conveying your thoughts in the written form can be a valuable skill to refine, while drawing diagrams also has merits and value.

        The comment was a response to a tool to assist in letting AI write for you. OC was pointing out the danger in losing that skill.

        Replies (1)
        1. It's not polite to call me stupid.

          Context matters. I never said you called me stupid--but you sure felt like I said it, didn't you?

          I interpreted the comment, in context, as being dismissive of a tool that helps people have more control over writing, and dismissive of AI in general.

          As for Twitter, there is no context, people bring their own context with them, and so it's no wonder there are misunderstandings.

          Replies (1)
          1. Well, interpreted in context, you brought up a completely different skill-set as if it was related somehow, as opposed to bringing up any reasons we shouldn't be concerned about losing the skill of writing as a civilization.

            I wasn't trying to call you stupid, and I'm sorry if it came off as arrogant. I just like the pancake/waffle meme

      3. FWIW I think you should draw diagrams.

        What you should not do is use those AI diagrams that are currently turning up in youtube videos.

        British readers of a certain age will know what I mean when I say they are all rather Lord Privy Seal.

    2. The missing thing with all of these type of tools is that we mainly need tools to help with documentation that other agents read. These types of tools as linked in the OP are only necessary when we're still following the old SDLC process.
    3. >Conveying your thoughts in the written form is a valuable intellectual skill.

      My hot take here is that this is exactly what prompting an agent is. It matters significantly less now but when I first started trying AI coding >1 year ago, I found that I genuinely had to reason through requirements in order to tell the AI what I wanted in text form. Nowadays, I can get away with being much less precise and thoughtful but I think there's definitely still something there that rewards effective written communication.

      Replies (1)
      1. I was just saying this to someone the other day. I feel like I am improving the transition from though to request more effectively. They do a pretty good job teaching this skill in engineering school: break problems down into smaller problems before solving, and such.

        When I hand an agent a vague ask, the code comes back fast but I spend the majority of time afterward figuring out the ways that it interpreted my ask differently than I expected.

        As humans we have a lot of flexibility, especially when we mind meld with someone. We can say "you know?" and they will say "yah!". But with agents, they all are looking for decisive clarity and actionable directions.

    4. Absolutely. But at the same time I also need to be productive while not wanting to make readers endure sloppy text. Especially as non-native English speaker it can be a challenge to think of the right words. For me this is more intended towards routine writing chores like release notes etc.
    5. Maybe, but I'm attempting to synthesize monumentally more text-sources than I, myself, have the wherewithall to consume organically. This process produces quite a lot of copy needing edits.

      It's simply not writing worth my time. Hopefully it will inspire future writing, but I can't now justify it.

  26. Can I annotate multiple things, before sending to LLM? Or do I have to send it after every single annotation / cr?
  27. Teaching AI aesthetic judgment is the hardest task I’ve faced in my math research. Iterating manually can take forever; AI needs an oracle.

    What I found works is this: Mimic the loose idea of “semantic embeddings” of meaning in a vector space, one of the foundational pillars of AI. Here, figure out hundreds of sensors to “measure” drawings I like, and plot those reference drawings in a vector space. Now, tell AI to draw like that point cloud. It can iterate quickly, I went one-shot from AI drawing garbage to AI drawing like me.

    I haven’t tried this for writing. In my experience writing is much easier than drawing, but I expect that this approach would work well for any aesthetic problem.

  28. Same itch here :) I usually rewrite most of what Claude writes because I hate Claudish language. So I built Callout (https://github.com/fasouto/callout) a Mac app where I mark up the text the same way a teacher corrects an essay: strike, replace, insert, comment...

    The marks go back to Claude Code as feedback, it's a bit different than this

    Demo gif -> https://raw.githubusercontent.com/fasouto/callout/main/docs/...

  29. I want to say I like it. But I've just read the readme, which I presume they tested it on?

    Assuming they did: while the specific phrasing is less annoying, the shape of the text is still unmistakably AI:

    > A draft runs on the agent of the session it came from: pi sessions continue on pi and Claude Code sessions on Claude Code. To draft Claude Code sessions on pi instead, converted from the transcript, set Backend to pi in Settings, globally or for one directory. For a single draft, ask the skill (/draftmux PR description, on pi) or pass --backend pi or --backend claude to draftmux open. A draft stays on the agent it was created with.

    > Errors and crash reports go to draftmux.log in ~/Library/Application Support/Draftmux on macOS, ~/.local/share/Draftmux on Linux and ~\.local\share\Draftmux on Windows. Once the log passes 1 MB, the app moves it to draftmux.log.1 on its next start.

    Even this paragraph:

    >Draftmux is an editor built for iterating on a message with an agent. Hand the message off from Claude Code or pi, and it opens next to a live preview of how it will look on GitHub, in Slack or wherever it's going. Edit it by hand, rewrite a selection with one click, or ask an agent forked from your session for changes in chat. When it's ready, tell your original agent it's done, and it uses the text exactly as you left it.

    The shape, density, paragraph length consistency: it all just reads like it was written by a good LLM, and people can feel that and will be tired by it. It's better but it's not good.

    The terrible truth of text is that if you want your readers to care about what you think, you have to write it the way you want them to read it.

    Replies (2)
    1. Maybe I lost it, but the quotes read… idk, just normal writing?

      Knowing it’s a LLM-produced text probably does a lot here.

      Replies (4)
      1. It's the density and uniformity of it, the lack of breaks and flow. More obvious in the context of the whole page.
        Replies (1)
        1. My theory is that semicolons/colons are the new emdash.
          Replies (1)
          1. I started using emdash's in my regular non ai writing to really confuse people.
      2. This is a dead giveaway:

        > Once the log passes 1 MB, the app moves it to draftmux.log.1 on its next start.

        I call these LLM lawn turds: documenting minutiae in inappropriate places. This could have been in the wiki, or even just a comment, but does not belong in the root README.

        Replies (1)
        1. Yeah — the density of these minutiae is made worse when an LLM repeats something else another LLM wrote, like from a bug report, and completely fails to understand that there's no value in it in that new context.
          Replies (1)
          1. that's what I wonder, this tool seems useful but if the "draftmux" agent does not have the whole context, it will not be able to make good edits, only propose other LLM-giberrish comments
            Replies (1)
            1. Right — I actually really want to like this effort but it seems like it's mostly window-dressing. I have tried getting the LLM to draft a good README I can edit, and it simply can't, because it has no lived experience of what it's like to be exhausted by crappy README files.

              Continue this thread (1 replies) →

      3. > A draft runs on the agent of the session it came from

        What does this even mean? What does it mean for a draft to "run on the agent"? Why is this explained through a three step long chain of indirection ("on the agent of the session it came from")?

      4. "A draft runs on the agent of the session it came from" is very AI-esque. Opus 5, in particular, assigns animate verbs to inanimate objects far more than humans do.

        Humans would probably write something like "Drafts are handled by the same agent that ran the session they came from" or "Each draft is run by its originating session's agent."

        Humans seem to have some intuition/experience on when to write densely and when it interferes with readability. Newer models are better but still not free of the tells.

        I enjoyed this paper[1] on the "tells".

        [1] https://arxiv.org/abs/2610.29162

    2. It is unmistakably Claude. Its idiosyncracies are RL etched into its being. It is very tedious to make it not write like this, instructions are ignored eventually, it always needs a followup pass to clean it up and even then things will slip.

      I hate the way Claude writes, more so than any other LLM. Perhaps part of it is reinforcement on my part, struggling with making it follow directions, but part of it is, in my opinion, that the writing is just bad, stilted, unnatural, subverting the reader’s expectations with idiosyncratic structure.

      I fear Claude is at the point of no return, arguably it is not worth risking worse scores in objective benchmarks in exchange for improvements on what is subjectively terrible writing.

  30. If you're in the United States, most community colleges tend to offer avenues for taking a handful of undergraduate courses, either through adjusted rates or by auditing.

    If you look at this app and decide you need it, it might be worth investigating the liberal arts offerings of your local community college instead.

    Replies (1)
    1. Thanks, dad
  31. while I understand people want better displayed harness output, I am sure everyone will eventually realize they can simply oneshot their ideal solution.

    customized workspace will (should) be incredibly personalized

  32. Love the idea behind this! Find myself spending way too many tokens on turns like 'tweak that one concept wherever its found in the doc' - Giving it a shot!
  33. I have a dedicated section in my CLAUDE.md that handles this. What's the point of having to hand-tune the results if you can get them right the first time?
  34. This is actually really cool that it's driven by the agent, almost like an extension. I would definitely use this. (also, wow, a tool on HN without a pricing page!)

    One of the downsides of current agents are they often don't have primitives to hand off certain text, like a permissions-extension's prompts, or an ask-tool. I currently have 4 extensions forked with local edits just so I can hook into external apps to improve my workflow.

  35. Feel like this can be really convenient
  36. 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.
  37. We've had GUIs for polishing text for 50+ years, kiddos.
  38. An interesting take.. but a lots of work when usually just a couple of prompts to tighten up what you're trying to say will do the trick.
  39. I am moving to increasingly never letting my coding agent write text -- I only have it write placeholder text and then I create a process whereby I can go through all of the text and write it myself.

    Hot take: I don't think we should have AI agents writing text at all, basically ever. We should focus on their ability to manipulate formal languages and leave behind all of the slop they produce in the "soft" domains (movies, music, pictures, text, poetry, etc.).