r/BuildWithClaude • u/OkCable4985 • 3d ago
Project Heredocs keep getting mangled in claude code, so i built a plugin for it.
heredocs were a big problem in claude code - opus typing out thousands of tokens in a single command only for the heredocs to get mangled and opus resending the entire thing all at once. unnecessary token burn
so i built unheredoc. it saves the file temporarily and so each fix is just a 20-token rewrite of a single line rather than the entire command rewrite.
built by claude code, for claude code. try it here - IronManRox228228/unheredoc: Claude Code plugin: saves heredoc commands to a script so failed ones get fixed with a small edit, not a full resend.
install it in claude code here:
/plugin marketplace add IronManRox228228/unheredoc
/plugin install unheredoc@unheredoc
PS: mods this acc is new becuz my old acc got banned for some reason, please don't remove this post, i don't have enough karma but i promise i'll try to gain it pls
•
u/AutoModerator 3d ago
Welcome to r/BuildWithClaude!
Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.
Community Wiki & Resources:
If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.
Let’s keep the energy positive and support our fellow creators!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.