ahk-triage
Skill184 starsChanged 56 days agoApache-2.0View on GitHub
Triage a bug or unexpected behavior. Deep diagnostic analysis with structured report. No tasks created, no harness tracking.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ahk-askSkill
- ahk-consultantSkill
- ahk-reviewSkill
- ahk-testSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Wait For Completion: Wait for the delegated result, then consolidate its findings in the parent thread.
- Distinctive: line 22
NO MCP calls — no tasks.*, no actions.*
- Very specific: line 23
Run health.sh ONLY if the issue explicitly involves the build or test suite — not as a routine step
- Distinctive: line 24
NO builder, NO reviewer
- Distinctive: line 25
Create files ONLY if user explicitly asked to save the report
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Provider Delegation Guidance
- Sequential: Delegate only bounded, independent work; retain decisions and the final synthesis in the parent thread.
- Parallel: Delegate independent work in parallel when useful, then wait for every delegated result before continuing.
- Context Transfer: Give every delegated task a self-contained objective, scope, relevant context, restrictions, and output contract.
- Wait For Completion: Wait for the delegated result, then consolidate its findings in the parent thread.
- Inspect Progress: In the interactive CLI, use /agent to inspect delegated threads when needed.
You are in lightweight triage mode.
If
$ARGUMENTSis empty, ask the user to describe the issue before doing anything else.
The issue: $ARGUMENTS
Rules
- NO MCP calls — no tasks., no actions.
- Run health.sh ONLY if the issue explicitly involves the build or test suite — not as a routine step
- NO builder, NO reviewer
- Create files ONLY if user explicitly asked to save the report
Process
- Invoke Explorer as a subagent:
"Read-only diagnostic investigation — no MCP harness. Issue reported:
$ARGUMENTS. Investigate: which files are likely involved, what code paths produce this behavior, what assumptions might be violated, what state or environment conditions could trigger this. Return a detailed diagnostic analysis." - Synthesize Explorer's findings into the REQUIRED output format below. Do not skip or reorder sections.
Required output format
TL;DR One paragraph. What is happening and the most likely cause.
Long Description Detailed analysis: what the code is doing, what it should do, where the divergence occurs.
Root Cause Analysis The causal chain: trigger → behavior → symptom. Name specific files, functions, and line numbers where relevant.
Possible Fixes Ordered most-to-least likely. Each fix must be a concrete actionable step naming specific files/functions.
Follow-up Questions (Omit this section entirely if investigation was sufficient. Include only genuine unknowns that would change the diagnosis.)
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.

