AGENT SKILL

ao-session-monitor

Properly inspect AO worker tmux sessions to detect working vs idle state

License 许可
MIT
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

name
ao-session-monitor
description
Properly inspect AO worker tmux sessions to detect working vs idle state

03 SKILL.md 正文

AO Session Monitor Skill

How to check an AO worker session

The bottom of a Claude Code pane can show a prompt while the model is still thinking or while older work is deep in scrollback. A short tail or status indicator is never enough to classify the session.

  1. Capture the full available history with tmux capture-pane -t <session> -p -S -. Read the full capture, then inspect the last 15 lines for current state.
  2. For any idle, stalled, or blocked classification, capture again 20–30 seconds later to a different unique file under /tmp. If the screens differ, label the worker WORKING and stop classification.
  3. Identical captures are not proof of idleness. Check for post-footer tool calls or assistant text, timer growth, and the worker process tree/CPU. For a pi pane, also check growth of the matching session JSONL. If full scrollback or a required independent process check is unavailable, report UNVERIFIED.
  4. Treat activity indicators, queued-message text, completed footers, and uncommitted markers as clues inside the full capture, never as state on their own. They may describe earlier turns or quoted text.

The shared full-buffer requirement is in ~/.codex/AGENTS.md § “Reading a cmux terminal before deciding (full-buffer rule)”; cmux-specific capture and steering mechanics are owned by ~/.claude/skills/cmux-steer/SKILL.md.

Do not use a one-line grep/tail script to assign IDLE, COMPLETED, or BLOCKED. Batch capture may collect candidates, but the full-history and independent-process checks above determine the state.

04 同仓库更多 Skills

jleechanorg
jleechanorg/jleechan-skills

disk-reclaim-playbook

Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.

★ 6
jleechanorg
jleechanorg/jleechan-skills

claudea-bench

Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr

Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).

★ 6
jleechanorg
jleechanorg/jleechan-skills

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.

★ 6
jleechanorg
jleechanorg/jleechan-skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr-report

This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.

★ 6