lucastononro

Ccli Prompt — Development skill for Claude Code

Development community

Cursor's Cmd+K inline prompt, but for your zsh terminal.

How to install Ccli Prompt

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lucastononro/ccli-prompt and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ccli Prompt does

Cursor's Cmd+K inline prompt, but for your zsh terminal. Powered by Claude via a tiny persistent daemon.

Alternatives in Development

  • Katmer Code — Claude Code inside Obsidian — academic research skills, inline diff editing, MCP support 353 ★
  • Claude Code Skill — Persistent multi-engine coding session manager 326 ★
  • Bug Health Check — Execute the bug-health-inline skill for inline orchestration 172 ★

README

ccli-prompt

Cursor's **Cmd+K** inline prompt, but for your zsh terminal.

Press **Cmd+K** at your prompt, type what you want ("kill port 9090", "find files bigger than 100mb", "tar this folder"), hit Enter, and a ready-to-run shell command lands on your command line. Review it, Enter to run it.

Fast because there's no `claude` CLI boot per call: a tiny Python daemon runs in the background, holds one open HTTPS connection to `api.anthropic.com`, and reuses the OAuth token you already have from Claude Code (or a plain Anthropic API key). Typical latency: ~500 ms on warm connection + Haiku inference.

Install

pipx install ccli-prompt      # recommended (isolated venv)
# or: pip install ccli-prompt

ccli-prompt install           # runs the interactive wizard (auth + model pick)

The wizard:

  1. Authentication — auto-discover from Claude Code credentials, or paste a key (accepts both sk-ant-api03-... and sk-ant-oat01-...).
  2. Model — lists live models from /v1/models. Haiku 4.5 is the default.

Requirements: macOS or Linux, zsh 5.x+, Python 3.10+. The daemon has zero dependencies (stdlib only).

Trigger it

Two ways — pick either:

**Esc then K** — works immediately, no terminal config needed. Press `Esc`, then `K` (sequence, not chord).

**Cmd+K / Ctrl+K** — remap it in your terminal to send `ESC+k`:

Terminal How
iTerm2 Settings → Profiles → Keys → + · Shortcut ⌘K · Action Send Escape Sequence · Esc+: k
Terminal.app Settings → Profiles → Keyboard → + · + K · Send Text · Ctrl+V then Esc, then k
Ghostty keybind = cmd+k=text:\x1bk in ~/.config/ghostty/config
Warp Settings → Keyboard → bind ⌘K