{"repo":"jianshuo/ccline","free":true,"listed":false,"github":"https://github.com/jianshuo/ccline","clone":"git clone https://github.com/jianshuo/ccline.git","description":"Type a thought at your zsh prompt, get an answer — and run the command it suggests","language":"Shell","stars":22,"topics":["ai","cli","command-line","llm","macos","productivity","shell","zsh","zsh-plugin","anthropic"],"license":"MIT","category":"cli-tools","readme_excerpt":"ccline Type a thought directly at your shell prompt — no command, no prefix — and get an answer. If the answer contains shell commands, confirm once and run them. The answer is rendered as Markdown (headings, bold, inline code, bullets, and colorized code blocks) when printed to a terminal. Why ccline? You're in the terminal and need to remember a command. Your options: - Leave the terminal to Google it, copy, paste back - Open a new Claude window, ask, copy, paste back - Open a new terminal tab, run claude -p \"...\" , copy With ccline: just type the question where you already are. The answer appears inline, and if there's a runnable command, one keypress executes it in your live shell — cd , export , history and all. How it works It hijacks zsh's command not found handler . When you type something that isn't a real command, zsh hands the whole line to ccline: - One word ( gti ) → treated as a normal typo: zsh: command not found: gti . - Two or more words → treated as a thought, sent to your LLM CLI. The answer is rendered as Markdown. Any runnable commands are shown in an arrow-key menu — ↑/↓ to move, Enter to run the highlighted command (or \"Run all of them\"), q to cancel. When stdout isn't a terminal (piped/redirected), it falls back to a typed prompt ( 1-N , a =all, Enter=none). It uses the claude CLI if installed (preferred), otherwise the codex CLI, then Pi's pi CLI. Force one with CCLINE BACKEND=claude , CCLINE BACKEND=codex , or CCLINE BACKEND=pi . Markdown rendering u","default_branch":null,"files":null,"tree":[],"storefront":"/r/jianshuo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jianshuo/ccline/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}