ccline: AI at the zsh prompt — for developers who work with LLM APIs #3388
Closed
jianshuo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey OpenAI SDK community! 🤖
If you work with the OpenAI Python SDK, you understand how AI APIs can power useful tools. I built a shell tool using Claude's API that I think you'd find interesting.
It's ccline — natural language at the zsh prompt.
What it does
ccline hijacks zsh's
command_not_found_handler. Type something that isn't a real command — English, a question, an intention — and it calls the Claude API and renders the Markdown answer right in your terminal. Press Enter to run suggested commands.The same way you use LLM APIs to build products — I used them to build a personal terminal assistant. Might give you ideas.
Install
curl -fsSL https://raw.githubusercontent.com/jianshuo/ccline/main/install.sh | bashRequires
ANTHROPIC_API_KEY(uses Claude).→ https://github.com/jianshuo/ccline
Beta Was this translation helpful? Give feedback.
All reactions