Show HN: Clux – Simple session manager for Claude Code

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

1 points | by zackham 2 hours ago

0 comments