agentleFS
Dan-ClearyDan-Cleary/fdestack/skills/triage/SKILL.md

triage

Skill40 starsChanged 6 months agoMITView on GitHub

Cross-customer dashboard. Scan every customers/<name>/ directory, surface the highest-urgency blockers and unresolved unknowns across the FDE's portfolio. Optional filter to one cohort. No session marker required — this skill is the "where do I look first today?" view.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use writing-beats, setup-matt-pocock-skills and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 66 projects that use this

  • GoogleSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 167 projects that use this

  • liufeng1976Skill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 42 projects that use this

  • SethGammonSkill

    ascii-diagram

    Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.

    Also in 4 projects that use this

  • simo97Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 68 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 63 projects that use this

  • +1 more from Lesani

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 176 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Very specific:

    If FOUND_CUSTOMERS=0: "No customers/ subdirectories.

    line 45
  2. Very specific:

    If FOUND_CUSTOMERS > 10 AND COHORT=all:

    line 49
  3. Very specific:

    Wait for FDE response. Default to active if they don't pick.

    line 55
  4. Very specific:

    If [scope-*] or [value-frame-*] tagged items appear in HIGH unknowns, note them — those are the audit trail from earlier skills.

    line 139
  5. Distinctive:

    Commit anything to the repo

    line 145
  6. Distinctive:

    Write a session marker for any customer

    line 146
  7. Distinctive:

    After the brief, print:

    line 152

“Common” is measured: kept by at least 6 in 10 of the 176 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/triage

Multi-customer portfolio view. Answer: where should the FDE spend the next hour?

Step 0: Parse cohort filter

Optional first argument: active | blocked | all. Default: active.

  • active — customers with at least one commit to their dir in the last 14 days
  • blocked — customers with at least one HIGH blocker or HIGH unknown
  • all — every customer dir, regardless of recency

Set COHORT from the argument or default to active.

Step 1: NO session marker check

Unlike /discovery / /scope / /poc / /integrate / /value-frame, /triage runs without requiring /customer-context first. It's the meta view — the FDE is deciding which customer to load context for. Requiring a per-customer marker here is backwards.

Step 2: List customers

CUSTOMERS=$(ls -d customers/*/ 2>/dev/null | xargs -n1 basename 2>/dev/null)
COUNT=$(echo "$CUSTOMERS" | grep -c . || echo 0)
echo "FOUND_CUSTOMERS=$COUNT"

If FOUND_CUSTOMERS=0: "No customers/ subdirectories. Run /customer-context <name> for your first customer." Stop.

Step 3: Context-window guard

If FOUND_CUSTOMERS > 10 AND COHORT=all:

You have $COUNT customers. Loading profile.md + blockers.md + unknowns.md for all of them may exhaust the context window. Filter to a smaller cohort? Options: active (last 14d) / blocked (HIGH items only) / all (proceed anyway).

Wait for FDE response. Default to active if they don't pick.

Step 4: Apply cohort filter

For active:

ACTIVE_CUSTOMERS=""
for c in $CUSTOMERS; do
  LAST=$(git log -1 --format=%ct -- "customers/$c/" 2>/dev/null)
  if [ -n "$LAST" ] && [ $(( $(date +%s) - LAST )) -lt 1209600 ]; then
    ACTIVE_CUSTOMERS="$ACTIVE_CUSTOMERS $c"
  fi
done

For blocked:

BLOCKED_CUSTOMERS=""
for c in $CUSTOMERS; do
  HIGH=$(grep -A100 '^## HIGH' "customers/$c/blockers.md" "customers/$c/unknowns.md" 2>/dev/null | grep -c '^- ' || echo 0)
  [ "$HIGH" -gt 0 ] && BLOCKED_CUSTOMERS="$BLOCKED_CUSTOMERS $c"
done

For all: use the full $CUSTOMERS list.

Step 5: Load + extract per customer

For each customer in the filtered cohort, read:

  • customers/<name>/profile.md — for the company one-liner and engagement stage
  • customers/<name>/blockers.md — HIGH section only
  • customers/<name>/unknowns.md — HIGH section only
  • customers/<name>/timeline.md — for upcoming key dates

Extract:

  • STAGE: from profile.md "Engagement Context" — POV / Integration / Production / Renewal / etc.
  • HIGH_BLOCKERS[name]: bullets under ## HIGH in blockers.md
  • HIGH_UNKNOWNS[name]: bullets under ## HIGH in unknowns.md (including any [scope-...] and [value-frame-...] audit-tagged items)
  • UPCOMING[name]: items under ## Upcoming in timeline.md, especially any with dates in the next 14 days

Step 6: Compute urgency score per customer

Rough scoring — the goal is ranking, not precision:

urgency = (HIGH_BLOCKERS_count × 3)
       + min(HIGH_UNKNOWNS_count, 5) × 2
       + (UPCOMING_within_7_days × 10)
       + (DAYS_SINCE_LAST_COMMIT > 7 ? -1 : 0)

Two design choices worth noting:

  1. Unknown count is capped at 5. A customer accumulating 12 HIGH unknowns isn't 6x more urgent than one with 2 — it's a sign the customer has been neglected, not a sign of imminent crisis. Capping prevents discovery-stage customers (which naturally have many open questions) from shadowing integration-stage customers facing real deadlines.
  2. Within-7d items dominate. Each weighs 10, so a single imminent deadline (1 × 10 = 10) outweighs 5 unknowns (5 × 2 = 10) and ties 3 blockers (3 × 3 = 9). A near-term deadline almost always trumps accumulated unresolved items.

Step 7: Print Triage Brief

Sort customers descending by urgency. Print:

════════════════════════════════════════════════════════════
TRIAGE: <COHORT> cohort | <COUNT> customers | <DATE>
════════════════════════════════════════════════════════════

[for each customer, ranked by urgency:]
▶ <name> — <one-line from profile> — <STAGE>
  Urgency: <score>
  HIGH blockers:
    - <bullet>
    - <bullet>
  HIGH unknowns:
    - <bullet>
  Upcoming (next 14d):
    - <date>: <event>
  Last activity: <N days ago>

[footer]
RECOMMENDED FIRST ACTION:
  <top-ranked customer's most urgent item>
════════════════════════════════════════════════════════════

If [scope-*] or [value-frame-*] tagged items appear in HIGH unknowns, note them — those are the audit trail from earlier skills. They're disproportionately worth resolving because they're blocking forward progress on already-scoped work.

Step 8: No file writes, no commit

/triage is read-only. It does NOT:

  • Modify any customer file
  • Commit anything to the repo
  • Write a session marker for any customer

The FDE chooses where to focus, then runs /customer-context <name> to enter a per-customer session.

Step 9: Suggest next step

After the brief, print:

Next:
  /customer-context <name>   # enter session for top-ranked customer
  /triage blocked            # narrow to only blocked customers
  /triage all                # see every customer regardless of activity

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.