Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did you integrate Claude into your shell


I wrote my own tool for that a while back as an LLM plugin, so I can do this:

    llm cmd extract first frame of movie.mp4 as a jpeg using ffmpeg
I use that all the time, it works really well (defaulting to GPT-4o-mini because it's so cheap, but it works with Claude too): https://simonwillison.net/2024/Mar/26/llm-cmd/


I hacked something together a while back - a hotkey toggles between standard terminal mode and LLM mode. LLM mode interacts with Claude, and has functions / tool calls to run shell commands, python code, web search, clipboard, and a few other things. For routine data science tasks it's been super useful. Claude 3.7 was a big step forward because it will often examine files before it begins manipulating them and double-checks that things were done correctly afterwards (without prompting!). For me this works a lot better than other shell-integration solutions like Warp


Claude Code is available directly from Anthropic, but you have to request an invite as it's in "Research Preview"

There are third party tools that do the same, though




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: