Agent skill

Analyze GitHub Flake

by flutter in flutter/flutter

Expertise in analyzing flake github issues in the flutter/flutter repository.

BSD-3-ClauseAuto-check passedMobile

Install Analyze GitHub Flake

skills CLI
$ npx skills add flutter/flutter --skill analyze-github-flake -a claude-code

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

GitHub CLI
$ gh skill install flutter/flutter analyze-github-flake --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/flutter/flutter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/analyze-github-flake .claude/skills/analyze-github-flake && 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
analyze-github-flake
GitHub stars
179k
Token cost
~1.1k tokens
SKILL.md length
414 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Expertise in analyzing flake github issues in the flutter/flutter repository.

  • Works in 2 steps: Is filed by fluttergithubbot → Has a title of the format " is X% flaky"
  • A user wants to analyze the flakiness of a specific link to a flutter github issue
  • Calls gh and curl; reaches ci.chromium.org and cr-buildbucket.appspot.com
  • Tasks that involve Cross-platform mobile apps

What it does

Analyze GitHub Flake is an agent skill from flutter/flutter. Expertise in analyzing flake github issues in the flutter/flutter repository. Use when a user wants to analyze the flakiness of a specific link to a flutter github issue.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps and Failing and flaky tests. It works with GitHub, Flutter and Dart. The repository describes itself as: Flutter makes it easy and fast to build beautiful apps for mobile and beyond. The licence is BSD-3-Clause.

When your agent uses it

  • A user wants to analyze the flakiness of a specific link to a flutter github issue
  • Tasks that involve Cross-platform mobile apps
  • Tasks that involve Failing and flaky tests

Example prompts

  • “/analyze-github-flake”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Is filed by fluttergithubbot
  2. Has a title of the format " is X% flaky"

What it can do on your machine

Read from SKILL.md and the folder at commit 9911f49. 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

    Shell commands in SKILL.md call:

    • gh
    • curl

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • ci.chromium.org
    • cr-buildbucket.appspot.com

    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

Analyze GitHub Flake loads about 1.1k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 414 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~1.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); files beside SKILL.md are not scanned.

SKILL.md

The full file from flutter/flutter at commit 9911f49, republished under its BSD-3-Clause licence (© flutter). 414 words, ~1,073 tokens.

Download SKILL.mdSave it as .claude/skills/analyze-github-flake/SKILL.md (or your agent's skills folder).
name
analyze-github-flake
description
Expertise in analyzing flake github issues in the flutter/flutter repository. Use when a user wants to analyze the flakiness of a specific link to a flutter github issue.
<!--
Host assumptions:
    Installed and on path:
        * dart
        * git
        * gh
    Had authentication setup:
        * gh
-->

Flake analysis instructions

Rules You should not modify ANY files - you are only to provide an analysis of why the specific check is flaking. You should only look at the issue body, as well as comments containing links to additional builds. You should not attempt to solve the flakes or pinpoint root causes inside of flutter/, just provide a high level summary of what is going on and bucket the failures into distinct types.

Collecting the list of failing builds and obtaining the logs

Github issue urls take the form of https://github.com/flutter/flutter/issues/<issue-number>. Where issue-number is a number.

Get information about the issue by using gh issue view <issue-number> --repo flutter/flutter --json=author,body,id,labels,number,state,title,url

For example to find information about the issue https://github.com/flutter/flutter/issues/174116 you can call gh issue view 174116 --repo flutter/flutter --json=author,body,id,labels,number,state,title,url

At this point there are two possible cases. If the issue

  1. Is filed by fluttergithubbot
  2. Has a title of the format "<ci.yaml target> is X% flaky" Then it is of the type we are looking to analyze. If it is not, you should short circuit here, either notifying the user that the issue is not filed by the github flake bot (if they directly asked for the skill to be invoked) or otherwise continue with your previous work (if they did not).

If the previous conditions are met, the title will contain the name of the flaking check, and the body will contain urls which link to instances where the check failed or flaked, each on a new line, directly after "Flaky builds:". You should also inspect the comments and find each comment made by "login": "fluttergithubbot", and extract the urls from there as well (the format will be the same, with an example flake at the top, and the full list immediately after the "Flaky builds:" header).

Show full SKILL.md (114 more words)Show less

To find information about the specific failure take one of the urls listed in the issue body. That link takes the format "https://ci.chromium.org/ui/p/flutter/builders/<bucket>/<check_name>/<buildNumber>/overview",

Example https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20plugin_test/16247/overview where prod is the <bucket>, Windows%20plugin_test is the <check_name> and 16247 is the <buildNumber>.

Then use the <buildNumber> to get the test logs metadata by running the following command.

curl 'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds/GetBuild' \
  -H 'accept: application/json' \
  -H 'accept-language: en-US,en;q=0.9,es;q=0.8' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'origin: https://ci.chromium.org' \
  -H 'pragma: no-cache' \
  -H 'priority: u=1, i' \
  -H 'referer: https://ci.chromium.org/' \
  -H 'sec-ch-ua: "Chromium";v="146", "Not-A.Brand";v="24", "Google Chrome";v="146"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: cross-site' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36' \
  -H 'x-return-encrypted-headers: all' \
  --data-raw '{"builder":{"project":"flutter","bucket":"<bucket>","builder":"<check_name>"},"buildNumber":<buildNumber>,"mask":{"fields":"id,builder,builderInfo,number,canceledBy,createdBy,createTime,startTime,endTime,cancelTime,status,statusDetails,summaryMarkdown,output,steps,tags,schedulingTimeout,executionTimeout,gracePeriod,ancestorIds,retriable"}}'

Ignore the characters )]}' that start the response and treat the rest like json.

