.claude/skills/flag-triage/SKILL.md
Structured flag review — categorize, approve, dispose. Three-bucket triage for accumulated flags.
npx skillsauth add the-agency-ai/the-agency .claude/skills/flag-triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Structured review session for accumulated flags. Agent pre-categorizes into three buckets, principal approves dispositions, then each bucket is processed.
$ARGUMENTS: Optional. No arguments needed — operates on all unprocessed flags.Run bash $CLAUDE_PROJECT_DIR/claude/tools/flag list to get all unread/read flags.
If no flags are waiting, report "No flags to triage" and stop.
Review each flag and assign it to one of three buckets. Present the categorization to the principal as a numbered table:
Bucket 1 — Resolved: Items that are already done, no longer relevant, or overtaken by events. For each, cite the evidence (commit, dispatch, code change) that resolves it.
Bucket 2 — Autonomous: Items the agent can handle independently — writing seeds, sending dispatches, updating docs, filing bugs, creating tools. No principal collaboration needed. For each, state the proposed disposition (what you'll do).
Bucket 3 — Collaborative: Items requiring principal input, joint decision-making, or 1B1 discussion. For each, state why it needs discussion.
Format:
## Flag Triage — [N] items
### Bucket 1: Resolved ([n] items)
| # | Flag | Evidence | Disposition |
|---|------|----------|-------------|
| 1 | ... | commit abc123 fixed this | Mark resolved |
### Bucket 2: Autonomous ([n] items)
| # | Flag | Proposed Action |
|---|------|----------------|
| 4 | ... | Write seed to iscp workstream |
### Bucket 3: Collaborative ([n] items)
| # | Flag | Why discuss? |
|---|------|-------------|
| 7 | ... | Needs prioritization decision |
STOP and wait for principal approval. The principal may:
Do NOT proceed until the principal approves the bucket assignments.
For each approved Bucket 1 item:
bash $CLAUDE_PROJECT_DIR/claude/tools/flag clear if all flags are being resolvedFor each approved Bucket 2 item, execute the proposed disposition:
seeds/ directorydispatch create --to <agent> --subject <text> --body <text>/agency-bug or create a dispatchusr/{principal}/{agent}/tools/Report each action taken with the artifact created (file path, dispatch ID, etc.).
Enter 1B1 discussion mode for collaborative items. For each item:
Use the standard 1B1 protocol: present → feedback → resolve → next.
After all buckets are processed, report:
## Triage Complete
- Resolved: [n] items
- Autonomous: [n] items ([n] dispatches sent, [n] seeds written, ...)
- Collaborative: [n] items ([n] actioned, [n] flagged to project, [n] binned)
- Total: [N] flags processed
Run bash $CLAUDE_PROJECT_DIR/claude/tools/flag clear to mark all processed flags.
OFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment