A macOS menu-bar app that rewrites any selected text into an optimized prompt from a global hotkey, learning from what you accept.
Overview
Prompt Optimizer is a native macOS utility that turns rough text into a well-engineered prompt without leaving the app you're in. Select text anywhere, press ⌥Space, and a floating panel returns two rewrites generated against a chosen profile: Concise, Creative, Technical, or custom. Accepted rewrites feed an on-device learning engine that replays them as few-shot examples on the next call, so suggestions track your style over time. A Hub window manages a local library of saved prompts, parameterized templates, and settings. Everything runs locally: the only network traffic is one encrypted call to the configured model provider, with the API key held in the Keychain and no telemetry.
Highlights
Stack & tools
Demo
Open full size ↗Architecture
A capture → rewrite → learn loop runs entirely on the user's machine, with a single encrypted call to the model provider per rewrite. Selected text is grabbed through a dual clipboard and Accessibility path, a prompt builder assembles the system prompt from the active profile plus learned examples, and accepted rewrites feed back as few-shot context for the next call.