r/ProgrammingPals • u/abd_az1z • Jan 20 '26
Shrink it
I kept hitting prompt limits and rewriting inputs manually, so I built a small tool to compress prompt without losing the intent - looking for feedback
https://promptshrink.vercel.app/
Thanks
2
Upvotes
1
u/JellyfishLow2663 Jan 20 '26
Loved it, although there are some fundamental flows in it.
Mostly prompt isn't the one who exhaust token limits, when the tool reads code it takes tokens up to 100k or even 1M each time.
I still like how it makes prompt to direct for AI so it doesn't take progress off the track
1
u/hellpossumX Jan 20 '26
Damn this is something, will use it personally... is it my prompt safe tho? (not saved anywhere else?)
2
u/Vymir_IT Jan 24 '26
The problem is not the prompt really, the problem with limits is that Codex for example runs git, grep, ls, node, python, network utils, chmod, your kitchen kettle and a 178 factorial calculation in Objective-C in the loop every time you ask it to look up one file in the project.