Skip to content
All projects
2026The prompt amplifier — your keys, any site

PromptAmp

A browser extension that turns a rough draft into an engineered prompt inside any text field on any site — with your own API key. The result appears next to your original, nothing is replaced until you accept, and pasted code comes back byte-for-byte. Live on Firefox Add-ons.

Gallery

The problem

Everyone types half-formed requests into AI tools and gets mediocre results — prompt-engineering advice lives in blog posts nobody applies mid-task. PromptAmp moves that skill into the text field itself: one tap turns the rough thought into a precise, structured prompt, in place, in whatever language you wrote it — and if the draft contains code or a log, that content is reproduced exactly; only the ask gets engineered.

My role

Built it end-to-end in TypeScript on WXT — the five-tier insertion ladder, the BYOK provider layer with its failover chain and PKCE OAuth, the popup/options UI, and the Vitest + Playwright suites that drive the built extension in a real browser.

How it works

  1. 01Rough draft
  2. 02✦ button
  3. 03Your provider chain
  4. 04Side-by-side review
  5. 05Accept
  6. 06Insert into page

Engineering highlights

Works in any text field

Injecting text into other sites is the genuinely hard part — modern editors like the ones ChatGPT and Notion use silently reject it. PromptAmp's insertion engine has five strategies and tries the ones that suit each kind of editor, best first. Each writes the way real typing does, so the page's editor keeps working and, where it can, your Ctrl+Z too — and it checks the text actually landed, rolling the field back if it didn't.

Your keys, eight providers

Strictly bring-your-own-key: OpenAI, Anthropic, Gemini, Groq, OpenRouter via one-click OAuth, local Ollama / LM Studio, or any OpenAI-compatible endpoint. The list order is a failover chain — a bad key or exhausted quota falls through to the next provider; a model's refusal deliberately doesn't.

Keeps what you paste

Pasted code, logs, and documents are reproduced byte-for-byte; only the rough request around them is engineered. Write the draft in any language and the prompt comes back in that language — or pick any output language you like, so a Persian draft can become a polished English prompt.

Private by construction

No backend, no telemetry, no accounts. Keys live in storage.local (never sync), host permissions cover exactly the providers you use, and a soft spend cap warns before a runaway bill.

Outcomes

  • Published on Firefox Add-ons (AMO), with Chrome and Edge builds shipping from the same WXT codebase.
  • Turns 'make it faster and add validation' into a structured, precise prompt with one tap — without your pasted code coming back changed.