npx claudepluginhub akkomar/mozdata-claude-pluginMozilla data engineering toolkit: telemetry discovery, BigQuery queries, and Airflow debugging
A Claude Code plugin for Mozilla data engineering: telemetry probe discovery, BigQuery query writing, and Airflow DAG failure debugging.
This plugin is in development. Feel free to use and report issues.
This plugin helps you:
/mozdata:ask Slash CommandActivates Mozilla telemetry expertise in your current conversation. Use it to:
Example usage:
/mozdata:ask How do I query Firefox Desktop DAU?
/mozdata:ask Find probes related to accessibility in Firefox
/mozdata:ask Write a query for the a11y_hcm_foreground metric
The plugin includes Skills that Claude can automatically invoke when relevant:
mozilla-probe-discovery - Activated when you ask about:
mozilla-query-writing - Activated when you ask about:
airflow-debugging - Activated when you ask about:
This skill includes bundled scripts for listing failed DAGs and fetching task logs from GCS. It requires gcloud authentication and access to gs://airflow-remote-logs-prod-prod. It only activates when relevant — users who only need telemetry/query help won't encounter any additional prerequisites.
Skills activate automatically based on your questions - no need to use the slash command.
mozdata-claude-plugin/
├── knowledge/ # Shared knowledge modules
│ ├── architecture.md # Data platform architecture
│ ├── metrics.md # Metric/probe discovery
│ ├── data-catalog.md # Table discovery
│ └── query-writing.md # Query best practices
├── commands/
│ └── ask.md # Slash command (refs @knowledge/*)
├── skills/
│ ├── probe-discovery/
│ │ └── SKILL.md # Auto-activated for probe questions
│ ├── query-writing/
│ │ └── SKILL.md # Auto-activated for query questions
│ └── airflow-debugging/
│ ├── SKILL.md # Auto-activated for Airflow failures
│ └── scripts/ # Helper scripts (list-failed-dags, fetch-task-log)
├── bigquery/
│ └── tools.yaml # genai-toolbox config (BigQuery access)
├── .claude-plugin/
│ └── plugin.json
├── .mcp.json # Bundled MCP servers (Glean Dictionary)
└── README.md
The plugin's intelligence is organized into four shared knowledge modules:
| Module | Purpose |
|---|---|
architecture.md | Data platform structure, Glean schema, gotchas |
metrics.md | ProbeInfo API, Glean Dictionary, metric types |
data-catalog.md | Table selection, aggregation hierarchy |
query-writing.md | Required filters, templates, anti-patterns |
Both the slash command and Skills reference these modules for consistent knowledge.
The plugin understands:
Add the GitHub repository as a marketplace and install the plugin:
claude plugin marketplace add akkomar/mozdata-claude-plugin
claude plugin install mozdata@akomar-mozdata-marketplace
DataHub MCP Server (for BigQuery schema access)