0DF2F53D-BA40-45FC-98DE-A61F8B60729B.mp4
- About
- Features
- Supported Providers
- Supported AI Chat Sites
- Installation
- How It Works
- Templates
- Project Structure
- Contributing
- Privacy
- License
PromptCraft is a free, open-source Chrome extension that enhances your AI prompts with a single click. It works across 8+ AI chat platforms with support for multiple API providers and local models.
Write like a human. Get expert-level prompts. Every time.
| Feature | Description |
|---|---|
| One-Click Enhancement | Select text on any AI chat, hit Ctrl+Shift+E or click the button |
| 14+ Templates | Debug code, write emails, brainstorm, compare options, and more |
| 5 Tones + Custom Presets | Concise, Detailed, Creative, Technical, Reasoning — or build your own |
| Smart Input Analysis | Detects code, errors, quotes, URLs, and intent automatically |
| Deep Analysis | Optional LLM-powered pass for semantic understanding before enhancing |
| Word-Level Diff View | See exactly what changed with green/red highlighting |
| Multi-Step Enhancement | Three-pass pipeline: Expand → Structure → Polish |
| Provider-Aware | Tailors prompts to the specific AI you're chatting with |
| Prompt Scoring | 0-100 quality score across 5 dimensions |
| Streaming | Real-time token streaming for supported providers |
| Context-Aware | Extracts and ranks chat history by relevance |
| Prompt History | Search, revisit, and export with before/after scores |
| Usage Analytics | Track enhancements, cost, tokens, and model breakdown |
| Dark Mode | Full dark theme with system preference detection |
| Undo | Revert any enhancement instantly |
| Provider | Type | Models |
|---|---|---|
| OpenAI | Cloud API | GPT-4o, GPT-4o Mini, GPT-4 Turbo, o3-mini |
| Google Gemini | Cloud API | Gemini 2.0 Flash, 1.5 Flash, 1.5 Pro |
| Anthropic Claude | Cloud API | Claude Sonnet 4, Claude Haiku 4.5 |
| Ollama | Local | Any model — llama3, mistral, etc. (free) |
| Custom | Any | OpenAI-compatible APIs — Groq, Together, OpenRouter, vLLM |
New to this? We recommend starting with Google Gemini — it has a generous free tier and no credit card required. Get a key here.
| Platform | Status |
|---|---|
| ChatGPT | Supported |
| Claude | Supported |
| Gemini | Supported |
| DeepSeek | Supported |
| Perplexity | Supported |
| Grok | Supported |
| HuggingFace | Supported |
| OpenRouter | Supported |
Each platform gets tailored optimization hints — PromptCraft knows the strengths of each AI and adjusts accordingly.
git clone https://github.com/colingalbraith/PromptCraft.git- Open
chrome://extensions/ - Enable Developer mode (toggle in top right)
- Click Load unpacked
- Select the cloned
PromptCraftfolder
- Click the PromptCraft icon in your Chrome toolbar
- The onboarding wizard will guide you through picking a provider
- Paste your API key (or select Ollama for free local use)
- Click Get Started — you're ready to enhance
Tip: Gemini is the easiest way to start. Free API key, no credit card, takes 30 seconds.
1. Type your prompt → Don't worry about wording
2. Click the PromptCraft → Or press Ctrl+Shift+E
3. Prompt gets analyzed → Content type, intent, quality
4. Enhancement is generated → Streamed into your chat input
5. See the diff → Click "View changes" to compare
Your Input
│
▼
┌─────────────────┐
│ Local Analysis │ Segments content, detects intent, scores quality
└────────┬────────┘
│
▼
┌─────────────────┐
│ Deep Analysis │ (Optional) LLM-powered semantic understanding
└────────┬────────┘
│
▼
┌─────────────────┐
│ Template + Tone │ Applies style template with context + analysis hints
└────────┬────────┘
│
▼
┌─────────────────┐
│ Provider Call │ Sends to your configured AI provider
└────────┬────────┘
│
▼
┌─────────────────┐
│ Preamble Strip │ Removes any leaked commentary
└────────┬────────┘
│
▼
Enhanced Prompt → Streamed into your chat input
PromptCraft includes 14 built-in templates across 4 categories:
| Category | Templates |
|---|---|
| Coding | Debug Code, Review Code, Refactor Code, Write Tests |
| Writing | Summarize Text, Write Blog Post, Draft Email, Improve Writing, Translate |
| Research | Explain Concept, Compare X vs Y, Research Question |
| Creative | Brainstorm Ideas, Create a Plan |
Each template supports variable fields (fill in the blanks) and pairs with any tone for full customization.
PromptCraft/
├── manifest.json # Chrome extension manifest (v3)
├── background.js # Service worker — API gateway, streaming, provider routing
├── content.js # Content script — DOM injection, context extraction, diff view
├── constants.js # Config — system prompts, templates, models, platform hints
├── input-parser.js # Input analysis — segmentation, intent detection, scoring
├── popup.html # Extension popup UI
├── popup.js # Popup logic — settings, templates, history, usage analytics
├── popup.css # Styles with full dark mode support
├── panel.js # Floating panel injection for non-chat sites
├── icon.png # Main logo
├── icons/ # Extension icons (16, 48, 128px)
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
├── LICENSE # MIT License
├── CONTRIBUTING.md # Contribution guidelines
└── README.md # You are here
We welcome contributions! Please read our Contributing Guide for details on:
- How to set up the development environment
- Branch structure (
main,Development,website) - Code style guidelines
- Testing requirements
- How to submit a pull request
PromptCraft takes privacy seriously:
- No data collection — we don't collect, store, or transmit any personal information
- No tracking — no analytics, cookies, or telemetry
- No accounts — no sign-up required
- Local storage — API keys and history stay on your device
- Open source — inspect every line of code yourself
Read the full Privacy Policy.
MIT License. See LICENSE for details.


