Invoked as /agiflow:triage. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.
Usage:
/agiflow:triage - Diagnose project health and surface actionable problems
/agiflow:triage <project-slug-or-id> - Triage a specific project
Examples:
/agiflow:triage (triage current project or org)
/agiflow:triage my-project (triage specific project)
Purpose
Diagnose stalled, blocked, or unhealthy project states and recommend concrete actions. Also handles task lifecycle management: cancelling/archiving obsolete tasks, re-prioritizing (moving Todo tasks back to Planning), and fast-tracking incoming bugs. Real projects get stuck — this skill helps users identify WHY and decide WHAT TO DO, not just see status.
Guardrails
- Diagnose before prescribing — understand the problem before suggesting solutions.
- Surface problems by severity: blockers first, then warnings, then notes.
- Recommend specific actions (reassign, split, refine, cancel, re-prioritize) — not vague advice.
- Do not make changes automatically — present findings and let the user decide.
- When cancelling tasks, document the reason in a comment before changing status.
AgiFlow Project Management Guidelines
Follow the shared AgiFlow project-management guidelines in references/agiflow-agents.md — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.
Steps
1. Load Project State
- Use
list_active_tasks_by_org MCP tool to get all active (non-completed) tasks across the organization.
- Use
list_work_units MCP tool to get work unit status overview.
- Use
list_members MCP tool to understand team capacity.
- If a specific project is provided, use
get_project_detail to focus on that project.
2. Identify Problems
- Analyze the data and flag issues in these categories:
Stalled Work
- Tasks in "In Progress" with no recent devInfo updates (stalled execution)
- Work units in "in_progress" where no tasks have moved in a long time
- Tasks assigned to an agent but showing no activity
For each stalled item:
- When was it last updated?
- Is there a blocker documented in comments?
- Is the task too large (needs decomposition)?
- Is the assignee available?
Blocked Items
- Work units with status "blocked"
- Tasks with blocker comments but no follow-up
- Tasks that depend on other incomplete tasks
For each blocked item:
- What's the blocker? (check comments with
list_task_comments)
- Can the blocker be resolved, worked around, or descoped?
- Should the blocked task be reassigned or split?
Quality Gaps
- Tasks with no acceptance criteria (unrefined)
- Tasks with vague descriptions ("implement feature X")
- High-priority tasks that are unassigned
- Work units with more than 8 tasks (too complex for one session)
Imbalance
- One agent assigned to too many in-progress tasks (context switching)
- All tasks "In Progress", nothing "Done" (no focus)
- High-priority items in backlog while low-priority items are being worked on
3. Severity Classification
- Classify each finding:
| Severity |
Meaning |
Action needed |
| BLOCKER |
Prevents progress on critical path |
Must resolve now |
| WARNING |
Creates risk or inefficiency |
Should resolve this sprint |
| NOTE |
Improvement opportunity |
Address when convenient |
4. Recommend Actions
- For each problem, recommend ONE specific action:
| Problem |
Recommended Action |
Tool to Use |
| Task stalled, too large |
Split into smaller tasks |
batch_create_tasks + update_task (close original) |
| Task stalled, unclear scope |
Refine the task |
Suggest refine-task skill |
| Task blocked by dependency |
Reorder or reassign |
update_task to change assignee or priority |
| Work unit blocked |
Create unblocking task |
batch_create_tasks for the blocker fix |
| Task unrefined (no AC) |
Add acceptance criteria |
Suggest refine-task skill |
| Agent overloaded |
Reassign tasks |
update_task to change assignee |
| No focus (everything in-progress) |
Pick ONE work unit to finish |
update_task to deprioritize others |
| Wrong priorities being worked |
Reprioritize backlog |
update_task to adjust priorities |
| Task obsolete or descoped |
Cancel with documented reason |
create_task_comment (reason) + update_task (status: "cancelled") |
| Todo task needs re-scoping |
Move back to Planning |
update_task (status: "planning") for re-grooming |
| Incoming bug, urgent |
Fast-track: create in Planning with bug: tag, high priority |
create_task + suggest backlog-grooming to promote |
5. Present Triage Report
- Present findings to the user:
## Triage Report
**Scope:** [Organization / Project name]
**Date:** [current date]
### Summary
- Active tasks: [N]
- In progress: [N]
- Blocked: [N]
- Issues found: [N blockers, N warnings, N notes]
### Blockers (must resolve)
1. **[Task/WU slug]** — [problem description]
- Recommendation: [specific action]
- Impact: [what's affected if not resolved]
### Warnings (should resolve)
1. **[Task/WU slug]** — [problem description]
- Recommendation: [specific action]
### Notes (nice to fix)
1. **[observation]** — [suggestion]
### Health Score
[Quick assessment: Healthy / Needs Attention / At Risk]
### Recommended Next Steps
1. [Most important action]
2. [Second most important action]
3. [Third action]
6. Execute (with user approval)
- After presenting findings, ask the user which actions they want to take.
- Execute approved actions using the appropriate MCP tools.
- After changes, re-check state with
list_active_tasks_by_org to confirm improvements.
Diagnostic Patterns
| What you observe |
What it usually means |
What to do |
| 40 tasks, no work units |
Planned without organizing |
Group into work units |
| Work units exist, all tasks "Todo" |
Planned but not started |
Pick one work unit, start execution |
| Everything "In Progress" |
No focus, context switching |
Finish ONE thing, then move on |
| High-priority items in backlog |
Wrong things being worked on |
Reprioritize and reassign |
| Tasks with no acceptance criteria |
Unrefined, will fail in execution |
Refine before assigning |
| Agent with 5+ in-progress tasks |
Overloaded, nothing finishing |
Limit WIP to 2-3 per agent |
| Completed tasks with unchecked AC |
Rubber-stamped, not actually done |
Review with review-work |
| Old tasks nobody mentions anymore |
Scope changed, tasks are obsolete |
Cancel with reason documented |
| Todo tasks that keep getting skipped |
Wrong priority or unclear scope |
Re-prioritize or move back to Planning |
| User reports a bug mid-sprint |
Incoming bug needs fast-tracking |
Create with bug: tag, high priority, suggest backlog-grooming |
Common Mistakes to Avoid
- Only reporting status without diagnosing root causes
- Suggesting vague actions ("improve task descriptions") instead of specific ones
- Making changes without user approval
- Ignoring blocked items (they don't unblock themselves)
- Not checking task comments for context on why things stalled
- Treating symptoms (reassigning a stalled task) without addressing causes (task was too vague)
1---
2name: triage-2
3description: "Diagnose project health: classify issues by severity (BLOCKER/WARNING/NOTE) and recommend actions for stuck, overdue, or unwieldy backlogs. Invoked as /agiflow:triage. Uses list_tasks, list_active_tasks_by_org, list_work_units, get_project_detail."
4tags:
5 - agiflow
6 - mcp
7 - triage
8 - diagnostics
9metadata:
10 source: https://skillmd.com/skills/concertonotes/triage-2
11 mirrors: backend/apis/agiflow-api .../prompts/triage.md
12---
13
14> Invoked as `/agiflow:triage`. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.
15
16**Usage**:
17
18- `/agiflow:triage` - Diagnose project health and surface actionable problems
19- `/agiflow:triage <project-slug-or-id>` - Triage a specific project
20
21**Examples**:
22
23- `/agiflow:triage` (triage current project or org)
24- `/agiflow:triage my-project` (triage specific project)
25
26---
27
28**Purpose**
29Diagnose stalled, blocked, or unhealthy project states and recommend concrete actions. Also handles task lifecycle management: cancelling/archiving obsolete tasks, re-prioritizing (moving Todo tasks back to Planning), and fast-tracking incoming bugs. Real projects get stuck — this skill helps users identify WHY and decide WHAT TO DO, not just see status.
30
31**Guardrails**
32
33- Diagnose before prescribing — understand the problem before suggesting solutions.
34- Surface problems by severity: blockers first, then warnings, then notes.
35- Recommend specific actions (reassign, split, refine, cancel, re-prioritize) — not vague advice.
36- Do not make changes automatically — present findings and let the user decide.
37- When cancelling tasks, document the reason in a comment before changing status.
38
39---
40
41## AgiFlow Project Management Guidelines
42
43Follow the shared AgiFlow project-management guidelines in [`references/agiflow-agents.md`](../../references/agiflow-agents.md) — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.
44
45
46---
47
48**Steps**
49
50## 1. Load Project State
51
521. Use `list_active_tasks_by_org` MCP tool to get all active (non-completed) tasks across the organization.
532. Use `list_work_units` MCP tool to get work unit status overview.
543. Use `list_members` MCP tool to understand team capacity.
554. If a specific project is provided, use `get_project_detail` to focus on that project.
56
57## 2. Identify Problems
58
595. Analyze the data and flag issues in these categories:
60
61### Stalled Work
62
63- Tasks in "In Progress" with no recent devInfo updates (stalled execution)
64- Work units in "in_progress" where no tasks have moved in a long time
65- Tasks assigned to an agent but showing no activity
66
67**For each stalled item:**
68
69- When was it last updated?
70- Is there a blocker documented in comments?
71- Is the task too large (needs decomposition)?
72- Is the assignee available?
73
74### Blocked Items
75
76- Work units with status "blocked"
77- Tasks with blocker comments but no follow-up
78- Tasks that depend on other incomplete tasks
79
80**For each blocked item:**
81
82- What's the blocker? (check comments with `list_task_comments`)
83- Can the blocker be resolved, worked around, or descoped?
84- Should the blocked task be reassigned or split?
85
86### Quality Gaps
87
88- Tasks with no acceptance criteria (unrefined)
89- Tasks with vague descriptions ("implement feature X")
90- High-priority tasks that are unassigned
91- Work units with more than 8 tasks (too complex for one session)
92
93### Imbalance
94
95- One agent assigned to too many in-progress tasks (context switching)
96- All tasks "In Progress", nothing "Done" (no focus)
97- High-priority items in backlog while low-priority items are being worked on
98
99## 3. Severity Classification
100
1016. Classify each finding:
102
103| Severity | Meaning | Action needed |
104| ----------- | ---------------------------------- | -------------------------- |
105| **BLOCKER** | Prevents progress on critical path | Must resolve now |
106| **WARNING** | Creates risk or inefficiency | Should resolve this sprint |
107| **NOTE** | Improvement opportunity | Address when convenient |
108
109## 4. Recommend Actions
110
1117. For each problem, recommend ONE specific action:
112
113| Problem | Recommended Action | Tool to Use |
114| --------------------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------- |
115| Task stalled, too large | Split into smaller tasks | `batch_create_tasks` + `update_task` (close original) |
116| Task stalled, unclear scope | Refine the task | Suggest `refine-task` skill |
117| Task blocked by dependency | Reorder or reassign | `update_task` to change assignee or priority |
118| Work unit blocked | Create unblocking task | `batch_create_tasks` for the blocker fix |
119| Task unrefined (no AC) | Add acceptance criteria | Suggest `refine-task` skill |
120| Agent overloaded | Reassign tasks | `update_task` to change assignee |
121| No focus (everything in-progress) | Pick ONE work unit to finish | `update_task` to deprioritize others |
122| Wrong priorities being worked | Reprioritize backlog | `update_task` to adjust priorities |
123| Task obsolete or descoped | Cancel with documented reason | `create_task_comment` (reason) + `update_task` (status: "cancelled") |
124| Todo task needs re-scoping | Move back to Planning | `update_task` (status: "planning") for re-grooming |
125| Incoming bug, urgent | Fast-track: create in Planning with `bug:` tag, high priority | `create_task` + suggest `backlog-grooming` to promote |
126
127## 5. Present Triage Report
128
1298. Present findings to the user:
130
131```
132## Triage Report
133
134**Scope:** [Organization / Project name]
135**Date:** [current date]
136
137### Summary
138- Active tasks: [N]
139- In progress: [N]
140- Blocked: [N]
141- Issues found: [N blockers, N warnings, N notes]
142
143### Blockers (must resolve)
1441. **[Task/WU slug]** — [problem description]
145 - Recommendation: [specific action]
146 - Impact: [what's affected if not resolved]
147
148### Warnings (should resolve)
1491. **[Task/WU slug]** — [problem description]
150 - Recommendation: [specific action]
151
152### Notes (nice to fix)
1531. **[observation]** — [suggestion]
154
155### Health Score
156[Quick assessment: Healthy / Needs Attention / At Risk]
157
158### Recommended Next Steps
1591. [Most important action]
1602. [Second most important action]
1613. [Third action]
162```
163
164## 6. Execute (with user approval)
165
1669. After presenting findings, ask the user which actions they want to take.
16710. Execute approved actions using the appropriate MCP tools.
16811. After changes, re-check state with `list_active_tasks_by_org` to confirm improvements.
169
170---
171
172**Diagnostic Patterns**
173
174| What you observe | What it usually means | What to do |
175| ------------------------------------ | --------------------------------- | ----------------------------------------------------------------- |
176| 40 tasks, no work units | Planned without organizing | Group into work units |
177| Work units exist, all tasks "Todo" | Planned but not started | Pick one work unit, start execution |
178| Everything "In Progress" | No focus, context switching | Finish ONE thing, then move on |
179| High-priority items in backlog | Wrong things being worked on | Reprioritize and reassign |
180| Tasks with no acceptance criteria | Unrefined, will fail in execution | Refine before assigning |
181| Agent with 5+ in-progress tasks | Overloaded, nothing finishing | Limit WIP to 2-3 per agent |
182| Completed tasks with unchecked AC | Rubber-stamped, not actually done | Review with `review-work` |
183| Old tasks nobody mentions anymore | Scope changed, tasks are obsolete | Cancel with reason documented |
184| Todo tasks that keep getting skipped | Wrong priority or unclear scope | Re-prioritize or move back to Planning |
185| User reports a bug mid-sprint | Incoming bug needs fast-tracking | Create with `bug:` tag, high priority, suggest `backlog-grooming` |
186
187---
188
189**Common Mistakes to Avoid**
190
191- Only reporting status without diagnosing root causes
192- Suggesting vague actions ("improve task descriptions") instead of specific ones
193- Making changes without user approval
194- Ignoring blocked items (they don't unblock themselves)
195- Not checking task comments for context on why things stalled
196- Treating symptoms (reassigning a stalled task) without addressing causes (task was too vague)