sync-dashboards
Skill by oxsecurity
Keeps the MegaLinter observability dashboards in docs/dashboards/ in sync with the ApiReporter v2 payload and metrics contract. Aimed at MegaLinter maintainers who change the reporter or the metric providers.
Install sync-dashboards
Built from the published package, never by AI.
git clone --depth 1 https://github.com/oxsecurity/megalinter /tmp/megalinter && mkdir -p ~/.claude/skills && cp -r /tmp/megalinter/.claude/skills/sync-dashboards ~/.claude/skills/sync-dashboardsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/oxsecurity/megalinter /tmp/megalinter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/megalinter/.claude/skills/sync-dashboards ~/.gemini/antigravity-cli/skills/sync-dashboardsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The sync-dashboards skill keeps the MegaLinter observability payload and the provider dashboards consistent. It covers the ApiReporter.py producer, the ApiProvider classes that map metric fields to Prometheus/Loki, Datadog, Elastic and New Relic, and the contract.py file that lists the same fields and labels. The DashboardBuilder classes generate the Grafana, Datadog, New Relic and Kibana files in docs/dashboards/.
Payload changes go into contract.py and the builders, while dashboard-only edits go into the builders rather than the generated files. The skill then regenerates the dashboards, runs a sync check and the ApiReporter v2 test, and can offer to upload to live instances when credentials are in .env. It is written for developers who maintain MegaLinter's reporting.
Written from the project's SKILL.md and checked against it.
What it can do
- Contract syncUpdates contract.py and the DashboardBuilder classes when a payload or metric field changes.
- Dashboard regenerationRegenerates docs/dashboards with build_dashboards.py and checks sync with --check.
- Reporter test checkRuns the ApiReporter v2 test file to confirm the payload still passes.
- Dashboard uploadOffers to upload regenerated dashboards to Grafana, Datadog, Elastic or New Relic.
- Facet link verificationChecks New Relic facet links against the dashboard's current page guids after an upload.
- Documentation updateUpdates docs/observability.md and provider observability pages when the metrics reference changes.
What you need
- Python with the repo virtual environment
- Node.js to run mega-linter-runner for uploads
- pytest for the ApiReporter v2 test
- Credentials in .env for uploads to Grafana, Datadog, Elastic or New Relic
Try asking
- Sync the dashboards after I added a run metric called xyz
- Regenerate docs/dashboards and run the --check verification
- Upload the regenerated New Relic dashboards and verify the facet links
Good to know
- Files in docs/dashboards are generated and should not be edited directly.
- Uploads need credentials in .env and an account on each provider.
- Payload or metric renames are breaking changes and need a CHANGELOG.md note.
- Datadog uploads need an EU-site bearer token, since the default site returns 401.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/sync-dashboards/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Glob Grep Write Edit Bash
-
SKILL.md6 KB
Alternatives to sync-dashboards
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
sync-dashboards: common questions
What does the sync-dashboards skill keep in sync?
It keeps the MegaLinter observability dashboards in docs/dashboards/ aligned with the ApiReporter v2 payload and metrics contract.
Which dashboard platforms does it cover?
The source names Grafana, Datadog, New Relic and Kibana, with generated JSON and ndjson files for each.
Does it edit the generated dashboard files?
No. The source says dashboard changes go through the DashboardBuilder classes because the files in docs/dashboards are generated.
How do I install sync-dashboards?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sync-dashboards free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is sync-dashboards safe to use?
It scores 78 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sync-dashboards?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
