analyze-failures

analyze-failures is a command for GitHub Copilot from katalon-labs/true-skills. It costs 125 tokens per session (1,282 once invoked), scanned A, original, MIT.

A workflow for investigating failed Katalon True Platform/TestOps test results and, when justified, filing defects. It classifies failures as product bugs, test-automation problems, or environment or data issues.

In plain words
What is it for?
Use it to read execution results, classify and group failures, inspect related defect information, identify likely causes from available data, and create a defect when the required result and ALM details are present.
Why use it?
It separates real application problems from failures caused by tests or test conditions. Grouping failures by shared signatures helps focus investigation on likely common causes.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to read execution results, classify and group failures, inspect related defect information, identify likely causes from available data, and create a defect when the required result and ALM details are present.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/katalon-labs/true-skills/analyze-failures
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.

Clone the repo
git clone --depth 1 https://github.com/katalon-labs/true-skills

Made for: GitHub Copilot.

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 analyze-failures

README.md
[![agentmods](https://agentmods.dev/badge/commands/katalon-labs/true-skills/analyze-failures/github.svg)](https://agentmods.dev/commands/katalon-labs/true-skills/analyze-failures)
Your own site
<a href="https://agentmods.dev/commands/katalon-labs/true-skills/analyze-failures"><img src="https://agentmods.dev/badge/commands/katalon-labs/true-skills/analyze-failures/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 analyze-failures

Your own site · 80×15
<a href="https://agentmods.dev/commands/katalon-labs/true-skills/analyze-failures"><img src="https://agentmods.dev/badge/commands/katalon-labs/true-skills/analyze-failures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,282 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.
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.00125 $0.01282
Opus 5 $0.00063 $0.00641
Sonnet 5 $0.00025 $0.00256
Haiku 4.5 $0.00013 $0.00128

Measured yesterday against content hash ee156a138445, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

analyze-failures 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 yesterday.

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.

.github/prompts/analyze-failures.prompt.md · 99 lines

How it starts

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

Katalon Analyze Failures

Use this skill for the failure-analysis part of the report/analysis stage: turn a set of failed results into a diagnosis and, when warranted, filed defects. The core value is classification — separating real product bugs from automation and environment noise.

Availability Boundary

  • Available via MCP: read results (read_test_result, read_execution_test_results, find_test_results, read_execution), defect context (fetch_defect_data), ALM discovery + filing (find_alm_integration_projects, create_defect).
  • Not directly available: AI root-cause summarization and automation-error-pattern analytics are TestOps/Studio product features, not MCP calls — narrate their availability, do not claim to call them. create_defect requires a known failed test result ID and ALM integration details; there is no ID-less defect creation.

Triage Workflow

+---------------------+     +----------------------+     +----------------------+
| Collect failures    | --> | Classify each        | --> | Cluster by signature |
| read results        |     | product/auto/env     |     |                      |
+---------------------+     +----------------------+     +----------------------+
                                                                   |
                                                                   v
                                                         +----------------------+
                                                         | File defects (asked) |
                                                         +----------------------+

Steps and tool rules

  1. Collect the failures. find_test_results (recent/specific) or read_execution_test_results for a run; read_test_result per failed case for detail.
  2. Classify each failure into one bucket:
    • Product defect — the application behaved wrong (assertion on real behavior failed, unexpected error/state). Candidate for a filed defect.
    • Automation defect — the test is wrong (bad locator, timing, stale data, broken step). Route to test-maintenance.
    • Environment / data — infra, account, network, fixture, or AUT-state issue. Route to re-run after fix.
  3. Cluster by signature. Group failures with the same error message / step / object so one root cause is not filed as N defects.
  4. Check existing defects. fetch_defect_data to avoid duplicate filings.
  5. File defects only when asked and only for product defects. find_alm_integration_projects -> create_defect with the failed result ID. Ask before creating unless the user explicitly requested defect filing.
  6. Report. Per cluster: classification, likely cause, affected cases, and action (file / repair / re-run).

Read the full file on GitHub · 99 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. yesterday First seen · 99 lines · 125 tokens per session scan A ee156a138445

Subscribe to this mod's changes

analyze-failures is a command published in the GitHub repository katalon-labs/true-skills (8 stars, last pushed 2d ago), licensed MIT. It adds 125 tokens to every session and 1,282 once invoked, about $0.0006 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-09-08.