agent-scripts
Installation
SKILL.md
Agent scripts
Run these scripts through their installed absolute paths, such as
~/.agents/skills/agent-scripts/scripts/wait-agent. They find waitlib.py through the real path of the script,
so symlinked installs work from any worktree.
Shared contract
Every script writes JSON lines to stdout, one per event, flushed as they happen. All share the six keys script,
event, target, elapsed_s, at, and detail. The last line is the final envelope whose event decides the exit
code. Progress lines are not logged to .launch. Poll progress goes to stderr, starts with the script name, and is
hidden by --quiet. --pretty replaces each JSON object with one short line for use at a terminal; agents must not
use it.
Progress events
wait-ci:run-appeared,jobwait-merged:watchingwait-review:watching,thread,thread-resolved