SIDE PANEL · CHROME / EDGE / BRAVE / FIREFOX

Turn scattered notes into prompts with roles, constraints, and {{variables}}.

PromptOptimizer lives in your browser sidebar. Dictate or type a draft, pick a strategy, and the gateway returns a structured system prompt: role framing, numbered steps, guardrails, and detected variables. Test it right now below or in the sandbox!

Live interactive demo · Powered by Cloudflare Workers AI

WORKFLOW

Draft, refine, ship

⌘↵ runs optimization · Esc closes dialogs

01

Draft or dictate

Write into the buffer or speak aloud. Choose from 5 structured presets: Reasoning, Code, Direct, JSON, or System Persona.

02

Refine on the edge

Pressing ⌘↵ sends your draft to Cloudflare Workers AI running Llama 3.3 70B, which returns structured sections and detected variables.

03

Test and save

Fill out {{variables}} in the sandbox to verify model response. Copy the output or persist it locally with search tags.

SPEC

What is in the build

vanilla ES modules · zero UI framework

STRATEGIES

Five presets: Reasoning, Code, Direct, JSON, System Persona. Each injects a different directive into the system message before your draft.

DICTATION

Web Speech API streams the live transcript into the buffer as you speak. Recorded audio routes through Whisper at the gateway when native recognition is unavailable.

PREVIEW

Markdown renderer with headings, fenced code, tables, and {{variable}} pills. Raw toggle shows monospace source. Input is entity-escaped before parsing.

LIBRARY

Saved prompts with category filters, search, and tags. Ships with starter templates. Full JSON export and import for backups or sharing.

SANDBOX

Populate variables and execute the finished prompt against /api/test before you reuse it. Response renders in preview or raw mode.

LIMITS

15 requests / minute and 100 / day per IP, enforced in the worker with 429 and Retry-After. Quota counter shows in the top bar.

STORAGE

chrome.storage.local, browser.storage.local, or localStorage fallback. Nothing leaves the browser except the prompt text sent to the gateway.

DIRECT DOWNLOAD & INSTALL

Release v1.0.0

Signed zero-dependency packages hosted on Cloudflare Pages

CHROME · EDGE · BRAVE · OPERA

Chromium build

Download for Chrome (.zip)
  1. Download and extract the zip archive.
  2. Open chrome://extensions and turn on Developer mode.
  3. Click Load unpacked and choose the extracted folder.
  4. Open PromptOptimizer from your extensions menu or side panel.

FIREFOX 115+

Firefox build

Download for Firefox (.zip)
  1. Download and extract the zip archive.
  2. Navigate to about:debugging#/runtime/this-firefox.
  3. Click Load Temporary Add-on… and select manifest.json.
  4. Click the PromptOptimizer icon in the browser toolbar to open.

Engineered for developers & AI practitioners.

Zero login. Zero API key setup. 100 free prompt engineering refinements every day.