Agent skill

Run Devicelab With Led

by flutter in flutter/flutter

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

BSD-3-ClauseAuto-check passedMobile

Install Run Devicelab With Led

skills CLI
$ npx skills add flutter/flutter --skill run-devicelab-with-led -a claude-code

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

GitHub CLI
$ gh skill install flutter/flutter run-devicelab-with-led --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/run-devicelab-with-led .claude/skills/run-devicelab-with-led && 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
run-devicelab-with-led
GitHub stars
179k
Token cost
~786 tokens
SKILL.md length
268 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

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

  • Works in 3 steps: Gather Inputs based on PR Type → Execute led Pipeline → Report Launched Task Details
  • Deflake a post-submit
  • SKILL.md covers Prerequisites, Workflow and Example
  • Calls git; reaches flutter.googlesource.com

What it does

Run Devicelab With Led is an agent skill from flutter/flutter. Run DeviceLab tests for Flutter PRs using LUCI's led CLI tool. Use when asked to run, launch, try, or deflake a post-submit or devicelab test against a PR using led.

Its SKILL.md is about 790 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. It works with Flutter, iOS 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

  • Deflake a post-submit
  • Devicelab test against a PR using led

Example prompts

  • “/run-devicelab-with-led”

Workflow steps

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

  1. Gather Inputs based on PR Type
  2. Execute led Pipeline
  3. Report Launched Task Details

What it can do on your machine

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

    • git

    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:

    • flutter.googlesource.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

Run Devicelab With Led loads about 786 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 268 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
~786

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 8679894, republished under its BSD-3-Clause licence (© flutter). 268 words, ~786 tokens.

