3 ms·
Show HN: PrePrompt – rewrites vague prompts before they reach the LLM
- yashdeeptehlan 5mo agoHey HN, I'm Yashdeep — I built PrePrompt because I kept writing vague prompts and spending 3-4 turns correcting the model. I wanted something that fixed that automatically without changing my workflow. The classifier runs pure heuristics in <1ms — no API call. It only fires Haiku when a prompt scores above 38. Simple questions like "what is jwt" get a score of -5 and pass through untouched. The most interesting part: it learns your stack over time. After 50 prompts it knows you use FastAPI, prefer typed code, etc. and injects that into every optimization without being told. Happy to answer questions about the MCP hook architecture or the classifier scoring.
- Atotalnoob 5mo agoSo this is useable with a Claude subscription?
- yashdeeptehlan 5mo agoyes it is. it only requires your API credentials. everything stays local.
- hibouaile 5mo ago[dead]
- gin_dev 5mo agoHi! The idea sounds interesting, this is kind of regular process. But my question would be - normally I do clarifications within dialog mode, asking AI to add needed details and correcting it to proper direction. Sometimes AI prompt extension goes wrong direction, thus I would avoid automatic use for me. But it might be most interesting for me as an automatic calculation of "vagueness" and in this case automatically to switch to that dialog clarification mode.
- yashdeeptehlan 5mo agoIt is not an extension. It learns your chat context and lives on your local machine. Dialog clarification mode feature is going to be added in the next phase of development. thank you for the suggestion.
- potter098 5mo ago[flagged]
- yashdeeptehlan 5mo agoCurrently it dosen't track accept/reject yet but it's the right metric and i am adding it. Thank you for your deep insight.
- yashdeeptehlan 5mo agoWe don't track accept/reject yet but I just shipped preprompt-feedback in v0.1.2 that lets users rate optimizations.
- wunderlotus 5mo agoi like the design you used for the site. CC inspired but still nice and clean.
- yashdeeptehlan 5mo agoThank you. i appreciate your compliment.