Agency health

From the-agency-ai/the-agency · View interactive version

Agency health is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Fleet health check across three dimensions — workstream, agent, worktree. Reports severity (healthy/attention/warning/critical) and sets exit codes for CI integration. Run this when you want to know "is the fleet OK right now?" — at session start, before a release, or after any disruption.

How to use this skill

Skill file

agency-health

Three-dimensional health check over the fleet.

What it checks

Workstream dimension

Agent dimension

Worktree dimension

Severity levels

Exit codes: 0 = all healthy (or attention only), 1 = warnings, 2 = critical.

When to use

Invocations

./agency/tools/agency-health                     # full fleet report
./agency/tools/agency-health all                 # same
./agency/tools/agency-health worktree            # only worktree dimension
./agency/tools/agency-health agent devex         # only devex agent
./agency/tools/agency-health workstream iscp     # only iscp workstream
./agency/tools/agency-health --json all          # JSON for downstream consumers
./agency/tools/agency-health --help              # full help

Example output (human mode)

the-agency fleet health  (2026-04-09 12:39)
─────────────────────────────────────────────────────────
WORKSTREAMS
  ● agency       healthy    active, artifacts present
  ● iscp         healthy    active, artifacts present
  ● mdpal        attention  12 seeds, no activity 14d

AGENTS
  ● captain      healthy    registered, handoff fresh
  ⚠ devex        warning    3 Test User commits in last 20
    BATS pollution — run test_helper.bash audit
  ● iscp         healthy    registered, handoff fresh

WORKTREES
  ● (main)       healthy    clean on main
  ● devex        attention  2 modified, 5 behind main
  ⚠ iscp         warning    12 modified, 95 behind main, settings drift

─────────────────────────────────────────────────────────
OVERALL: 2 warnings, 0 critical

Not in v1

Related

OFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.