Drop-in replacement for claude -p that drives the interactive TUI via PTY, preserving subscription billing
Find a file
jedarden d556c9a343 Add CI/CD and documentation sections to plan
CI/CD: claude-print-ci WorkflowTemplate (iad-ci/Argo Workflows); verify-only on branch
push, verify+build-musl+github-release on v* tags; asset named claude-print-linux-amd64;
Phase 1 stub, Phase 11 full release pipeline.

Documentation: README.md spec (10 sections, human + agent audiences); AGENTS.md spec
(8 sections for AI agent consumers — invocation, per-format output, exit codes, anti-patterns);
docs/ organization map; Phase 1 stub README, Phase 9 complete README+AGENTS.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 14:07:27 -04:00
docs Add CI/CD and documentation sections to plan 2026-06-07 14:07:27 -04:00
README.md Remove prior art references; expand plan to full feature set and test coverage 2026-06-07 10:35:10 -04:00

claude-print

Drop-in replacement for claude -p (print/headless mode) that drives the Claude Code interactive TUI via PTY — preserving subscription billing after the June 15, 2026 Agent SDK credit split.

Why this exists

Starting June 15, 2026, Anthropic separates claude -p (headless) into a separate Agent SDK credit pool ($100$200/month on Max plans). Only the interactive TUI (cc_entrypoint=cli) continues drawing from the unlimited subscription. claude-print wraps the interactive TUI in a PTY so callers get claude -p wire-compatible output while billing against the subscription.

Structure

  • docs/notes/ — design decisions, constraints, integration details
  • docs/plan/plan.md — complete implementation plan