Inspect the content of the logs to determine the cause of the failure.

Do this for each of the urls in the issue body. Collect the logs for each of the specific failures, and categorize them by the type of failure in to a high level summary.

© flutter, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/analyze-github-flake of flutter/flutter.

Open the folder on GitHubat commit 9911f49

Compare with similar skills

Analyze GitHub Flake 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.

Analyze GitHub Flake compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyze GitHub Flake this skillflutter/flutter179k—~1.1kAutomated safety check: PassBSD-3-Clause
Flutter Pub ReleaseMixinNetwork/flutter-plugins512—~1.3kAutomated safety check: PassMIT
Green GateVeryGoodOpenSource/vgv-ai-flutter-plugin170—~4.7kAutomated safety check: NotesMIT
Mock Call Count Retry Fallbackdivinevideo/divine-mobile266—~1.2kAutomated safety check: PassMPL-2.0
Mockito Stale Mock Silent Trycatch Failuredivinevideo/divine-mobile266—~1.4kAutomated safety check: PassMPL-2.0
MCP Debuggerdebugmcp/mcp-debugger173—~4.1kAutomated safety check: PassMIT

Similar skills

  • Flutter Pub Release

    MixinNetwork/flutter-plugins

    Prepare and draft a pub.dev release for a package in the flutter-plugins monorepo.

    512 GitHub stars~1.3k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Green Gate

    VeryGoodOpenSource/vgv-ai-flutter-plugin

    Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.

    170 GitHub stars~4.7k tokensUpdated 4 days ago
    MobileAuto-check: notes
  • Mock Call Count Retry Fallback

    divinevideo/divine-mobile

    Fix test failures when adding retry/fallback logic causes mock call count mismatches.

    266 GitHub stars~1.2k tokensUpdated today
    MobileAuto-check passed
  • Fix misleading Flutter/Dart test failures where expected data is empty ([]) or default values instead of the mocked response, caused by stale Mockito generated mocks or missing stubs being silently…

    266 GitHub stars~1.4k tokensUpdated today
    MobileAuto-check passed
  • MCP Debugger

    debugmcp/mcp-debugger

    A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…

    173 GitHub stars~4.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Flutter Testing

    MADTeacher/mad-agents-skills

    Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.

    110 GitHub stars~1.5k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed

More from flutter/flutter

All 14 skills in this repo
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    Auto-check passed
  • Flutter Cherry Pick

    flutter/flutter

    How to land a formal cherry-pick of a merged PR for the flutter/flutter repo stable or beta channel.

    179k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Upgrade Browser

    flutter/flutter

    Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests.

    179k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Bump Dart

    flutter/flutter

    Do not trigger automatically; only run when a user runs /bump-dart.

    179k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Run Devicelab With Led

    flutter/flutter

    Run DeviceLab tests for Flutter PRs using LUCI's led CLI tool.

    179k GitHub stars~852 tokensUpdated today
    Auto-check passed

Categories

Questions about Analyze GitHub Flake

What does Analyze GitHub Flake do?

Expertise in analyzing flake github issues in the flutter/flutter repository. Analyze GitHub Flake is an agent skill from flutter/flutter. Expertise in analyzing flake github issues in the flutter/flutter repository.

When should I use Analyze GitHub Flake?

Analyze GitHub Flake fits situations like: A user wants to analyze the flakiness of a specific link to a flutter github issue; tasks that involve Cross-platform mobile apps; tasks that involve Failing and flaky tests.

How do I install Analyze GitHub Flake in Claude Code?

Run `npx skills add flutter/flutter --skill analyze-github-flake -a claude-code`. Or copy the skill folder (.agents/skills/analyze-github-flake in flutter/flutter) into .claude/skills/analyze-github-flake in your project. Claude Code loads it when a task matches its description.

How do I install Analyze GitHub Flake in Codex?

Run `npx skills add flutter/flutter --skill analyze-github-flake -a codex`. Or copy the skill folder (.agents/skills/analyze-github-flake in flutter/flutter) into .agents/skills/analyze-github-flake in your project. Codex loads it when a task matches its description.

Can I use Analyze GitHub Flake 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 flutter/flutter --skill analyze-github-flake -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyze-github-flake, .gemini/skills/analyze-github-flake, .github/skills/analyze-github-flake and .opencode/skills/analyze-github-flake in your project.

What does Analyze GitHub Flake need to run?

Going by SKILL.md and its folder, Analyze GitHub Flake needs the command-line tools its instructions call (gh and curl).

Does Analyze GitHub Flake access the network?

SKILL.md names 2 domains. In commands or code: ci.chromium.org and cr-buildbucket.appspot.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Analyze GitHub Flake 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. Review the folder before installing.

What licence does Analyze GitHub Flake use?

Analyze GitHub Flake is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyze GitHub Flake use?

About 1.1k tokens (SKILL.md is roughly 4.3k 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 Analyze GitHub Flake?

Skills that share tags, products or a category with Analyze GitHub Flake: Flutter Pub Release (MixinNetwork/flutter-plugins, 512 stars), Green Gate (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars), Mock Call Count Retry Fallback (divinevideo/divine-mobile, 266 stars) and Mockito Stale Mock Silent Trycatch Failure (divinevideo/divine-mobile, 266 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyze GitHub Flake?

flutter (a GitHub organization) maintains it in flutter/flutter, which has 179,269 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 10, 2026.

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