/teammates:inspect <teammate> [--messages=<n>]from teammates
Show a teammate's latest status, last messages, and agent-file metadata.
Ships in teammates. Installing the plugin adds it to Claude Code.
Parse $ARGUMENTS:
$name (required).--messages=<n> → $messages (default 10).If $name is missing, report "usage: /inspect <teammate> [--messages=<n>]"
and stop.
Read ./.claudius/teammates/team.json.
team.name, report
"no active team" and stop.teammates[*].name == $name. If none, report
"teammate '$name' not found on team '$team'" and stop.$tm and $team = team.name.Tail the log and extract the most recent // teammate-status JSON
block (schema in teammates:teammate-conventions §3):
Bash("tail -n 100 ./.claudius/teammates/logs/$name.log")
Grep(pattern="// teammate-status",
path="./.claudius/teammates/logs/<name>.log",
output_mode="content",
-n=true)
Take the highest line number match and Read that region to capture the
fenced JSON body. If no log or no status block exists, fall back to
$tm.status with a note that the value came from team.json.
Scan the log for envelope-v1 JSON objects. Heuristic: a line (or
multi-line JSON block) containing "v": 1 AND a "kind" field whose
value is one of request, reply, status, broadcast, or
bootstrap. Envelope schema is in teammates:teammate-conventions §2.
Grep(pattern="\"v\"\\s*:\\s*1",
path="./.claudius/teammates/logs/<name>.log",
output_mode="content",
-n=true)
Take the last $messages envelopes. For each, capture ts, kind,
from, to, subject. Truncate subjects over 60 chars.
If $tm.agent_file is non-null:
Bash("stat -c '%Y %s' \"$tm.agent_file\"") # mtime epoch, size bytes
Bash("sha256sum \"$tm.agent_file\"") # Git Bash on Windows
Convert mtime to ISO-8601 UTC; keep sha256 short (first 12 chars).
If the file is missing, capture that fact and continue — do not fail.
Emit four sections:
## Teammate: $name (team: $team)
### Identity
- **name**: $name
- **spawn_source**: $tm.spawn_source
- **spawned_at**: $tm.spawned_at
- **agent_file**: $tm.agent_file or `-`
- **last_message_ts**: $tm.last_message_ts or `-`
### Status
```json
<the parsed // teammate-status block, or a note if unavailable>
```
### Recent messages (last N of $messages)
| ts | kind | from | to | subject |
|----|------|------|----|---------|
| <ts> | <kind> | <from> | <to> | <subject> |
### Agent file
- **path**: $tm.agent_file
- **mtime**: <iso-8601> (or `missing`)
- **size**: <bytes>
- **sha256**: <first 12 chars>
Do NOT modify any file — this command is read-only.
What the command file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each command page
npx claudepluginhub jaodsilv/claudius --plugin teammates21 commands in this plugin
/broadcastPhase 1 — Load toolsSend the same message to every teammate on the active team; report per-recipient results./config-teamPhase 1 — Parse argsInspect or update teammates-plugin project config (gitignore, team.json defaults)./create-teamPhase 1 — Load toolsCreate a new teammate team, optionally bootstrapped from a preset./create-teammatePhase 1 — Load toolsGenerate a new teammate agent file (with baked-in conventions) and spawn it on the active team./find-bottleneckPhase 1 — Load dataIdentify teammates blocking team progress by age of blocked/long-running/error status./killPhase 1 — Load toolsTerminate a single teammate. This discards in-flight work for that teammate.Other plugins' commands for the same job