One Works CLI Print Mode

•
20
•

Guides One Works CLI print-mode streaming, stdin task automation, permission handling, and session resumption.

The One Works CLI Print Mode skill provides comprehensive guidance for running, automating, and troubleshooting One Works CLI tasks in non-interactive and streaming environments. It details terminal print flags, text and stream-JSON input/output formats for piping and scripting, handling permission interaction requests programmatically, and recovering interrupted sessions using resume commands and permission bypass modes.

Key Features

01Guides stdin control setup across raw text, single JSON, and streaming JSON events
0220 GitHub stars
03Handles CLI interaction requests and permission approval payloads programmatically
04Enables session recovery and permission bypassing with resume flags and YOLO mode
05Configures text, JSON, and stream-JSON output formats for scripts and terminal viewing
06Provides troubleshooting commands to inspect, resume, stop, or kill active CLI sessions

Use Cases

01Building programmatic wrappers that stream CLI JSON output into custom developer dashboards
02Automating One Works agent runs within CI/CD pipelines and background shell scripts
03Resuming and unblocking permission-gated sessions that halted during unattended execution