Agent skill

Automate Test Triage

by GoogleCloudPlatform in GoogleCloudPlatform/magic-modules

Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

Custom licenceAuto-check passedTesting & QA

Install Automate Test Triage

skills CLI
$ npx skills add GoogleCloudPlatform/magic-modules --skill automate-test-triage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GoogleCloudPlatform/magic-modules automate-test-triage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/automate-test-triage .claude/skills/automate-test-triage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
automate-test-triage
GitHub stars
974
Token cost
~1k tokens
SKILL.md length
486 words
Files
2 (incl. scripts)
Skills in repo
30
Repo updated
First seen
Licence
Custom licence

At a glance

Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

  • Works in 2 steps: Execute Triage Script → Triage & Aggregation Rules
  • Tasks that involve Failing and flaky tests
  • SKILL.md covers Prerequisites and Execution Steps
  • Runs Python scripts from its folder; calls gcloud, python3 and gh

What it does

Automate Test Triage is an agent skill from GoogleCloudPlatform/magic-modules. Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/triage.py`).

It sits in Testing & QA, covering Failing and flaky tests. It works with Google Cloud and GitHub. The repository describes itself as: Add Google Cloud Platform support to Terraform.

When your agent uses it

  • Tasks that involve Failing and flaky tests

Example prompts

  • “/automate-test-triage”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Execute Triage Script
  2. Triage & Aggregation Rules

What it can do on your machine

Read from SKILL.md and the folder at commit e5db069. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • gcloud
    • python3
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gcloud and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Automate Test Triage loads about 1k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 486 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 486 words (~1,044 tokens).

“Run the automated triage script from the workspace root:”

— opening of SKILL.md by GoogleCloudPlatform, Custom licence
name
automate-test-triage

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in .agents/skills/automate-test-triage of GoogleCloudPlatform/magic-modules.

  • SKILL.md
  • scripts/triage.py

Open the folder on GitHubat commit e5db069

Compare with similar skills

Automate Test Triage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Automate Test Triage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Automate Test Triage this skillGoogleCloudPlatform/magic-modules974—~1kAutomated safety check: PassCustom licence
Triage CI Flakepayloadcms/payload45k—~4.4kAutomated safety check: PassMIT
GreptimeDB Fuzz CI Failure InvestigationGreptimeTeam/greptimedb6.7k—~4.4kAutomated safety check: PassApache-2.0
Fix Issueremix-run/remix33k—~1.8kAutomated safety check: PassMIT
Issue To Regression Testbrunosabot/streamline-card269—~529Automated safety check: PassMIT
Detect Flaky Testsagent-substrate/substrate4.5k—~3kAutomated safety check: PassApache-2.0

Similar skills

  • Triage CI Flake

    payloadcms/payload

    A skill your agent uses when CI tests fail on main branch after PR merge, when investigating flaky test failures, or when user provides a PR URL/number to aggregate all failing tests

    45k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Diagnoses a failed GreptimeDB fuzz CI job by pulling its GitHub Actions logs and fuzz artifacts, then matching the evidence to the local source code.

    6.7k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Fix Issue

    remix-run/remix

    Fix a reported issue in Remix from a GitHub issue. An agent skill from remix-run/remix.

    33k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Issue To Regression Test

    brunosabot/streamline-card

    A skill your agent uses when the user asks to fix a bug, references a GitHub issue number, or describes an issue and wants a fix.

    269 GitHub stars~529 tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Detect Flaky Tests

    agent-substrate/substrate

    Detects flaky Go tests by analyzing GitHub Actions workflow runs across the last 7 days and all PRs — covering both the run-tests job (unit/integration) and the e2e-test job (gVisor and microVM…

    4.5k GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed
  • Official

    Investigate and fix flaky/random CI test failures in dotnet/macios.

    2.9k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed

More from GoogleCloudPlatform/magic-modules

All 30 skills in this repo
  • Run Pre Gen Checks

    GoogleCloudPlatform/magic-modules

    Run fast static checks that don't require generating downstreams, including git submodule verification, gofmt formatting, YAML linting, template validation (version-guard and unused-tmpl), mmv1 core…

    974 GitHub stars~492 tokensUpdated today
    Auto-check passed
  • Validate Provider Changes

    GoogleCloudPlatform/magic-modules

    Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation.

    974 GitHub stars~528 tokensUpdated today
    Auto-check passed
  • Add List Resource Workflow

    GoogleCloudPlatform/magic-modules

    Opt resource into MMv1 list-resource generation by setting generatelistresource: true and validate it locally with generated tests.

    974 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Fetch Nightly Results

    GoogleCloudPlatform/magic-modules

    Skill to fetch latest nightly test results and metadata for Beta or GA providers from GCS test-metadata.

    974 GitHub stars~615 tokensUpdated today
    Auto-check passed
  • Dev Overrides

    GoogleCloudPlatform/magic-modules

    Configures Terraform CLI with developer overrides to test locally built provider binaries without full Go acceptance tests, enabling rapid plan/apply cycles.

    974 GitHub stars~432 tokensUpdated today
    Auto-check passed
  • Generate Provider

    GoogleCloudPlatform/magic-modules

    Executes code generation from Magic Modules into downstream Terraform providers and optionally compiles the binary.

    974 GitHub stars~475 tokensUpdated today
    Auto-check passed

Categories

Questions about Automate Test Triage

What does Automate Test Triage do?

Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report. Automate Test Triage is an agent skill from GoogleCloudPlatform/magic-modules. Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

When should I use Automate Test Triage?

Automate Test Triage fits situations like: tasks that involve Failing and flaky tests.

How do I install Automate Test Triage in Claude Code?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill automate-test-triage -a claude-code`. Or copy the skill folder (.agents/skills/automate-test-triage in GoogleCloudPlatform/magic-modules) into .claude/skills/automate-test-triage in your project. Claude Code loads it when a task matches its description.

How do I install Automate Test Triage in Codex?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill automate-test-triage -a codex`. Or copy the skill folder (.agents/skills/automate-test-triage in GoogleCloudPlatform/magic-modules) into .agents/skills/automate-test-triage in your project. Codex loads it when a task matches its description.

Can I use Automate Test Triage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/magic-modules --skill automate-test-triage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/automate-test-triage, .gemini/skills/automate-test-triage, .github/skills/automate-test-triage and .opencode/skills/automate-test-triage in your project.

What does Automate Test Triage need to run?

Going by SKILL.md and its folder, Automate Test Triage needs Python for the scripts in its folder and the command-line tools its instructions call (gcloud, python3 and gh). Our summary lists: Python 3.

Does Automate Test Triage access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Automate Test Triage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Automate Test Triage use?

Automate Test Triage has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Automate Test Triage use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Automate Test Triage?

Skills that share tags, products or a category with Automate Test Triage: Triage CI Flake (payloadcms/payload, 45k stars), GreptimeDB Fuzz CI Failure Investigation (GreptimeTeam/greptimedb, 6.7k stars), Fix Issue (remix-run/remix, 33k stars) and Issue To Regression Test (brunosabot/streamline-card, 269 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Automate Test Triage?

GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/magic-modules, which has 974 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.

Source: GoogleCloudPlatform/magic-modules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.