Download SKILL.mdSave it as .claude/skills/run-devicelab-with-led/SKILL.md (or your agent's skills folder).
name
run-devicelab-with-led
description
Run DeviceLab tests for Flutter PRs using LUCI's `led` CLI tool. Use when asked to run, launch, try, or deflake a post-submit or devicelab test against a PR using `led`.
<!--
Host assumptions:
    Installed and on path:
        * led (from depot_tools)
        * git
        * gh
    Had authentication setup:
        * led
        * gh
        * gcert / glogin (SSO auth required for recipes repository git operations)
-->

Running DeviceLab Tests with led

This skill guides running post-submit and DeviceLab tests for pull requests (PRs) using LUCI's led CLI tool. For additional context, see docs/infra/Running-Devicelab-Tests-For-PR.md.

Prerequisites

  1. led tool: Must be installed (via depot_tools) and available in your PATH. Verify via led auth-info.
  2. SSO authentication: Verify valid SSO / LOAS credentials via gcertstatus or glogin status. If expired, instruct the user to run glogin or gcert.
  3. recipes repository (when including led edit-recipe-bundle): If testing local recipe changes or recipe-only PRs, commands containing led edit-recipe-bundle must be executed from the root of a local checkout of the Flutter recipes repository (git clone https://flutter.googlesource.com/recipes).

Workflow

1. Gather Inputs based on PR Type

Collect the following required arguments:

  • PR_NUMBER: The pull request number (e.g., 123456).
  • PRESUBMIT_TEST: The exact name of the LUCI staging builder to run (e.g., Windows_mokey hot_mode_dev_cycle_win__benchmark or Mac_ios microbenchmarks_ios).
2. Execute led Pipeline

If you are using led edit-recipe-bundle to test local recipe modifications, navigate to the root of your local recipes repository checkout ($CWD is packaged by led edit-recipe-bundle). If only testing without recipe edits, led edit-recipe-bundle can either be run from a recipes checkout or omitted.

Run the command pipeline corresponding to the PR type:

Command
bash
led get-builder 'luci.flutter.staging:PRESUBMIT_TEST' \
  | led edit -pa git_ref='refs/pull/PR_NUMBER/head' \
  | led edit -pa git_url='https://github.com/flutter/flutter' \
  | led edit-recipe-bundle \
  | led launch
3. Report Launched Task Details

led launch outputs details about the launched build, including Swarming / LUCI task links. Provide the resulting URL to the user so they can track execution progress and examine logs.

Example

  • User Prompt: "Run the devicelab test Windows_mokey hot_mode_dev_cycle_win__benchmark for framework PR 12345 with led."
  • Action: Run the led command (navigate to local recipes/ directory if using led edit-recipe-bundle for local recipe edits):
    bash
    led get-builder 'luci.flutter.staging:Windows_mokey hot_mode_dev_cycle_win__benchmark' \
      | led edit -pa git_ref='refs/pull/12345/head' \
      | led edit -pa git_url='https://github.com/flutter/flutter' \
      | led edit-recipe-bundle \
      | led launch

© 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/run-devicelab-with-led of flutter/flutter.

Open the folder on GitHubat commit 8679894

Compare with similar skills

Run Devicelab With Led 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.

Run Devicelab With Led compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Run Devicelab With Led this skillflutter/flutter179k—~786Automated safety check: PassBSD-3-Clause
Liquid Glass Widgetssdegenaar/liquid_glass_widgets712—~3.8kAutomated safety check: PassMIT
flutter_soloud Setupalnitak/flutter_soloud424—~3.6kAutomated safety check: NotesMIT
Restart App Integrationgabrimatic/restart_app129—~1.5kAutomated safety check: PassMIT
Restart App iOS Engine Restartgabrimatic/restart_app129—~1.1kAutomated safety check: PassMIT
Flutter Appccplugins/awesome-claude-code-plugins968—~1.1kAutomated safety check: NotesApache-2.0

Similar skills

  • Liquid Glass Widgets

    sdegenaar/liquid_glass_widgets

    Mastery guide and architectural rules for liquidglasswidgets.

    712 GitHub stars~3.8k tokensUpdated today
    MobileAuto-check passed
  • flutter_soloud Setup

    alnitak/flutter_soloud

    Walks through adding the flutter_soloud audio engine to a Flutter app, with per-platform setup, initialization, binary-size and logging options, and output device switching.

    424 GitHub stars~3.6k tokensUpdated yesterday
    MobileAuto-check: notes
  • Restart App Integration

    gabrimatic/restart_app

    Integrate or troubleshoot Flutter app restarts with restartapp, including restart modes, results, saved data, web routes, desktop relaunches, and requests from background isolates.

    129 GitHub stars~1.5k tokensUpdated 14 days ago
    MobileAuto-check passed
  • Restart App iOS Engine Restart

    gabrimatic/restart_app

    Configure or debug restartapp Flutter engine restart on iOS, including AppDelegate and UIScene registration, custom native shells, engine factories, and explicit notification fallback.

    129 GitHub stars~1.1k tokensUpdated 14 days ago
    MobileAuto-check passed
  • Flutter App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.

    968 GitHub stars~1.1k tokensUpdated 1 mo ago
    MobileAuto-check: notes
  • Fkit Setup

    Joker-x-dev/FlutterKit

    将 FlutterKit 脚手架初始化为新的应用项目,统一修改应用显示名称、Dart 包名、Android Application ID、Apple Bundle ID、Linux/Windows 标识、Web 名称、运行时品牌文案、Logo、桌面图标和启动页。用户拉取模板后要求改名、改包名、替换品牌资源或完成首次项目配置时使用。

    127 GitHub stars~720 tokensUpdated 2 mo ago
    MobileAuto-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
  • Shepherd PRs

    flutter/flutter

    Automate shepherding, checking status, updating branches, and landing open PRs or approved third-party contributor PRs in the flutter/flutter repository using the gh CLI.

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

Works with

Categories

Questions about Run Devicelab With Led

What does Run Devicelab With Led do?

Run DeviceLab tests for Flutter PRs using LUCI's led CLI tool. Run Devicelab With Led is an agent skill from flutter/flutter. Run DeviceLab tests for Flutter PRs using LUCI's led CLI tool.

When should I use Run Devicelab With Led?

Run Devicelab With Led fits situations like: deflake a post-submit; devicelab test against a PR using led.

How do I install Run Devicelab With Led in Claude Code?

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

How do I install Run Devicelab With Led in Codex?

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

Can I use Run Devicelab With Led 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 run-devicelab-with-led -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-devicelab-with-led, .gemini/skills/run-devicelab-with-led, .github/skills/run-devicelab-with-led and .opencode/skills/run-devicelab-with-led in your project.

What does Run Devicelab With Led need to run?

Going by SKILL.md and its folder, Run Devicelab With Led needs the command-line tools its instructions call (git).

Does Run Devicelab With Led access the network?

SKILL.md names 1 domain. In commands or code: flutter.googlesource.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Run Devicelab With Led 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 Run Devicelab With Led use?

Run Devicelab With Led 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 Run Devicelab With Led use?

About 786 tokens (SKILL.md is roughly 3.1k 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 Run Devicelab With Led?

Skills that share tags, products or a category with Run Devicelab With Led: Liquid Glass Widgets (sdegenaar/liquid_glass_widgets, 712 stars), flutter_soloud Setup (alnitak/flutter_soloud, 424 stars), Restart App Integration (gabrimatic/restart_app, 129 stars) and Restart App iOS Engine Restart (gabrimatic/restart_app, 129 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Run Devicelab With Led?

flutter (a GitHub organization) maintains it in flutter/flutter, which has 179,369 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 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.