Minify AI prompts for vibe coders — spend less tokens, get sharper results.
PromptMinify is a Chrome extension built for vibe coders — people who write long, conversational AI prompts while coding. It strips the bloat, rewrites your prompts to be leaner, and saves you real money on API bills.
- ⚡ Auto-Minify — 8-stage local rewriter: removes fillers, disclaimers, redundancy, verbose phrases and duplicate sentences
- 🤖 AI Minify — Uses any LLM API key to intelligently compress prompts by 40–60%
- 🎨 Dual Themes — Premium Black/Silver (Classic) and Cyberpunk Neon (Cyber)
- 🖼 Image Prompt Builder — Craft optimized prompts for Midjourney, DALL·E 3, Stable Diffusion, Ideogram
- ✍ Caption Prompt Builder — Build social caption prompts for Instagram, X/Twitter, LinkedIn, YouTube
- 📊 Live Token Tracker — Real-time token counter injected on Claude, ChatGPT, Gemini, Perplexity
- 💰 Cost Estimator — Live cost breakdown for GPT-4o, Claude Sonnet, GPT-4o Mini, Claude Haiku
- 🎯 Custom API Usage Limit — Set your own token cap with red warning at 90% and 100%
- 📅 Daily Budget Meter — Track daily token usage with visual progress bar
- 🟢 Green / 🔴 Red Highlights — Green border when optimized, red when no changes made
- 📋 One-click Copy & Inject — Push optimized prompt directly into the active AI chat textarea
- ⭐ Custom Templates — Save your own vibe coding prompt templates
- Download or clone this repo
- Open
chrome://extensions/ - Enable Developer mode (toggle top-right)
- Click Load unpacked
- Select the
promptminify/folder - Pin the extension to your toolbar
git clone https://github.com/Drdhx/promptminify.gitpromptminify/
├── manifest.json # Chrome Extension Manifest v3
├── popup.html # Main popup UI (5 tabs)
├── popup.css # Premium dual-theme design system
├── popup.js # Core logic — rewriter, tracker, builders
├── content.js # Injected floating badge on AI pages
├── content.css # Floating badge styles
├── background.js # Service worker
├── options.html # Settings page
├── options.js # Settings logic
├── screenshots/ # README preview images
└── icons/
├── icon16.png
├── icon32.png
├── icon48.png
└── icon128.png
| AI Chat | Image Gen |
|---|---|
| claude.ai | midjourney.com |
| chatgpt.com | ideogram.ai |
| gemini.google.com | leonardo.ai |
| perplexity.ai | firefly.adobe.com |
| copilot.microsoft.com | |
| cursor.sh |
- Click the extension → ⚙ Settings
- Paste any LLM API key (Anthropic, OpenAI, etc.)
- Your key is stored locally only — never sent anywhere else
- Use the 🤖 AI Minify button to compress via AI
8-stage local rewriting engine:
| Stage | What it removes |
|---|---|
| 1 | Greeting/preamble openers |
| 2 | Verbose openers → direct imperatives |
| 3 | Apology/disclaimer sentences |
| 4 | Obvious code comments |
| 5 | Verbose phrases ("in order to" → "to") |
| 6 | Duplicate sentences |
| 7 | Excessive blank lines & trailing whitespace |
| 8 | Filler words (basically, actually, very, really) |
Classic — Premium black & silver. Refined typography, chrome gradients, subtle borders.
Cyber — Full cyberpunk. Orbitron font, animated neon glow, cyan/pink accents, scanline overlay.
Switch between them with the toggle button in the header — persists across sessions.
- Firefox support
- Context menu right-click optimize
- Prompt history with search
- Export stats as CSV
- Team shared templates
MIT © 2025 Dhanush D
Pull requests welcome! Open an issue for major changes first.
git checkout -b feature/your-feature
git commit -m "feat: add your feature"
git push origin feature/your-feature
⚡ PromptMinify — For Vibe Coders
Created by Dhanush D




