RewriteCmd is a grammar checker tool that rewrites any selected text on your Mac with one keyboard shortcut. A macOS menu bar app that rewrites selected text in any application when you press a hotkey. It uses your own Claude, OpenAI or Mistral API key, stores it in the Keychain, and offers preset plus custom instructions with assignable shortcuts.
RewriteCmd is a macOS menu bar utility that sends selected text to an AI model and swaps the rewritten version back in place. The premise is narrow and deliberate: rather than opening a chat window, pasting text, waiting for a reply and copying the result back, the user highlights text in whatever app is already open and presses a hotkey. The improved text replaces the selection within seconds, so the writing stays in the document where it belongs.
The tool is built for people who write inside other applications all day: email clients, Slack, Notion and code editors are all named as working targets. Behaviour is controlled through instructions. Presets cover autocorrect, formal, casual, shorter and longer output, and users can author their own prompts such as translate to English or convert to bullet points, then attach a global hotkey to each one. The free tier allows a single custom instruction shortcut; the Pro tier removes that cap and unlocks custom tones and styles.
Architecture is bring-your-own-key. Connecting Claude, OpenAI or Mistral requires an API key, and that key is kept in the macOS Keychain with system level encryption rather than written to disk. The developer states there is no middleman proxy and no data storage on their side, which also means the running cost of usage is billed by the model provider, not by RewriteCmd. The app itself is native Swift with no dependencies, has no dock icon and targets macOS Ventura (13) and later on both Apple Silicon and Intel machines.
Among rewriting tools, RewriteCmd trades breadth for speed of access. It is not a long-form drafting environment or a grammar dashboard; it is a system wide correction layer that happens to also handle tone shifts and translation. Anyone already paying for an OpenAI or Anthropic key gets a cheaper route than most subscription rewriters, provided they are willing to manage that key and accept macOS only availability.