prompt-line

作者 nkmr-jp已验证

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, Codex CLI, and Gemini CLI.

147
Stars
15
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/nkmr-jp/prompt-line

快速入门

使用 prompt-line 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

🧑‍💻 Prompt Line

Ask DeepWiki

English | 日本語

Overview

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, Codex CLI, and Gemini CLI. It provides a comfortable input experience through a floating window.

Key capabilities:

  1. Quick input, quick paste — Floating window with Cmd+Shift+Space, paste anywhere with Cmd+Enter
  2. Context search — Search agent skills, files, symbols, and more with / and @, with prompt history reuse
  3. Extensible via plugins — Add custom search and skills with simple YAML files (Plugin Guide)

Features

Quick Launch, Quick Paste

Quick launch with shortcut (Cmd+Shift+Space).
Type text and quick paste (Cmd+Enter). doc1.gif

Perfect for Editing Voice-Inputted Text

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.) doc2.gif

Search and Reuse Prompt History

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

Launch Anywhere

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

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

Context Search and Autocomplete

Type / or @ to search and autocomplete contexts such as agent skills, built-in commands, files, and symbols.
These can be extended with plugins. See: Plugin Guide | prompt-line-plugins

Agent Skills and Built-in Commands File and Directory Search
Symbol Search Custom Search (@agent:, @plan:, @team:, etc.)

📦 Installation

System Requirements

  • macOS 10.14 or later
  • Node.js 20 or later
  • pnpm
  • Xcode Command Line Tools or Xcode (for compiling native tools)
  • fd and rg (ripgrep) (for file search and symbol search features)

Prompt Line Installation

git clone https://github.com/nkmr-jp/prompt-line.git
cd prompt-line
git checkout v0.x.x  # Optional: replace with desired version tag
pnpm install
pnpm run install-app    # Build and install to /Applications (includes code signing setup)

Launch Prompt Line. An icon will appear in the system tray.

You can start using it with Cmd+Shift+Space.

Accessibility Permissions

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.

Troubleshooting

If the accessibility permissions dialog box does not appear

  1. Open System SettingsPrivacy and SecurityAccessibility.
  2. Find “Prompt Line” in the list and enable it.
  3. If it is not in the list, add Prompt Line from Applications using the “+” button.

If “Prompt Line” is enabled in Accessibility Permissions but you still cannot paste

  1. Open System SettingsPrivacy and SecurityAccessibility
  2. Delete “Prompt Line” from Applications using the “-” button to reset permissions
  3. The issue should be resolved after reconfiguring settings.

Accessibility permissions can also be reset using the following command:

pnpm run reset-accessibility

📦 Update

If you already have an older version installed and want to update to the latest version:

git pull
pnpm install
pnpm run install-app
pnpm run migrate-settings        # Migrate settings to latest defaults (auto-backup)

Usage

Basic Workflow

  1. Move to where you want to input
  2. Press Cmd+Shift+Space to open Prompt Line
  3. Type your text
  4. Press Cmd+Enter to paste text
  5. Continue working

Features

  • 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+Enter or Cmd+Click)
  • File Search - Search files by typing @
  • Symbol Search - Search code symbols by typing @<lang>:<query> (e.g., @ts:Config)
  • Custom Search - Search agents, plans, teams, history, etc. by typing @prefix: (extensible with plugins)

⚙️ Settings

Settings file: ~/.prompt-line/settings.yaml (hot-reloaded, no restart needed)

See: Settings Reference | settings.example.yaml | Migration Guide

Per-App Directory Fallback

Prompt Line detects the working directory of the app you came from, so @ file search opens on the right project. Some apps have no directory to detect — browsers and other non-terminal apps. For those, ~/.prompt-line/app-directories.json pins one:

{
  "com.google.Chrome": "/Users/me/ghq/github.com/me/my-project"
}

A flat map of macOS bundle id to absolute path. Find an app's bundle id by bringing it to the front and running:

"/Applications/Prompt Line.app/Contents/Resources/app.asar.unpacked/dist/native-tools/window-detector" current-app
# {"bundleId":"com.google.Chrome","name":"Google Chrome"}

Auto-detection always wins. An entry only takes over on the launches where detection came back with nothing. For a terminal or an IDE that is normally never, so an entry there has no visible effect — but it will still step in on a launch where detection happens to time out, which can look like the directory jumping somewhere else at random. Keep entries to apps that have no directory to detect.

Note that whichever directory is used — detected or pinned — becomes the global last-used directory, so it is also what other apps fall back to when their own detection fails, and what {projectdir} expands to.

Set a value to "" to switch an entry off without removing the key. The file is re-read whenever it changes, so edits apply on the next launch of the input window.

🔌 Plugins

Plugins are YAML files that add agent skills (/), custom search (@prefix:), and built-in commands/skills/agents for CLI tools.

Quickest way: Place a YAML file in ~/.prompt-line/agent-skills/, ~/.prompt-line/custom-search/, or ~/.prompt-line/agent-built-in/ — no GitHub repo needed.

Share via GitHub: Install plugins from repositories:

# Global CLI setup (run once in the prompt-line project directory)
pnpm add -g .

# Install plugins
prompt-line-plugin install github.com/nkmr-jp/prompt-line-plugins
prompt-line-plugin install github.com/user/repo@branch   # specific version

Details: docs/en/plugins.md
Example repo: prompt-line-plugins

Prompt History

  • 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

doc8.png

Contributing

See Contribution Guide for details.

License

MIT License - see LICENSE for details.

常见问题

What is prompt-line?

prompt-line is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nkmr-jp. 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, Codex CLI, and Gemini CLI. It has 147 GitHub stars.

Is prompt-line safe to use?

Yes. prompt-line passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install prompt-line?

Clone the repository with "git clone https://github.com/nkmr-jp/prompt-line" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is prompt-line written in?

prompt-line is primarily written in TypeScript. It is open-source under nkmr-jp on GitHub, so you can review or fork the full source.

Are there alternatives to prompt-line?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh prompt-line against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情