Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

auto-claude

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-claude

A wrapper tool that automates interactions with the Claude CLI by automatically handling common prompts and responses.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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 install

Usage

bun run index.ts

The 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 bundle
  • test - Run tests
  • release - Build, test, and publish a new version

Dependencies

  • node-pty - For spawning and managing the Claude CLI process
  • sflow - For stream processing and data flow management
  • from-node-stream - For converting Node.js streams to web streams

License

MIT

FAQs

Package last updated on 06 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts