fleet-triage
Skill137 starsChanged 8 months agoApache-2.0View on GitHub
Cognitive triage of fleet audit findings. Read issue content, evaluate labeling accuracy, and determine open/close/dispatch/relabel actions for fleet-managed issues. Use when triaging undispatched issues or reviewing audit scan results.
In this repository2 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
After running fleet audit scan and seeing cognitive findings
- Very specific: line 14
Before running fleet dispatch to prevent wasting sessions on non-actionable issues
- Distinctive: line 15
When asked to triage, clean up, or review fleet issues
- Distinctive: line 51
Update the triage artifact with decisions.
- Distinctive: line 61
Read the body. Evaluate:
- Distinctive: line 63
Is there actionable code work?: Look for "Files to modify:", "Proposed Implementation", specific code paths
- Distinctive: line 66
Should it be dispatched?: Only if there's concrete code work with clear acceptance criteria
- Distinctive: line 72
After all decisions are recorded, present the triage artifact to the user for review.
- Very specific: line 87
Create a persistent artifact at triage-<repo>.md:
- Distinctive: line 122
Check if the described code changes already exist in main
- Very specific: line 123
Check if a similar PR was merged without Fixes #N
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fleet Triage
Cognitive triage of fleet-managed issues. The audit scan surfaces findings deterministically; you make the judgment calls.
When to Use
- After running
fleet audit scanand seeing cognitive findings - Before running
fleet dispatchto prevent wasting sessions on non-actionable issues - When asked to triage, clean up, or review fleet issues
Core Principle
Tools are evidence, you are expertise. The scan tells you what exists. You read the content and decide what to do.
Process
Phase 1: Build a Lightweight Index
Pull all open issues as a summary table. Do NOT read issue bodies yet.
gh issue list --repo <owner>/<repo> --state open --limit 50 \
--json number,title,labels,milestoneClassify each issue into buckets by title and labels alone:
| Bucket | Signal | Typical Action |
| Insight | Title contains [Insight], [Fleet Insight], or label fleet-insight | Likely close — informational only |
| Assessment | Title contains [Assessment], or label fleet-assessment | Evaluate — may be actionable or stale |
| Execution | Title contains [Fleet Execution], label fleet without insight/assessment | Likely dispatch — has code work |
| Ambiguous | Mixed signals or unlabeled | Needs deep dive (Phase 3) |
Record the index in a triage artifact (see Triage Artifact).
Phase 2: Batch Triage from Index
For Insight and Assessment buckets, you can often decide without reading the body:
- Duplicate insights (same title pattern, sequential numbers like "Update 2", "Update 3", "Update 4") → Close older duplicates, keep latest
- Insights with no milestone → Likely orphaned, close
- Assessments with linked PRs → Check if PR is merged; if so, close
Update the triage artifact with decisions.
Phase 3: Deep Dive (One at a Time)
For Ambiguous or Execution issues only:
gh issue view <N> --repo <owner>/<repo>Read the body. Evaluate:
- Is there actionable code work? Look for "Files to modify:", "Proposed Implementation", specific code paths
- Is it stale? Has the work already been done by another PR? Check linked PRs
- Are the labels accurate? Does an "Execution" issue actually describe an insight?
- Should it be dispatched? Only if there's concrete code work with clear acceptance criteria
Record your decision in the triage artifact before moving to the next issue.
Phase 4: Apply Decisions
After all decisions are recorded, present the triage artifact to the user for review. Then apply:
# Close issues
gh issue close <N> --repo <owner>/<repo> --comment "Closing: <reason>"
# Relabel
gh issue edit <N> --repo <owner>/<repo> --remove-label fleet --add-label fleet-insight
# Dispatch (only confirmed actionable issues)
fleet dispatch --owner <owner> --repo <repo>Triage Artifact
Create a persistent artifact at triage-<repo>.md:
# Triage: <owner>/<repo>
## Summary
- Total open: N
- Reviewed: N
- Close: N | Keep: N | Dispatch: N | Relabel: N
## Decisions
| # | Title | Labels | Decision | Reason |
|---|-------|--------|----------|--------|
| 194 | [Fleet Insight] Coverage | fleet, fleet-insight | CLOSE | Insight, no code action |
| 141 | [Fleet Execution] Update Enums | fleet, fleet-assessment | DEEP DIVE | Mixed labels, need to read body |Token Management
- Never load all 25 issue bodies at once — each body can be 500-2000 tokens
- Process one deep dive at a time, record decision, then move on
- The triage artifact survives context resets — pick up where you left off
- For batch closes, use
gh issue closein a single command per issue
Common Patterns
Duplicate Detection
Fleet analyzers often create duplicate insights across runs. Look for:
- Sequential "Update N" suffixes (keep only the latest)
- Same title with different numbers
- Same objective described in different words
Stale Assessment Detection
An assessment may have been addressed by a PR that didn't reference the issue:
- Check if the described code changes already exist in
main - Check if a similar PR was merged without
Fixes #N
Mislabeled Issues
The analyzer sometimes labels insights as fleet (execution-worthy) when they're informational:
- Body says "No source changes" → should be
fleet-insight, notfleet - Body says "N/A - This is an Insight report" → not dispatchable
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

