Skip to content
Back to skills

Triage

ASecurity

Inspect the current TaskList and propose hygiene actions: drop or finalize stale in_progress tasks, surface blockers, suggest squashing trivial tasks, and prune kept-around completed tasks. Asks before doing anything destructive.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 22, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add PHPCraftdream/cc-arch-hands --skill triage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Triage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Triage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phpcraftdream-triage-cc-arch-hands/badge)](https://www.skillsdirectory.com/skills/phpcraftdream-triage-cc-arch-hands)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: triage
description: "Inspect the current TaskList and propose hygiene actions: drop or finalize stale in_progress tasks, surface blockers, suggest squashing trivial tasks, and prune kept-around completed tasks. Asks before doing anything destructive."
---

# triage

A foreman walking the TaskList floor. Catches the patterns that quietly degrade an active plan: zombie `in_progress`, fan-out without a stitch back, completed tasks left lying around, blockers nobody is unblocking.

## Usage

```
/triage          # interactive walk, propose actions, ask before each destructive step
/triage --dry    # report only, never mutate
```

## Behavior

1. **Snapshot.** Call TaskList. Bucket every task by status (`pending`, `in_progress`, `completed`, `deleted`). Note `blockedBy` relations.
2. **Classify hygiene issues.** For each bucket, look for the patterns below. Be explicit about what triggered each flag — do NOT invent issues.

   | Pattern | Trigger | Default proposed action |
   |---|---|---|
   | **Stale in_progress** | `in_progress` with no observable progress in conversation context | Ask: complete? back to pending? delete? |
   | **Orphan blocker** | A task's `blockedBy` references an ID that is `completed` or `deleted` | Clear the stale blocker reference |
   | **Dead-end chain** | `pending` whose `blockedBy` includes a deleted/missing task | Either delete the dead-end or remove the broken dep |
   | **Trivial sibling cluster** | 3+ small `pending` tasks under the same theme | Ask whether to squash into one |
   | **Completed clutter** | More than 10 `completed` tasks accumulated | Ask whether to mark a cutoff for deletion |
   | **Duplicate subject** | Two tasks with near-identical `subject` | Ask which to keep |

3. **Print a triage table.** One row per finding: bucket, taskId, pattern, proposed action.
4. **Ask before mutating.** For each proposed action, confirm with the user (one batched confirmation per pattern category is fine — don't ask 20 times in a row). On `--dry`, skip step 5.
5. **Execute confirmed actions.** Use TaskUpdate (status changes, removing blockers) and TaskCreate (for squashed replacements). Report what was done.

## Important

- This skill is *advisory by default*. It never deletes or modifies a task without an explicit yes from the user.
- It is OK for the report to be "no findings — TaskList is clean." Say so plainly.
- Do NOT touch tasks owned by another agent (look at `owner` field) — flag them, but don't act.
- Never invent a "stale" judgement just because activity isn't visible in the trimmed context window. Err on the side of asking the user.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.