auto-claude
v1.0.0
Published
A wrapper tool that automates interactions with the Claude CLI by automatically handling common prompts and responses.
Downloads
46
Readme
Auto Claude
A wrapper tool that automates interactions with the Claude CLI by automatically handling common prompts and responses.
Features
- Spawns and manages a Claude CLI process
- Automatically responds to common prompts like "Yes, proceed" and "Yes"
- Streams output with prefixed logging for better visibility
- Handles terminal resizing for proper PTY management
- Filters and processes ANSI control characters
Installation
bun installUsage
bun run index.tsThe tool will:
- Clear the terminal
- Spawn a Claude CLI process
- Forward your input to Claude
- Automatically respond to confirmation prompts
- Display output with "sflow |" prefix
Scripts
build- Build the project and create UMD bundletest- Run testsrelease- Build, test, and publish a new version
Dependencies
node-pty- For spawning and managing the Claude CLI processsflow- For stream processing and data flow managementfrom-node-stream- For converting Node.js streams to web streams
License
MIT
