Download RewriteBar
brew install --cask rewritebar or download directly. The app includes a guided onboarding flow to get you set up quickly.25 MB • Intel & Apple Silicon • macOS 13.0+ (Ventura)

Or let your agent set it up
Paste this prompt into Claude Code, Codex, or any coding agent on your Mac. The agent installs RewriteBar and walks you through permissions, license, and AI provider.
Help me set up RewriteBar on my Mac. Follow the instructions at https://rewritebar.com/install.md and ask me before each step that needs my input.Read the full prompt
# Install RewriteBar with an AI agent These instructions are for an AI coding agent (Claude Code, Codex, Cursor, or similar) that helps a user install RewriteBar on their Mac. RewriteBar is a macOS menu bar app. The user selects text in any app, triggers RewriteBar, and an AI model rewrites, fixes, or translates the text in place. ## Rules for the agent - Ask the user before you download anything, install anything, or run a command with `sudo`. - Never ask for, read, store, or type API keys or license keys. The user enters them in the RewriteBar app. If the user pastes a key into the chat, tell them to remove it and enter it in the app instead. - Some steps only work in the macOS GUI. Explain what the user needs to click, hand over, and wait until the user confirms before you continue. - Run one step at a time and report the result in a sentence. - If a step fails, show the error and link to the documentation: https://rewritebar.com/docs ## 1. Check the Mac RewriteBar needs macOS 13 (Ventura) or newer. It runs on Apple Silicon and Intel Macs. ```bash sw_vers -productVersion uname -m ``` - If the macOS version is below 13, stop and tell the user that RewriteBar needs macOS 13 or newer. - `arm64` means Apple Silicon, `x86_64` means Intel. Both are supported by the same download. If RewriteBar is already installed, skip to step 3: ```bash ls -d /Applications/RewriteBar.app 2>/dev/null ``` ## 2. Install RewriteBar ### With Homebrew (recommended) Check for Homebrew: ```bash command -v brew ``` If Homebrew is available, ask the user, then run: ```bash brew install --cask rewritebar ``` ### Direct download Use this path if Homebrew is missing and the user does not want to install it. Do not install Homebrew without asking. The latest version number is published at https://rewritebar.com/app/version.json. The download URL follows the pattern `https://rewritebar.com/download/v<version>.zip`. After the user agrees, run: ```bash VERSION=$(curl -fsSL https://rewritebar.com/app/version.json | sed -n 's/.*"version": *"\([^"]*\)".*/\1/p') curl -fL -o "/tmp/RewriteBar-$VERSION.zip" "https://rewritebar.com/download/v$VERSION.zip" ditto -x -k "/tmp/RewriteBar-$VERSION.zip" /tmp/RewriteBar-install mv /tmp/RewriteBar-install/RewriteBar.app /Applications/ ``` If any of these commands fails, send the user to https://rewritebar.com/download. The user downloads the zip there, opens it, and drags RewriteBar into the Applications folder. ## 3. Launch RewriteBar ```bash open -a RewriteBar ``` RewriteBar appears in the menu bar and starts a guided onboarding on first launch. Tell the user the onboarding window is open and that you will guide them through it. ## 4. Grant Accessibility permission RewriteBar needs Accessibility access to read and replace selected text in other apps. Only the user can grant it. Open the right System Settings pane: ```bash open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility" ``` Tell the user: 1. Find RewriteBar in the list and turn the switch on. 2. Confirm with Touch ID or the Mac password if macOS asks. 3. Restart RewriteBar if macOS asks. Wait until the user confirms that the switch is on. Then continue. ## 5. Activate a license The user enters the license key in the RewriteBar onboarding or later in RewriteBar Settings → License. Do not ask for the key. - If the user has no license yet, they can request a free trial license at https://rewritebar.com/request-free-license. The key arrives by email. - If the user lost their key, they can recover it at https://rewritebar.com/license-recovery. Wait until the user confirms that the license shows as activated. ## 6. Choose an AI provider RewriteBar needs an AI model to process text. The user configures the provider in RewriteBar Settings → AI Providers. Explain the three options and let the user choose: - **RewriteBar Gateway**: hosted models that work with the RewriteBar license. No extra account or API key needed. The trial includes credits. - **Own API key**: the user connects their own account at a provider such as OpenAI, Anthropic, Google Gemini, Groq, or OpenRouter. The user creates the key in the provider's console and pastes it into RewriteBar. The key never goes into the terminal or this chat. - **Local models**: models run on the Mac with Ollama, LM Studio, or oMLX. Text stays on the device and no API key is needed. If the user wants local models, check what is already available: ```bash command -v ollama && ollama list ls -d "/Applications/LM Studio.app" 2>/dev/null ``` - Ollama runs on port 11434 by default. If `ollama list` shows no models, suggest a small text model and ask before you run `ollama pull <model>`. - LM Studio needs its local server running. The user starts it in LM Studio and loads a model. Then the user selects the provider and model in RewriteBar and clicks to verify it. Provider guides: https://rewritebar.com/docs/ai-providers ## 7. Install command templates (optional) RewriteBar ships with built-in commands. The user can add more from the prompt library at https://rewritebar.com/prompts. Ask which ones the user wants. Each install opens a confirmation dialog in RewriteBar that the user accepts. ```bash open "rewritebar://install-command/<slug>" ``` Useful slugs: | Slug | What it does | | --- | --- | | `fix-grammar-spelling` | Fix grammar and spelling | | `improve-writing` | Improve clarity and flow | | `make-shorter` | Shorten the text | | `simplify-language` | Use simpler words | | `change-tone` | Change the tone | | `summarize` | Summarize the text | | `translate` | Translate the text | Only use slugs from this table or from a command page at https://rewritebar.com/prompts. The slug is the last part of the page URL. ## 8. Verify the setup Open the RewriteBar settings: ```bash open "rewritebar://settings" ``` Ask the user to check that the license is active, the AI provider is verified, and a trigger shortcut is set under Shortcuts. Then ask the user to run a first test: 1. Select a sentence in any app, for example Notes or Mail. 2. Press the RewriteBar shortcut or click the menu bar icon. 3. Run **Fix Grammar & Spelling** and apply the result. If the text changes, the setup is done. ## Troubleshooting - Nothing happens on the shortcut: check that RewriteBar is running and Accessibility is enabled. Turn the switch off and on again, then restart RewriteBar. - Provider errors: check the provider in Settings → AI Providers and verify it again. For local models, check that Ollama or the LM Studio server is running. - Everything else: https://rewritebar.com/docs/troubleshooting and https://rewritebar.com/docs
Quick Setup Guide
1. Install RewriteBar
You can install RewriteBar in two ways:
Homebrew
Install with a single command:
brew install --cask rewritebarDirect Download
Download the latest version and drag to Applications folder.

