@petersr/claude-p
v0.5.0
Published
A claude -p drop-in backed by your interactive Claude Code subscription. Installs a prebuilt binary for your platform.
Maintainers
Readme
@petersr/claude-p
A claude -p drop-in backed by your interactive Claude Code subscription, not
the Agent SDK credit path. This package installs a prebuilt claude-p binary
for your platform.
npm i -g @petersr/claude-p
claude-p "summarise CHANGELOG.md"
echo "what does this script do?" | claude-p
claude-p --output-format json "write a haiku about Go modules"claude-p drives interactive Claude Code in a pty (via
pupptyeer) and reads the answer from
claude's own persisted transcript. It needs the official claude CLI installed
and logged in.
For the full CLI surface, daemon mode (--pupptyeer-daemon, persistent
multi-turn sessions), the Go library, and the MCP bridge, see the
project README.
How it resolves the binary
The matching @petersr/claude-p-<os>-<arch> package is pulled in as an optional
dependency and the launcher execs its bundled binary. Prefer the raw binary?
Grab one from GitHub Releases.
MIT licensed.
