ai-bug-triage

ai-bug-triage is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 148 tokens per session (4,960 once invoked), scanned A, original, MIT.

A bug-triage pipeline that cleans up failure logs, groups likely duplicates using stable fingerprints, and uses an AI model to classify severity and write tickets. Bug triage is the process of sorting failures and deciding what should be fixed first.

In plain words
What is it for?
Use it with CI logs, test output, monitoring errors, or user reports to group duplicates, classify severity, and prepare tickets for Jira, Linear, GitHub Issues, Azure DevOps, or Shortcut.
Why use it?
It reduces repeated reports and turns noisy logs or manual reports into consistent information for the development team. Separating duplicate detection from AI explanations helps avoid treating similar failures as unrelated bugs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with CI logs, test output, monitoring errors, or user reports to group duplicates, classify severity, and prepare tickets for Jira, Linear, GitHub Issues, Azure DevOps, or Shortcut.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petrkindlmann/qa-skills/ai-bug-triage
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 petrkindlmann/qa-skills --skill ai-bug-triage
Clone the repo
git clone --depth 1 https://github.com/petrkindlmann/qa-skills

Made for: Claude Code, Codex.

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 ai-bug-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/ai-bug-triage/github.svg)](https://agentmods.dev/skills/petrkindlmann/qa-skills/ai-bug-triage)
Your own site
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/ai-bug-triage"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/ai-bug-triage/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 ai-bug-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/ai-bug-triage"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/ai-bug-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,960 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
  • Socket pass 11 May 2026
  • Snyk pass 11 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00148 $0.04960
Opus 5 $0.00074 $0.02480
Sonnet 5 $0.00030 $0.00992
Haiku 4.5 $0.00015 $0.00496

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

Security

Grade A, and why

ai-bug-triage 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 11d 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.

skills/ai-bug-triage/SKILL.md · 418 lines

How it starts

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

Key reframe: The LLM is best at explaining and routing, not deduplication. Teach agents to DESIGN the pipeline, not BE the pipeline.


Discovery Questions

Check .agents/qa-project-context.md first — it carries tech stack, component mapping, and known flaky areas that improve classification accuracy. Use it and skip anything already answered there. Then clarify:

  1. What is the failure source?

    • CI pipeline logs (GitHub Actions, GitLab CI, Jenkins, CircleCI)
    • Test framework output (Playwright, Jest, pytest, Vitest)
    • Production error monitoring (Sentry, Datadog, Bugsnag)
    • Manual bug reports from QA or users
  2. What is the ticket destination?

    • Jira, Linear, GitHub Issues, Azure DevOps, Shortcut
    • What fields are required? (component, severity, priority, labels)
    • What workflows exist? (triage board, auto-assignment rules)
  3. What is the deduplication scope?

    • Same test run? Same sprint? Same release? All time?
    • Do you already have fingerprinting? What is the current duplicate rate?
  4. What approval workflow is needed?

    • Auto-create tickets with human review?
    • Suggest tickets for human approval before creation?
    • Auto-close duplicates? (dangerous -- require approval)
  5. What historical data exists?

    • Past bug reports with resolution data?
    • Flaky test history? Known environment issues?
    • Component ownership mapping?

Core Principles

  1. Deterministic first, LLM second. Use stable, reproducible fingerprinting for deduplication and clustering. Use LLM only for tasks requiring understanding: severity classification, root cause hypothesis, and human-readable ticket writing.

  2. Normalize before comparing. Raw CI logs are full of timestamps, port numbers, process IDs, and random suffixes that make identical failures look different. Strip all noise before fingerprinting.

Read the full file on GitHub · 418 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 418 lines · 148 tokens per session scan A 17b7e094eb8f

Subscribe to this mod's changes

ai-bug-triage is a skill published in the GitHub repository petrkindlmann/qa-skills (118 stars, last pushed 3mo ago), licensed MIT. It adds 148 tokens to every session and 4,960 once invoked, about $0.0007 per session on Opus 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-08-30.

Related

Other skills, from other repositories

cocoreview

CocoReview — structured code review with six-severity findings vocabulary, progressive disclosure architecture, and universal anti-pattern baseline. Invoked via $review [file] [--complexity] [--security] [--architecture] [--language ].

Snowflake-Labs/cocoplus · 57 tokens

meter-reconcile

Skill-native CocoMeter transcript reconciliation and adapter canary. Replaces the former meter-reconcile and adapter-self-test runtime helpers.

Snowflake-Labs/cocoplus · 29 tokens

afrexai-performance-engineering

Complete performance engineering system — profiling, optimization, load testing, capacity planning, and performance culture. Use when diagnosing slow applications, optimizing code/queries/infrastructure, load testing before launch, planning capacity, or building performance into CI/CD. Covers Node.js, Python, Go…

LeoYeAI/openclaw-master-skills · 71 tokens

agent-anti-false-completion

A set of working rules for coding agents that emphasizes checking results, investigating related problems, and reporting honestly.

LeoYeAI/openclaw-master-skills · 95 tokens

agent-bom-troubleshoot

Diagnose issues, check prerequisites, and validate configurations. Use when: "doctor", "debug", "why failing", "validate config", "check prerequisites", "something is broken", "db status", "fix my setup".

LeoYeAI/openclaw-master-skills · 53 tokens

Dark Mode Bug Finder

Detect dark mode rendering issues including contrast failures, missing theme tokens, image inversions, and transition glitches across components.

PramodDutta/qaskills · 28 tokens