skills/task-discovery/SKILL.md
Query the Taskcluster task graph to list tasks assigned to specific worker types — for worker-pool migrations, audits of which tasks run on a pool, or building targeted `mach try fuzzy` queries. DO NOT USE FOR live task status, retriggers, or task logs (use taskcluster).
npx skillsauth add jwmossmoz/agent-skills task-discoveryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query the Taskcluster task graph to find tasks by worker type. Useful for worker pool
migrations (e.g., win11-64-24h2 → win11-64-25h2) and crafting precise mach try pushes.
uv run ~/.claude/skills/task-discovery/scripts/discover.py [options]
| Format | Description |
|--------|-------------|
| labels | One task label per line, sorted (default) |
| json | {"worker_type": "...", "count": N, "by_kind": {...}, "labels": [...]} |
| summary | Grouped by kind with counts per worker type (human-readable) |
| query | -q '<label>' flags for mach try fuzzy |
# List all unique worker types in the task graph
uv run discover.py --list-worker-types
# Find all tasks running on win11-64-24h2 (substring match)
uv run discover.py -w win11-64-24h2 -o summary
# Exact match only — excludes -gpu, -hw, -source variants
uv run discover.py -w win11-64-24h2 --exact -o json
# Filter to browsertime tasks on hardware workers
uv run discover.py -w win11-64-24h2-hw -k browsertime -o labels
# Generate mach try flags for a migration
uv run discover.py -w win11-64-24h2 -k test -o query | head -20
# Regex match for multiple variants
uv run discover.py -w 'win11-64-24h2(-gpu|-source)' --regex -o summary
# Check autoland instead of mozilla-central
uv run discover.py -w win11-64-24h2 --branch autoland -o summary
When migrating tasks from one pool to another:
discover.py -w win11-64-24h2 -o summarydiscover.py -w win11-64-24h2 -k test -o labels > tasks.txtquery output piped into mach try fuzzymach try fuzzy $(uv run discover.py -w win11-64-24h2-hw -k browsertime -o query)
| Flag | Default | Description |
|------|---------|-------------|
| -w, --worker-type | — | Worker type pattern |
| --exact | off | Require exact match (no substring) |
| --regex | off | Treat pattern as regex |
| -o, --output | labels | Output format |
| --branch | mozilla-central | Branch to fetch from |
| -k, --kind | all | Filter to specific kind(s), repeatable |
| --timeout | 120 | HTTP timeout in seconds |
| --list-worker-types | — | List all unique worker types (no -w needed) |
mozilla-central. For migration planning, pass --branch autoland — autoland is the integration branch upstream of central and reflects newer task graphs first.-w is substring match by default. win11-64-24h2 will pull in -gpu, -hw, and -source variants. Use --exact or --regex when you don't want them.--timeout.query output is designed for mach try fuzzy $(...) — paste it through xargs/$() rather than copying labels by hand.development
Download Azure Cost Management exports and query local Parquet/CSV in DuckDB. Use when refreshing local Azure cost caches or writing DuckDB SQL over exports. DO NOT USE FOR live Cost Management API diagnosis; use azure-cost-analysis.
data-ai
Use when creating performance self-reviews from local notes, prior reviews, review prompts, and verified evidence. Helps draft H1/H2, annual, and promotion self evaluations, example answers, and rich review-form paste output. Do not use for routine status or 1:1 summaries; use one-on-one.
tools
Prepare one-on-one/status bullets from ~/moz_artifacts using qmd and copy a topic-organized HTML/RTF list with embedded links to the macOS clipboard. Use when summarizing recent Mozilla work for a manager, 1:1, or status update. DO NOT USE FOR generating raw daily logs; use daily-log.
development
Use when tracing Taskcluster Azure VM startup from worker-manager request through in-VM boot scripts to generic-worker `workerReady` with tc-logview, paperctl, Splunk Web, and Yardstick Prometheus. Applies to Windows worker provisioning latency. DO NOT USE FOR task failure triage (use worker-image-investigation).