top | item 46890095

Show HN: Clux – Simple session manager for Claude Code

1 points| zackham | 26 days ago

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

discuss

order

No comments yet.