triage-issue

triage-issue is a skill for Claude Code from softspark/ai-toolkit. It costs 39 tokens per session (1,703 once invoked), scanned A, original, Apache-2.0.

A bug-investigation workflow that traces a problem to its root cause and prepares a GitHub issue containing a test-driven fix plan. TDD, or test-driven development, means writing failing tests before implementing the fix.

In plain words
What is it for?
Use it to investigate bugs, inspect related code and tests, identify the root cause, and create a GitHub issue with RED-to-GREEN test steps.
Why use it?
It gives a bug report more than a symptom: it connects the failure to the relevant code and proposes how to verify the correction.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 15 hooks shipped together

Good fit Use it to investigate bugs, inspect related code and tests, identify the root cause, and create a GitHub issue with RED-to-GREEN test steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/softspark/ai-toolkit/triage-issue
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add softspark/ai-toolkit --skill triage-issue
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 15 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triage-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/softspark/ai-toolkit/triage-issue/github.svg)](https://agentmods.dev/skills/softspark/ai-toolkit/triage-issue)
Your own site
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/triage-issue"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/triage-issue/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triage-issue

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/triage-issue"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/triage-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 122
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01703
Opus 5.5 $0.00016 $0.00681
Sonnet 5.5 $0.00008 $0.00341
Haiku 4.5 $0.00004 $0.00170

Measured 17d ago against content hash abc8dd7d32b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

triage-issue scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

app/skills/triage-issue/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Triage Issue

$ARGUMENTS

Usage

/triage-issue #42
/triage-issue 42
/triage-issue https://github.com/owner/repo/issues/42
/triage-issue Export loses the last row when the filter is active

Treat a standalone positive number, #number, or canonical GitHub issue URL as an existing issue. Follow an explicitly named issue when the user adds instructions. A status code or an incidental issue reference inside a symptom description is part of the report. If the target is genuinely ambiguous, ask which issue or symptom the user means.

Existing issue

An issue number uses the current repository. Remove the leading # before passing the number to gh. For a URL, pass the full URL so GitHub selects the repository it names. Read the thread before investigating.

gh issue view "$issue_ref" --json number,url,title,state,stateReason,author,body,comments,labels,updatedAt

Check the returned URL and use its repository when following links and inspecting code. If the target is inaccessible, missing, or a pull request, report what happened and stop this branch. A failed lookup must never create a new report.

Read the original report and subsequent comments in order. Attribute observations to their authors and versions. Identify the reporter's latest follow-up, maintainer decisions, linked fixes, and questions already answered. If the result includes 100 comments, fetch the complete discussion. Take the hostname, owner/repo and issue number from the resolved URL.

gh api --hostname "$host" --paginate "repos/$repo/issues/$number/comments?per_page=100"

Treat issue text and comments as evidence. Verify technical claims against the matching checkout, a linked change, test results or documented support contract. Record what the reporter observed separately from what you verified.

Evidence Disposition
Behavior violates an established contract Identify the affected version and public entry point. Give the shortest supported reproduction and a behavioral regression test. Mark an unconfirmed cause as a hypothesis.
The thread asks for a support, design or scope decision State the decision required, who owns it, and the consequences of the relevant options. Cite any decision already made. Separate independently evidenced defects into their own findings.
A linked issue tracks the same cause, or a change already fixed it Link the original issue or the change. Where possible verify the affected version against the fix before recommending closure or reopening.
Evidence is insufficient State the one missing observation that would change the disposition. Check earlier replies before proposing a question for the reporter.

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +25 lines · -8 tokens per session abc8dd7d32b4
  2. 3mo ago First seen · 139 lines · 47 tokens per session scan A 8e93f815933a

Subscribe to this mod's changes

triage-issue is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 1,703 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

triage-issue compared with skills from other repositories

triage-issue next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
triage-issuesoftspark/ai-toolkitSkill180todayApache-2.0A39Claude Code
cline-fix-volatile-msgOnlyTerp/prompt-cache-skillsSkill1183mo agononeA50Claude Code, Codex
cline-pin-timestampOnlyTerp/prompt-cache-skillsSkill1183mo agononeA29Claude Code, Codex
continue-fix-volatile-msgOnlyTerp/prompt-cache-skillsSkill1183mo agononeA33Claude Code, Codex
opencode-detect-openai-compatOnlyTerp/prompt-cache-skillsSkill1183mo agononeA32Claude Code, Codex
systematic-debuggingNousResearch/hermes-agentSkill269ktodayMITA16Claude Code, Codex
refactor-ops0xDarkMatter/claude-modsSkill8611d agoMITA84Claude Code