Show HN: Claudraband – Claude Code for the Power User
TL;DR Highlight
Claudraband is a CLI/library tool that wraps Claude Code TUI, allowing you to maintain sessions and control it headlessly via an HTTP daemon or ACP server. It's worth paying attention to for developers who want to integrate Claude Code into automated workflows.
Who Should Read
Developers who want to leverage Claude Code in continuous session-based automation workflows rather than one-off commands. It's particularly useful for remotely controlling Claude Code in CI/CD or headless environments, or for integrating it with editor plugins.
Core Mechanics
- Claudraband wraps Claude Code's TUI (Terminal UI) with a controllable terminal, allowing you to maintain sessions and resume them later or inject prompts from outside.
- The core features are: resumable non-interactive workflows, remote/headless session control via an HTTP daemon, editor integration via an ACP (Agent Communication Protocol) server, and custom tool integration via a TypeScript library.
- The session resumption feature is key: you can send new prompts while maintaining the context of a previous Claude Code session using the format `cband continue <session-id> 'question'`. This is conceptually an addition of session support to the existing `claude -p`.
- It uses tmux as a backend for managing sessions locally. tmux must be installed to use the first-class workflow.
- It doesn't aim to replace the Claude Code SDK, but is a tool specialized for personal and ad-hoc use. It doesn't touch OAuth or bypass the Claude Code TUI, and always operates after authenticating with Claude Code through an actual Claude Code session.
- Installation is simple with npm/bun, and it bundles `@anthropic-ai/claude-code@2.1.96` within the package. You can override this version with the `CLAUDRABAND_CLAUDE_PATH` environment variable.
- It's currently in an Experimental stage and explicitly states that the project will continue to evolve as Claude Code and ACP clients change.
Evidence
- There was criticism that Claudraband exacerbates Anthropic lock-in due to its reliance solely on Claude Code. Opinions were raised that a more versatile tool supporting Gemini CLI, Codex, and OpenCode is needed.
- While some suggested that Claude Channels could simplify prompt injection and response extraction, limitations were pointed out, such as the need to use the terminal interface for commands like `/clear` due to a poorly designed architecture.
- Concerns were raised in the comments regarding potential conflicts with Anthropic's Terms of Service (ToS) when using subscription-based access. While it explicitly states it doesn't bypass the official TUI, the legality of automated usage remains unclear.
- There was a comment that the license wasn't specified in the README. While a MIT license file exists in the repo, it's not prominently displayed in the README, causing confusion.
How to Apply
- If you repeatedly perform code review or analysis tasks using Claude Code, you can start a session with `cband 'review the staged diff'` and continue subsequent work while maintaining the previous context with `cband continue <session-id> 'keep going'`. This is much more efficient than opening a new session each time.
- If you need to automate Claude Code in a headless server or CI environment, you can use the HTTP daemon mode. The daemon runs like a server, allowing you to control sessions via REST API calls for integration with scripts or other services.
- If you want to integrate Claude Code into your own editor plugin or development tool, you can use the ACP (Agent Communication Protocol) server functionality or directly import the TypeScript library to construct custom workflows in code.
- If you want to quickly test it out, you can run it directly without installation using `npx @halfwhey/claudraband 'review the staged diff'` or `bunx @halfwhey/claudraband '...'`.
Code Example
# One-off execution
npx @halfwhey/claudraband "review the staged diff"
bunx @halfwhey/claudraband "review the staged diff"
# Global installation
npm install -g @halfwhey/claudraband
# Start local session
cband "audit the last commit and tell me what looks risky"
# Check session list
cband sessions
# Resume session (maintain previous context)
cband continue <session-id> "keep going"
cband continue <session-id> --select 2
# Specify custom Claude Code binary path
export CLAUDRABAND_CLAUDE_PATH=/path/to/claude-codeTerminology
Related Papers
Show HN: ctx – Search the coding agent history already on your machine
Claude Code, Cursor, Codex 등 코딩 에이전트가 이전 세션의 논의·결정·실패 시도를 잊지 않도록 SQLite로 인덱싱해 재사용할 수 있게 해주는 오픈소스 CLI 도구다.
Micro-Agent: Beat Frontier Models with Collaboration Inside Model API
vLLM 팀이 단일 모델 API 호출 뒤에서 여러 모델이 협업하는 'Micro-Agent' 개념을 공개했습니다. 별도의 에이전트 코드 없이 라우터 레이어에서 모델 조합을 실행해 GPT-4급 결과를 더 저렴하게 낼 수 있다는 아이디어입니다.
Ornith-1.0: self-improving open-source models for agentic coding
Gemma 4와 Qwen 3.5를 기반으로 파인튜닝한 코딩 특화 오픈소스 모델로, RL(강화학습)을 통해 스캐폴드(에이전트 실행 구조)까지 함께 최적화하는 방식을 주장하지만, 커뮤니티에서는 벤치마크 과최적화에 불과하다는 의심을 받고 있다.
Entity Binding Failures in Tool-Augmented Agents
AI 에이전트가 올바른 도구를 선택해도 잘못된 대상에 실행하는 'Entity Binding 실패' 문제를 정의하고, 이를 막는 실행 정책을 평가한 논문.
Herdr: Agent multiplexer that lives in your terminal
여러 AI 코딩 에이전트(Claude, Codex 등)를 하나의 터미널에서 동시에 실행·관리할 수 있는 Rust 기반 오픈소스 툴로, tmux처럼 세션이 유지되고 SSH로 원격 접속도 가능해 멀티 에이전트 워크플로우를 크게 단순화해준다.
Ornith-1.0: Self-scaffolding LLMs for agentic coding
모델이 문제 풀이 전략(scaffold)을 직접 생성하고 개선하는 자기강화 학습 프레임워크를 적용한 오픈소스 코딩 특화 LLM으로, 9B 소형 모델부터 397B 대형 모델까지 라인업을 갖추고 SWE-Bench 등 주요 벤치마크에서 Claude Opus 4.7을 능가하는 성능을 보여줬다.