triage-flaky-test

triage-flaky-test is a skill for Claude Code, Codex from neverinfamous/mysql-mcp. It costs 32 tokens per session (2,909 once invoked), scanned A, a copy of triage-flaky-test, MIT.

A workflow for investigating one flaky test, meaning a test that sometimes passes and sometimes fails without a relevant code change.

In plain words
What is it for?
Use it to review a test's history, identify its failure category, and receive a recommendation for the next action.
Why use it?
It helps distinguish recurring failure patterns from one-off failures and choose whether to fix, quarantine, or escalate the test.

Skill for Claude CodeCodex

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

Good fit Use it to review a test's history, identify its failure category, and receive a recommendation for the next action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neverinfamous/mysql-mcp/triage-flaky-test
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 neverinfamous/mysql-mcp --skill triage-flaky-test
Clone the repo
git clone --depth 1 https://github.com/neverinfamous/mysql-mcp

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 triage-flaky-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/neverinfamous/mysql-mcp/triage-flaky-test/github.svg)](https://agentmods.dev/skills/neverinfamous/mysql-mcp/triage-flaky-test)
Your own site
<a href="https://agentmods.dev/skills/neverinfamous/mysql-mcp/triage-flaky-test"><img src="https://agentmods.dev/badge/skills/neverinfamous/mysql-mcp/triage-flaky-test/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-flaky-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/neverinfamous/mysql-mcp/triage-flaky-test"><img src="https://agentmods.dev/badge/skills/neverinfamous/mysql-mcp/triage-flaky-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,909 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 100% copy Near-identical to another mod 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.00032 $0.02909
Opus 5.5 $0.00013 $0.01164
Sonnet 5.5 $0.00006 $0.00582
Haiku 4.5 $0.00003 $0.00291

Measured 3mo ago against content hash 224a9f648b9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

triage-flaky-test 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 3mo 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.

Origin

This is a copy

100% identical to triage-flaky-test — 189 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/datadog/dd-software-delivery/triage-flaky-test/SKILL.md · 257 lines

How it starts

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

Triage Flaky Test

One-line summary: Investigate a specific flaky test — get history, failure pattern, and category, then recommend fix, quarantine, or escalate.

Requires: dd-pup skill (pup CLI installed and authenticated).


Backend

Detection — At the start of every invocation, before taking any action, determine which backend to use:

  1. If the user passed --backend pup anywhere → use pup mode immediately. Skip steps 2–4.
  2. Check whether get_datadog_flaky_tests appears in your available tools.
  3. If present → use MCP mode throughout. Call tools exactly as named in this skill's workflow sections.
  4. If absent → check whether pup is executable: run pup --version via Bash. If the command exits successfully (exit code 0), pup is available.
  5. If pup responds → use pup mode throughout. Translate every tool call using the Tool Reference appendix at the bottom of this file.
  6. If neither is available → stop and tell the user:

    "Neither the Datadog MCP server nor the pup CLI is available. Connect the MCP server or install pup (brew install datadog-labs/pack/pup)."

pup invocation rules:

  • Invoke via Bash. pup always outputs JSON — parse directly.
  • Repository IDs passed to pup must be fully lowercase (the API rejects mixed-case).
  • Sort values starting with - require = syntax: --sort="-last_flaked" (not --sort "-last_flaked").
  • If pup returns a 401/403, tell the user to run pup auth refresh or pup auth login.

Input

Parameter Description
Test name Fully qualified test name (e.g. TestMyFunc or com.example.MyTest)
Repository Lowercase, no-schema URL (e.g. github.com/org/repo). Derive from git remote get-url origin if not provided.

Workflow

STEP 0 — Parse Input

Derive repository ID from git if not provided:

git remote get-url origin
# Strip protocol and trailing .git, then lowercase the result
# e.g. https://github.com/DataDog/my-repo.git → github.com/datadog/my-repo

Read the full file on GitHub · 257 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. 3mo ago First seen · 257 lines · 32 tokens per session scan A 224a9f648b9d

Subscribe to this mod's changes

triage-flaky-test is a skill published in the GitHub repository neverinfamous/mysql-mcp (10 stars, last pushed 7d ago), licensed MIT. It adds 32 tokens to every session and 2,909 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to triage-flaky-test, differing in 189 lines, and is treated as a copy.

Related

triage-flaky-test compared with skills from other repositories

triage-flaky-test next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
triage-flaky-testneverinfamous/mysql-mcpSkill107d agoMITA32Claude Code, Codex
graphjin-evaldosco/graphjinSkill3.2kyesterdayApache-2.0A27Claude Code, Codex
flyenv-failure-boundariesxpf0000/FlyEnvSkill3.4k7d agoBSD-3-ClauseA41Claude Code, Codex
slow-query-optimizeDeepSQLAI/deepsqlSkill415d agoApache-2.0A28Claude Code, Codex
ensemble-fix-issueFortiumPartners/ensembleSkill124d agoMITA27Claude Code, Codex
cli-audit-tangleDestynova2/cli-code-skillsSkill66d agoMITA220Claude Code
cli-forge-resilienceDestynova2/cli-code-skillsSkill66d agoMITA152Claude Code