2. Complete Onboarding
After installation, RewriteBar will guide you through a quick onboarding process that includes:
Grant Accessibility
RewriteBar requires accessibility access to retrieve the text from the application you are working on.
Activate RewriteBar
Enter your license key. You should have received the license key by email (Free Trial or Purchased License).

3. Personalize RewriteBar
Complete these final configuration steps to get the most out of RewriteBar:
Check AI Provider settings
Verify your AI provider is configured correctly (applies to all plans)
Check installed Commands
Review pre-installed commands and create custom ones based on your workflow. Check the template for inspiration and install them directly in the app.
Configure Keyboard Shortcuts
Setup custom keyboard shortcuts to trigger RewriteBar when you need it.
Need more help? Visit our Documentation for detailed guides and tutorials.

Choose from 39+ Templates
Get Started With Templates
Ready-to-use AI prompt templates that can be easily installed and adjusted to your own needs. Save time and get better results with professionally crafted prompts.
Prompt Injection Guard
Harden prompts with input-safety and instruction-isolation rules to reduce prompt injection risk.
Remove AI Dashes and Smart Quotes
Replace long dashes, normalize smart quotes, and remove emojis while preserving meaning and formatting.
Fix JSON Errors
Repair invalid JSON by fixing common syntax issues while keeping the original data intact.
Create ASCII Art
Transform text descriptions into creative ASCII art representations. Converts ideas into text-based visual art.
Lowercase Text
Convert text to lowercase while preserving proper nouns, titles, and maintaining formatting and code elements.
TL;DR Summary
Extract key facts and create a concise summary with up to 7 bullet points and a one-liner, each with matching emojis.
Formal -> Personal
Transform text from formal/polite form to personal/informal form (e.g., German 'Sie' to 'Du', French 'vous' to 'tu').
Create User Story Title
Transform feature descriptions, requirements, or tasks into properly formatted user story titles following agile development standards.
Improve Prompt
Generate a ChatGPT prompt based on a topic, starting with 'I want you to act as', and expand the prompt to make it useful.
Title Case
Convert provided text to title case following copywriting best practices, keeping code and formatting unchanged.
Humanize Text
Rewrite AI-generated text to sound more human, using active voice, short sentences, and avoiding blacklisted words.
Improve Writing
Rephrase text to improve clarity and quality, fixing mistakes while keeping the original language and length. Returns improved text only.
Simplify Language
Simplify text to make it more concise and easier to understand, while keeping the original meaning and language.
Prompt Injection Guard
Harden prompts with input-safety and instruction-isolation rules to reduce prompt injection risk.
Remove AI Dashes and Smart Quotes
Replace long dashes, normalize smart quotes, and remove emojis while preserving meaning and formatting.
Fix JSON Errors
Repair invalid JSON by fixing common syntax issues while keeping the original data intact.
Create ASCII Art
Transform text descriptions into creative ASCII art representations. Converts ideas into text-based visual art.
Lowercase Text
Convert text to lowercase while preserving proper nouns, titles, and maintaining formatting and code elements.
TL;DR Summary
Extract key facts and create a concise summary with up to 7 bullet points and a one-liner, each with matching emojis.
Formal -> Personal
Transform text from formal/polite form to personal/informal form (e.g., German 'Sie' to 'Du', French 'vous' to 'tu').
Create User Story Title
Transform feature descriptions, requirements, or tasks into properly formatted user story titles following agile development standards.
Improve Prompt
Generate a ChatGPT prompt based on a topic, starting with 'I want you to act as', and expand the prompt to make it useful.
Title Case
Convert provided text to title case following copywriting best practices, keeping code and formatting unchanged.
Humanize Text
Rewrite AI-generated text to sound more human, using active voice, short sentences, and avoiding blacklisted words.
Improve Writing
Rephrase text to improve clarity and quality, fixing mistakes while keeping the original language and length. Returns improved text only.
Simplify Language
Simplify text to make it more concise and easier to understand, while keeping the original meaning and language.
Prompt Injection Guard
Harden prompts with input-safety and instruction-isolation rules to reduce prompt injection risk.
Remove AI Dashes and Smart Quotes
Replace long dashes, normalize smart quotes, and remove emojis while preserving meaning and formatting.
Fix JSON Errors
Repair invalid JSON by fixing common syntax issues while keeping the original data intact.
Create ASCII Art
Transform text descriptions into creative ASCII art representations. Converts ideas into text-based visual art.
Lowercase Text
Convert text to lowercase while preserving proper nouns, titles, and maintaining formatting and code elements.
TL;DR Summary
Extract key facts and create a concise summary with up to 7 bullet points and a one-liner, each with matching emojis.
Formal -> Personal
Transform text from formal/polite form to personal/informal form (e.g., German 'Sie' to 'Du', French 'vous' to 'tu').
Create User Story Title
Transform feature descriptions, requirements, or tasks into properly formatted user story titles following agile development standards.
Improve Prompt
Generate a ChatGPT prompt based on a topic, starting with 'I want you to act as', and expand the prompt to make it useful.
Title Case
Convert provided text to title case following copywriting best practices, keeping code and formatting unchanged.
Humanize Text
Rewrite AI-generated text to sound more human, using active voice, short sentences, and avoiding blacklisted words.
Improve Writing
Rephrase text to improve clarity and quality, fixing mistakes while keeping the original language and length. Returns improved text only.
Simplify Language
Simplify text to make it more concise and easier to understand, while keeping the original meaning and language.
Prompt Injection Guard
Harden prompts with input-safety and instruction-isolation rules to reduce prompt injection risk.
Remove AI Dashes and Smart Quotes
Replace long dashes, normalize smart quotes, and remove emojis while preserving meaning and formatting.
Fix JSON Errors
Repair invalid JSON by fixing common syntax issues while keeping the original data intact.
Create ASCII Art
Transform text descriptions into creative ASCII art representations. Converts ideas into text-based visual art.
Lowercase Text
Convert text to lowercase while preserving proper nouns, titles, and maintaining formatting and code elements.
TL;DR Summary
Extract key facts and create a concise summary with up to 7 bullet points and a one-liner, each with matching emojis.
Formal -> Personal
Transform text from formal/polite form to personal/informal form (e.g., German 'Sie' to 'Du', French 'vous' to 'tu').
Create User Story Title
Transform feature descriptions, requirements, or tasks into properly formatted user story titles following agile development standards.
Improve Prompt
Generate a ChatGPT prompt based on a topic, starting with 'I want you to act as', and expand the prompt to make it useful.
Title Case
Convert provided text to title case following copywriting best practices, keeping code and formatting unchanged.
Humanize Text
Rewrite AI-generated text to sound more human, using active voice, short sentences, and avoiding blacklisted words.
Improve Writing
Rephrase text to improve clarity and quality, fixing mistakes while keeping the original language and length. Returns improved text only.
Simplify Language
Simplify text to make it more concise and easier to understand, while keeping the original meaning and language.
Few-Shot Example Builder
Append high-quality few-shot examples to an existing prompt based on its role, task, and instructions.
Fill Missing Words
Fill missing words in text using context. Returns completed text only.
Convert JSON ↔ YAML
Convert JSON to YAML or YAML to JSON while preserving the same data structure.
Rewrite to a to-do
Rewrite a problem statement into one clear, concise, actionable to-do.
Create Lorem Ipsum Text
Generate placeholder text in various lengths and languages for testing applications, UI design, and layout purposes.
Pros and Cons Analysis
Analyze any topic or decision by creating a clear markdown list of advantages (pros) and disadvantages (cons).
Extract Action Items
Extract clear, actionable tasks from long text like meeting transcripts, Slack conversations, or brainstorming sessions.
Create an email
Transform any text or topic into a properly formatted, professional email with appropriate structure and tone.
Translate
Translate text to a specified language, keeping code elements unchanged and maintaining formatting.
Summarize
Summarize the provided text in 3-4 sentences, keeping language and meaning the same.
Make Longer
Expand the provided text by 20% with more details, keeping language and meaning the same.
As Emoji
Translate the provided text into emojis, keeping code and formatting unchanged.
Fix Grammar & Spelling
Analyze text for grammar, punctuation, spelling, and sentence structure. Provide corrections to make the text fluent and accurate, replying only with the corrected text in the same language.
Few-Shot Example Builder
Append high-quality few-shot examples to an existing prompt based on its role, task, and instructions.
Fill Missing Words
Fill missing words in text using context. Returns completed text only.
Convert JSON ↔ YAML
Convert JSON to YAML or YAML to JSON while preserving the same data structure.
Rewrite to a to-do
Rewrite a problem statement into one clear, concise, actionable to-do.
Create Lorem Ipsum Text
Generate placeholder text in various lengths and languages for testing applications, UI design, and layout purposes.
Pros and Cons Analysis
Analyze any topic or decision by creating a clear markdown list of advantages (pros) and disadvantages (cons).
Extract Action Items
Extract clear, actionable tasks from long text like meeting transcripts, Slack conversations, or brainstorming sessions.
Create an email
Transform any text or topic into a properly formatted, professional email with appropriate structure and tone.
Translate
Translate text to a specified language, keeping code elements unchanged and maintaining formatting.
Summarize
Summarize the provided text in 3-4 sentences, keeping language and meaning the same.
Make Longer
Expand the provided text by 20% with more details, keeping language and meaning the same.
As Emoji
Translate the provided text into emojis, keeping code and formatting unchanged.
Fix Grammar & Spelling
Analyze text for grammar, punctuation, spelling, and sentence structure. Provide corrections to make the text fluent and accurate, replying only with the corrected text in the same language.
Few-Shot Example Builder
Append high-quality few-shot examples to an existing prompt based on its role, task, and instructions.
Fill Missing Words
Fill missing words in text using context. Returns completed text only.
Convert JSON ↔ YAML
Convert JSON to YAML or YAML to JSON while preserving the same data structure.
Rewrite to a to-do
Rewrite a problem statement into one clear, concise, actionable to-do.
Create Lorem Ipsum Text
Generate placeholder text in various lengths and languages for testing applications, UI design, and layout purposes.
Pros and Cons Analysis
Analyze any topic or decision by creating a clear markdown list of advantages (pros) and disadvantages (cons).
Extract Action Items
Extract clear, actionable tasks from long text like meeting transcripts, Slack conversations, or brainstorming sessions.
Create an email
Transform any text or topic into a properly formatted, professional email with appropriate structure and tone.
Translate
Translate text to a specified language, keeping code elements unchanged and maintaining formatting.
Summarize
Summarize the provided text in 3-4 sentences, keeping language and meaning the same.
Make Longer
Expand the provided text by 20% with more details, keeping language and meaning the same.
As Emoji
Translate the provided text into emojis, keeping code and formatting unchanged.
Fix Grammar & Spelling
Analyze text for grammar, punctuation, spelling, and sentence structure. Provide corrections to make the text fluent and accurate, replying only with the corrected text in the same language.
Few-Shot Example Builder
Append high-quality few-shot examples to an existing prompt based on its role, task, and instructions.
Fill Missing Words
Fill missing words in text using context. Returns completed text only.
Convert JSON ↔ YAML
Convert JSON to YAML or YAML to JSON while preserving the same data structure.
Rewrite to a to-do
Rewrite a problem statement into one clear, concise, actionable to-do.
Create Lorem Ipsum Text
Generate placeholder text in various lengths and languages for testing applications, UI design, and layout purposes.
Pros and Cons Analysis
Analyze any topic or decision by creating a clear markdown list of advantages (pros) and disadvantages (cons).
Extract Action Items
Extract clear, actionable tasks from long text like meeting transcripts, Slack conversations, or brainstorming sessions.
Create an email
Transform any text or topic into a properly formatted, professional email with appropriate structure and tone.
Translate
Translate text to a specified language, keeping code elements unchanged and maintaining formatting.
Summarize
Summarize the provided text in 3-4 sentences, keeping language and meaning the same.
Make Longer
Expand the provided text by 20% with more details, keeping language and meaning the same.
As Emoji
Translate the provided text into emojis, keeping code and formatting unchanged.
Fix Grammar & Spelling
Analyze text for grammar, punctuation, spelling, and sentence structure. Provide corrections to make the text fluent and accurate, replying only with the corrected text in the same language.
Strengthen Prompt
Remove filler words, weak phrasing, and vague instructions to make prompts direct, specific, and actionable.
Format JSON
Format compact JSON into a readable structure with consistent indentation and line breaks.
SQL Formatter
Format unstructured SQL into clean, readable queries with consistent indentation and line breaks.
Format Transcribed Text
Format transcribed text into a readable and organized format.
BLUF (Bottom Line Up Front)
Transform any text into a clear, military-style BLUF format with key information first, followed by supporting details.
Personal -> Formal
Transform text from personal/informal form to formal/polite form (e.g., German 'Du' to 'Sie', French 'tu' to 'vous').
Translate to Yoda
Transform any text into Master Yoda's distinctive speaking style from Star Wars while preserving the original meaning.
Normal Case
Convert input text from Title Case to normal sentence case. Capitalize only the first word and proper nouns. Do not explain or comment.
Change Tone
Adjust the tone of the text to a specified style, keeping the language and meaning the same.
As Tweet
Write a tweet based on a provided topic, keeping it short and personal, and maintaining format and line breaks.
Generate Prompt
Generate a self-explanatory and appropriate prompt based on a provided title, following the given requirements.
Make Shorter
Shorten the provided text by removing unnecessary details, keeping language and meaning the same.
Explain This
Explain the provided text in a simple and clear way, keeping language and meaning the same.
Strengthen Prompt
Remove filler words, weak phrasing, and vague instructions to make prompts direct, specific, and actionable.
Format JSON
Format compact JSON into a readable structure with consistent indentation and line breaks.
SQL Formatter
Format unstructured SQL into clean, readable queries with consistent indentation and line breaks.
Format Transcribed Text
Format transcribed text into a readable and organized format.
BLUF (Bottom Line Up Front)
Transform any text into a clear, military-style BLUF format with key information first, followed by supporting details.
Personal -> Formal
Transform text from personal/informal form to formal/polite form (e.g., German 'Du' to 'Sie', French 'tu' to 'vous').
Translate to Yoda
Transform any text into Master Yoda's distinctive speaking style from Star Wars while preserving the original meaning.
Normal Case
Convert input text from Title Case to normal sentence case. Capitalize only the first word and proper nouns. Do not explain or comment.
Change Tone
Adjust the tone of the text to a specified style, keeping the language and meaning the same.
As Tweet
Write a tweet based on a provided topic, keeping it short and personal, and maintaining format and line breaks.
Generate Prompt
Generate a self-explanatory and appropriate prompt based on a provided title, following the given requirements.
Make Shorter
Shorten the provided text by removing unnecessary details, keeping language and meaning the same.
Explain This
Explain the provided text in a simple and clear way, keeping language and meaning the same.
Strengthen Prompt
Remove filler words, weak phrasing, and vague instructions to make prompts direct, specific, and actionable.
Format JSON
Format compact JSON into a readable structure with consistent indentation and line breaks.
SQL Formatter
Format unstructured SQL into clean, readable queries with consistent indentation and line breaks.
Format Transcribed Text
Format transcribed text into a readable and organized format.
BLUF (Bottom Line Up Front)
Transform any text into a clear, military-style BLUF format with key information first, followed by supporting details.
Personal -> Formal
Transform text from personal/informal form to formal/polite form (e.g., German 'Du' to 'Sie', French 'tu' to 'vous').
Translate to Yoda
Transform any text into Master Yoda's distinctive speaking style from Star Wars while preserving the original meaning.
Normal Case
Convert input text from Title Case to normal sentence case. Capitalize only the first word and proper nouns. Do not explain or comment.
Change Tone
Adjust the tone of the text to a specified style, keeping the language and meaning the same.
As Tweet
Write a tweet based on a provided topic, keeping it short and personal, and maintaining format and line breaks.
Generate Prompt
Generate a self-explanatory and appropriate prompt based on a provided title, following the given requirements.
Make Shorter
Shorten the provided text by removing unnecessary details, keeping language and meaning the same.
Explain This
Explain the provided text in a simple and clear way, keeping language and meaning the same.
Strengthen Prompt
Remove filler words, weak phrasing, and vague instructions to make prompts direct, specific, and actionable.
Format JSON
Format compact JSON into a readable structure with consistent indentation and line breaks.
SQL Formatter
Format unstructured SQL into clean, readable queries with consistent indentation and line breaks.
Format Transcribed Text
Format transcribed text into a readable and organized format.
BLUF (Bottom Line Up Front)
Transform any text into a clear, military-style BLUF format with key information first, followed by supporting details.
Personal -> Formal
Transform text from personal/informal form to formal/polite form (e.g., German 'Du' to 'Sie', French 'tu' to 'vous').
Translate to Yoda
Transform any text into Master Yoda's distinctive speaking style from Star Wars while preserving the original meaning.
Normal Case
Convert input text from Title Case to normal sentence case. Capitalize only the first word and proper nouns. Do not explain or comment.
Change Tone
Adjust the tone of the text to a specified style, keeping the language and meaning the same.
As Tweet
Write a tweet based on a provided topic, keeping it short and personal, and maintaining format and line breaks.
Generate Prompt
Generate a self-explanatory and appropriate prompt based on a provided title, following the given requirements.
Make Shorter
Shorten the provided text by removing unnecessary details, keeping language and meaning the same.
Explain This
Explain the provided text in a simple and clear way, keeping language and meaning the same.