shrinkprompt

Created by team Hack Haven on July 10, 2026
Unicorn Track

hrome Manifest V3 extension that shortens AI prompts on ChatGPT, Claude.ai, and Gemini — local regex fluff removal plus optional semantic compression via a containerized companion (Fireworks Gemma) or local Ollama. AMD Developer Hackathon Act II — Track 3 (Unicorn) hybrid product: extension + Docker/Podman companion. See SUBMISSION.md for the judge demo script. Repo folder may be named shrinkprompt; product name is BrevityPrompt. Load the folder that contains manifest.json. Version: 1.1.0 How shortening works User enables extension in popup. On Enter/Send, content script synchronously preventDefault / stopImmediatePropagation so the host app does not send first. Background applies enabled regex patterns (cleanPrompt). If length ≥ threshold and remote options on → Ollama and/or companion run concurrently. Modal appears instantly with regex result; if semantic arrives within 3s, modal live-upgrades. Modal: Send Shortened | Edit in Composer | Send Original | Cancel.

Category tags: