Raycast extension for rewriting rough drafts with Raycast AI or your own provider API key.
It is built for a fast keyboard-first flow:
Main command for rewriting text.
Features:
Separate command for browsing previous generations.
Features:
Presets are named saved configurations, not Raycast drafts.
Each preset stores:
How it works:
No Preset to work with custom settingsCmd+S to save the current settings as a new presetCmd+Shift+Backspace to delete the selected presetIf you manually change preset-controlled fields after applying a preset, the UI switches back to No Preset. Existing presets without a provider or provider model use the current extension preference defaults.
When no preset is selected, the extension remembers the last used settings for:
The draft text itself is not remembered.
Use Cmd+Shift+R in the main command to clear remembered settings and return to your extension preference defaults.
The extension includes global defaults in Raycast preferences:
Saved API keys remain in extension preferences and are never included in presets or history.
These are startup defaults only. They are separate from named presets.
Select a Generation Provider in the extension preferences. The default is OpenRouter. Add the matching API key in its password field. Pick the provider and model in the command; OpenRouter models load from its current catalog. You can also type any supported model ID. Preferences set the startup provider and model.
Default provider models:
openai/gpt-5-minigpt-5-miniclaude-sonnet-4-6gemini-2.5-flashDirect provider requests use your API key and your provider's billing or quota. The key is kept in Raycast's encrypted extension preferences; it is not saved with presets or history. The draft is sent to the selected provider when you generate text. Reopen the command after changing API key preferences.
Disable Save generated text to history in extension preferences if drafts and results should only remain in the current session. This does not delete existing history; use Enhancement History to clear old entries.
Select Raycast AI as the provider to use Raycast's Extension AI API and its model dropdown. This requires Raycast AI access.
Named Raycast models are provider-specific.
The default Automatic option uses Raycast's default AI model. If a selected model returns “No model found,” the extension retries once with Automatic and updates the selection. If Automatic also fails, check Raycast Settings > AI > Models & Providers and ensure a Raycast model is enabled. Local models cannot power Raycast's Extension AI API.
Examples:
Important:
Install dependencies:
npm install
Run in local Raycast development mode:
npm run dev
Validate the extension:
npm run lint
npm run build
The extension currently stores three kinds of data:
Older history stored in Raycast LocalStorage is moved to the encrypted file on first access. The encryption key remains in Raycast LocalStorage. If history saving is disabled, existing entries remain available until you clear them.
This keeps drafts and results out of a readable history file. Someone with access to both the history file and this extension's LocalStorage can still recover them.
Raycast form drafts are intentionally disabled.
The author field in package.json must match your Raycast username for publishing and validation.