Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Clux – Simple session manager for Claude Code
1 point by zackham 8 days ago | hide | past | favorite | discuss
I juggle 5-6 Claude Code projects and kept losing context when switching between them or when a terminal died. Built clux to fix that.

It wraps tmux to give you named, directory-scoped sessions with automatic context restoration via `claude --resume`. Start with `clux new api`, detach whenever, `clux attach api` later. Survives terminal crashes, reboots, whatever.

Has a TUI for browsing sessions and a streaming API (`clux prompt api "run the tests" --json`) that outputs NDJSON in real-time. I use it to control sessions from a Telegram bot.

Python, ~2k lines. Only needs tmux and the Claude CLI.

https://github.com/zackham/clux





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

Search: