English | 日本語
Prompt Line is a macOS app developed to improve the prompt input experience in the terminal for CLI-based AI coding agents such as Claude Code, Gemini CLI, OpenAI Codex CLI, and Aider. It addresses UX challenges related to CJK (Chinese, Japanese, Korean) character input by providing a dedicated floating input interface. It also features context search and autocomplete with / and @.
This greatly reduces stress when entering text in the following cases in particular.
- Prompt input for CLI-based AI coding agents in the terminal
- Chat apps where pressing Enter sends the message at an unintended time
- Text editor with slow input response (e.g., large Confluence documents)
Quick launch with shortcut (Cmd+Shift+Space).
Type text and quick paste (Cmd+Enter).

The operation is the same as a typical text editor.
Of course, you can also use it in combination with a voice input app.
Pressing Enter will not automatically send the text, so you don't have to worry about line breaks.
It is also ideal for editing text entered by voice.
(This video uses superwhisper.)

Prompt history is saved and can be reused from the right menu.
Search is also available. (Cmd+f)

Can be launched anywhere there's a text input field.
Also convenient when you want to reuse the same prompt in other apps.

Of course, it also works with apps other than Terminal.

Type / or @ to search and autocomplete contexts such as Agent Skills, Built-in Commands, files, and symbols.
These can be customized in the settings file (~/.prompt-line/settings.yml). See: settings.example.yml
Agent Skills and Built-in Commands |
File and Directory Search |
Symbol Search |
Subagents Search (~/.claude/agents) |
Plans Search (~/.claude/plans) |
Agent Teams Search (~/.claude/teams) |
- macOS 10.14 or later
- Node.js 20 or later
- Xcode Command Line Tools or Xcode (for compiling native tools)
Install fd and rg (ripgrep) commands. Used for file search and symbol search features. Skip if already installed.
brew install fd ripgrep-
Clone the repository:
git clone https://github.com/nkmr-jp/prompt-line.git cd prompt-lineTo build a specific version:
git clone https://github.com/nkmr-jp/prompt-line.git cd prompt-line git checkout v0.x.x # Replace with desired version tag
-
Install dependencies:
pnpm install
-
Build the application:
pnpm run build
-
The built app will be created in the
dist/directory -
Open the dmg file:
open dist/Prompt-Line-0.x.x-arm64.dmg # Apple Silicon open dist/Prompt-Line-0.x.x-x64.dmg # Intel
-
Drag Prompt Line.app to Applications folder
-
Launch Prompt Line. An icon will appear in the system tray.
- You can start using it with
Cmd+Shift+Space.
Prompt Line requires accessibility permissions to paste text into other applications. A dialog box will appear on first use, so follow the instructions to set it up.
- Open System Settings → Privacy and Security → Accessibility.
- Find “Prompt Line” in the list and enable it.
- If it is not in the list, add Prompt Line from Applications using the “+” button.
- Open System Settings → Privacy and Security → Accessibility
- Delete “Prompt Line” from Applications using the “-” button to reset permissions
- The issue should be resolved after reconfiguring settings.
Accessibility permissions can also be reset using the following command:
pnpm run reset-accessibilityIf you already have an older version installed and want to update to the latest version, follow these steps.
- Run the
pnpm run reset-accessibilitycommand to reset the accessibility permissions in the “Prompt Line.” - Refer to the “📦 Installation” section and reinstall
- Run
pnpm run migrate-settingsto migrate your settings to the latest defaults (existing settings are automatically backed up) - Run
pnpm run update-built-in-commandsto update built-in commands to the latest version
- Move to where you want to input
- Press
Cmd+Shift+Spaceto open Prompt Line - Type your text
- Press
Cmd+Enterto paste text - Continue working
- History Panel - Click previous entries to reuse. Search is also available. (
Cmd+f) - Draft Autosave - Automatically saves your work
- Image Support - Paste clipboard images with
Cmd+V - File Opener - Open files from file path text (
Ctrl+EnterorCmd+Click) - File Search - Search files by typing
@ - Symbol Search - Search code symbols by typing
@<lang>:<query>(e.g.,@ts:Config) - Custom Search - Search Slash Commands and Agent Skills by typing
/, or search sub-agents by typing@
You can customize Prompt Line's behavior by creating a settings file at ~/.prompt-line/settings.yml.
For the full configuration example with all available options and comments, see: settings.example.yml
| Section | Description |
|---|---|
shortcuts |
Keyboard shortcuts (main, paste, close, history navigation, search) |
window |
Window size and positioning mode |
fileOpener |
Default editor and extension-specific applications |
builtInCommands |
Built-in slash commands to enable (claude, codex, gemini, etc.) |
agentSkills |
Agent Skills search functionality |
mentions.customSearch |
Custom search triggered by @prefix: |
mentions.fileSearch |
File search settings (@path/to/file completion) |
mentions.symbolSearch |
Symbol search settings (@ts:Config, @go:Handler) |
- All data stored locally on your Mac
- No internet connection required
- Prompt history saved in
~/.prompt-line/history.jsonl - Saved in JSON Lines format, so you can analyze it using DuckDB
See Contribution Guide for details.
MIT License - see LICENSE for details.








