Index of every page on this site: llms.txt
All skills
axiomhq avatar

/axiom-build-dashboard

@5b11222 official
by Axiom, Inc.axiomhq/skills18 stars
2
Run it yourself

Designs and builds Axiom dashboards via API. Covers chart types, APL and metrics/MPL query patterns, SmartFilters, layout, and configuration options. Use when creating dashboards, migrating from Splunk, or configuring chart options.

Use this Skill: https://skilld.dev/gh/axiomhq/skills/axiom-build-dashboard

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈811 tokens on demand. Your agent reads this file only when SKILL.md points to it.

axiom-build-dashboard

Designs and builds Axiom dashboards via API. Covers chart types, APL patterns, SmartFilters, layout, and configuration options.

What It Does

  • Dashboard Design - Blueprint structure: at-a-glance stats, trends, breakdowns, evidence
  • Chart Types - Statistic, TimeSeries, Table, Pie, LogStream, Heatmap, SmartFilter, Note
  • APL + Metrics/MPL Patterns - Golden signals, percentiles, error rates, and metrics chart queries via query.apl, plus several queries on one TimeSeries via queries
  • Layout Composition - Grid-based layouts, plus collapsible sections via dashboard-assemble --section
  • Deployment - Scripts to validate, create, update, and manage dashboards

Installation

npx skills add axiomhq/skills

Prerequisites

  • axiom-sre skill (for API access and schema discovery)
  • Axiom MCP for metrics discovery and queries
  • Tools: jq, curl

The install command above includes all skill dependencies.

Configuration

Create ~/.axiom.toml with your Axiom deployment(s):

[deployments.prod]
url = "https://api.axiom.co"
token = "xaat-your-api-token"
org_id = "your-org-id"
  • org_id - The organization ID. Get it from Settings → Organization.
  • token - Use an advanced API token with minimal privileges.

Tip: This skill uses ~/.axiom.toml. The SRE skill has a separate initializer and configuration.

The bundled scripts/metrics/ helpers support separately configured deployments. Requests must stay on the configured HTTP(S) origin, except for routing between hosted Axiom API/app/regional edge origins. This also applies to AXIOM_URL_OVERRIDE; existing curl configuration remains trusted.

Usage

# Setup and check requirements
scripts/setup

# Create dashboard from template
scripts/dashboard-from-template service-overview "my-service" "my-dataset" ./dashboard.json

# Validate dashboard JSON
scripts/dashboard-validate ./dashboard.json

# Deploy dashboard
scripts/dashboard-create <deployment> ./dashboard.json

# List, update, delete
scripts/dashboard-list <deployment>
scripts/dashboard-update <deployment> <id> <file>
scripts/dashboard-chart-patch <deployment> <id> <chart-id> <patch-file> --version <version>
scripts/dashboard-delete <deployment> <id>

Scripts

Script Purpose
dashboard-create Deploy new dashboard
dashboard-validate Validate JSON structure
dashboard-list List all dashboards
dashboard-get Fetch dashboard JSON
dashboard-update Update existing dashboard
dashboard-chart-patch Patch one chart in an existing dashboard
dashboard-copy Clone a dashboard
dashboard-delete Delete with confirmation
dashboard-from-template Generate from template

Templates

Pre-built templates in reference/templates/:

  • service-overview.json - Single service oncall dashboard
  • service-overview-with-filters.json - With SmartFilter dropdowns
  • api-health.json - HTTP API health dashboard
  • blank.json - Minimal skeleton

Related Skills

  • axiom-sre - Schema discovery and query exploration
  • axiom-spl-to-apl - Translate Splunk dashboards to Axiom

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings5d3 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill provides a comprehensive toolkit for designing, building, and managing Axiom dashboards via the official API. It adheres to security best practices for secret management and network operations. No malicious patterns such as prompt injection, obfuscation, or unauthorized data exfiltration were detected.

  • Socket5d

    1 alert: gptAnomaly

  • Snyk7d

    Risk: MEDIUM · 1 issue

Signed by skilld at 5b11222. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 hours ago.

Activeupdated 3 weeks ago
  • axiom
  • dashboards
  • apl
  • mpl
  • metrics
  • monitoring
  • visualization
  • queries
  • logs
  • timeseries

README badge

README badge for axiomhq/skills/axiom-build-dashboard

Builds and configures Axiom dashboards via API, covering APL and metrics/MPL queries, SmartFilters, chart types, and layout composition. Targets Axiom users designing new dashboards, migrating from Splunk or Grafana, or configuring chart options for observability and incident response.

Generated from the current SKILL.md.

Does this skill work with both metrics and events/logs datasets?
Yes. The skill covers two separate blueprints: APL for events/logs datasets and MPL for metrics datasets. Use `scripts/metrics/datasets` to check the dataset kind first.
Can I migrate dashboards from Splunk or Grafana?
Yes. The skill includes workflows for both: extract SPL and translate via spl-to-apl for Splunk, or project the canonical panel spec and translate PromQL for Grafana.
What happens if a requested panel can't be computed?
Replace it with a Note panel documenting the blocker. Substituting a different quantity is never acceptable, even with a disclaimer.
Do I need to include _time filters in dashboard chart queries?
No. Dashboard chart queries inherit the time range from the picker, so _time filters should be omitted. Only ad-hoc queries (Axiom Query tab, axiom-sre) need explicit `where _time between` clauses.
What tools do I use to build and deploy dashboards?
The skill provides scripts including `chart-add` (emit individual charts), `layout-pack` (compose layout), and `dashboard-assemble` (validate and emit the final dashboard JSON).

Generated from the current SKILL.md. These answers refresh after source changes.