HeadlinesBriefing favicon HeadlinesBriefing.com

Claudraband Brings Programmatic Control to Claude Code Sessions

Hacker News •
×

Claudraband wraps Claude Code's terminal interface in a controlled environment, enabling developers to maintain persistent sessions, resume them later, and programmatically drive AI workflows. The tool uses tmux for local sessions or xterm.js for headless operations, but every interaction still runs through an actual Claude Code instance.

The project provides several distinct capabilities. Users can run resumable non-interactive workflows with `cband continue <session-id> 'what was the result of the research?'`, spin up an HTTP daemon for remote session control on a specific port, or deploy an ACP server for integration with editors like Zed or Toad. A TypeScript library also lets developers embed these workflows into custom tools.

The author built this because they were heavily using `tmux send-keys` in their Claude Code workflows and wanted a more streamlined approach. One practical use case involves having a current Claude session interrogate an older session about decisions it made, essentially enabling self-reflection in AI workflows. The tool bundles Claude Code 2.1.96 and requires an already-authenticated Claude Code installation.

This is explicitly not a replacement for the Claude SDK—it's geared toward personal, ad-hoc automation where you need session persistence and programmatic control rather than structured API access.