gemini-worker
Installation
SKILL.md
Gemini Worker
Run Gemini CLI headlessly as a background worker. Gemini handles its own OAuth via
~/.gemini/oauth_creds.json — authenticate once interactively, then all headless runs
use cached credentials.
Key insight: gemini --acp requires a TTY and hangs headlessly. Use gemini -p "..." --yolo
instead — it takes a prompt as argument, runs to completion, and exits. See
references/acp-vs-headless.md for the full technical explanation.
Quick Start
# Simple prompt
gemini -p "Your prompt here" --yolo