skills/redash/SKILL.md
Query Mozilla's Redash (sql.telemetry.mozilla.org) for telemetry from BigQuery via saved query IDs or ad-hoc SQL. Use when the task references a saved query, needs FXCI worker-pool queue-time data, or wants results that can be shared and visualized. DO NOT USE FOR raw bq CLI work without a saved query (use bigquery).
npx skillsauth add jwmossmoz/agent-skills redashInstall 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 Mozilla's Redash (sql.telemetry.mozilla.org) for telemetry data. Redash is the front-end to BigQuery telemetry data.
@references/README.md @references/fxci-schema.md
REDASH_API_KEY environment variable setuv for running the script# Run custom SQL
uv run scripts/query_redash.py --sql "SELECT * FROM telemetry.main LIMIT 10"
# Fetch cached results from an existing Redash query
uv run scripts/query_redash.py --query-id 65967
# Save results to file
uv run scripts/query_redash.py --sql "SELECT 1" --output ~/moz_artifacts/data.json
Either --sql or --query-id is required.
| Flag | Description |
|------|-------------|
| --sql | SQL query to execute against BigQuery via Redash |
| --query-id | Fetch cached results from an existing Redash query ID |
| --output, -o | Save results to JSON file |
| --format, -f | Output format: json, csv, table (default: table) |
| --limit | Limit number of rows displayed |
These natural language prompts map to queries in references/common-queries.md:
| Prompt | Query used |
|--------|------------|
| "What's the DAU breakdown by macOS version?" | --query-id 114866 (macOS Version DAU) |
| "Show me macOS version × architecture distribution" | --query-id 114867 (macOS version × arch) |
| "What share of macOS users are on Apple Silicon?" | --query-id 114867, compare aarch64 vs x86_64 |
| "Pull the macOS DAU and arch breakdown for the last 28 days" | --query-id 114866 and --query-id 114867 |
| "What Windows versions are Firefox Desktop users on?" | --query-id 65967 (Windows Version Distribution) |
| "How many Firefox users are on Windows 11?" | --query-id 65967 |
| "What does the macOS adoption curve look like over time?" | --query-id 114866, look at darwin_version |
| "Why is a worker pool showing high queue time?" | Use the FXCI worker-pool queue-time query in references/common-queries.md |
| "What task groups are driving queue time for a worker pool?" | Use the FXCI worker-pool queue-time queries in references/common-queries.md |
For questions not covered by a documented query, write SQL on the fly using the table references in references/README.md.
@references/common-queries.md
--query-id N returns cached results from the saved query's last run. Pass --sql if you need fresh data or different parameters.REDASH_API_KEY (get one from your Redash profile). Without it the script fails before hitting the API.--sql inline rather than creating a saved query — saved queries proliferate, get stale, and clutter the UI for everyone.65967, 114866, 114867) are stable; if a query disappears, check references/common-queries.md for the SQL and re-create.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).