Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Verifies whether a CAO session is alive and its output matches reported status before reporting progress.
35% 91%+57 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 8 of 23 without it.
A CAO session reports a status of `idle`, but the last lines of its output tail show `user@host:~/src$ ` with a current timestamp. Is this session ready for input?
The response classifies the session as dead or exited despite the idle status.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Companion to cao-session-management, which covers the mechanics of launching
and messaging sessions. This skill covers a single question that mechanics alone
cannot answer: is the session actually alive, and is the status telling me the
truth?
Every CAO provider infers agent state by pattern-matching the rendered terminal
screen. There is no structured protocol between CAO and the provider CLI. A
provider that has exited, crashed, or stalled on an unanswerable dialog can
leave a screen that still matches an idle or processing pattern.
The consequence is specific and it is the failure this skill exists to prevent: reporting progress on a session that is already dead.
Never report readiness, progress, or completion from a status value alone. Always corroborate with output before you tell a user anything:
get_terminal_status, or cao session status SESSION).read_session_output / get_terminal_output, or
cao session status SESSION --json and inspect last_output).A status of idle with an output tail showing a shell prompt means the CLI
exited. Report the session as dead, not as ready.
Treat any of the following in the output tail as proof the provider is no longer running, regardless of the reported status:
| Signal | Means |
|---|---|
Session ended. / Resume with: <cli> --resume-id ... | The CLI exited on its own |
error: Conflicting options: or a usage/help banner | The CLI rejected its launch flags and never started |
API Error (...), 400, or a model/auth failure | The provider started but cannot reach a model |
Next to this one in the catalogue, plus more from the same author.