claude-code-automation
CommunityAutomate Claude Code headless and streaming.
Authorcoreyja
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill covers running Claude Code programmatically—both headless (--print) for one-shot tasks and bidirectional streaming for multi-turn conversations—so you can build agents, automate Claude workflows, or embed Claude CLI into applications.
Core Features & Use Cases
- Headless mode: Run with
claude --printfor one-shot tasks and background automation. - Bidirectional protocol: Use
--input-format stream-jsonand--output-format stream-jsonfor persistent, multi-turn sessions. - Session management: Establish a session, send user messages, and handle responses using the stream-json protocol.
- Transcript reading: Process JSONL transcripts safely and efficiently with minimal memory.
Quick Start
- Start a headless task: claude --print --verbose --output-format stream-json --model sonnet --permission-mode bypassPermissions
- Or start a bidirectional session: claude --input-format stream-json --output-format stream-json --verbose
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: claude-code-automation Download link: https://github.com/coreyja/dotfiles/archive/main.zip#claude-code-automation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.