Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by Cidan

1 month ago

You don't really need to tmux at all for Claude Code CLI. Claude Code CLI supports streaming json input, and streaming json output; you can use stdin/out as a pipe to control Claude Code CLI.

I'm doing this today in https://github.com/Cidan/ask -- works great.

2 comments

Cidan

Reply

skapadia  1 month ago

This is awesome. Thank you for pointing out streaming JSON input and output, I'll definitely be taking a look at that.

tber123  1 month ago

[dead]

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities