claude-code-runner
Installation
SKILL.md
Claude Code Runner
Overview
A wrapper skill for running Claude Code programmatically in non-interactive environments. Uses PTY (pseudo-terminal) to handle TTY-required operations and automatically responds to confirmation prompts.
Features
- PTY-based execution: Works in non-TTY environments (containers, CI/CD, background processes)
- Auto-respond to prompts: Automatically answers "Do you want to..." confirmations
- User switching: Runs as specified non-root user
- File synchronization: Copies project to temp directory, executes, syncs changes back
- Timeout handling: Configurable timeout with proper cleanup
- Output capture: Captures and returns full stdout/stderr