This is a small Claude Code wrapper which runs claude in a PTY, injecting input, finding the session transcript jsonl file, and using a stop hook to determine when claude is done.
It's a drop-in replacement for claude code. All arguments except the "-p" argument are forwarded as-is.
claude-pee -p "hello world"
Could be used as a cheap way of using Anthropic subscriptions for OpenClaw, Hermes, etc.
Written in Rust, MIT license.