Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
axiomhq avatar

Axiom Apl

  • 13 installs
  • 59 repo stars
  • Updated August 1, 2026
  • axiomhq/cli

axiom-apl is a Claude skill that provides an APL query-language reference for analyzing observability data in Axiom through the Axiom CLI.

About

This skill is an APL (Axiom Processing Language) query reference for analyzing observability data in Axiom via the authenticated Axiom CLI. It documents core query structure, operators, functions, time handling and OpenTelemetry field mappings, and enforces schema discovery before writing queries. It is auto-invoked by the other Axiom skills when they need to write or debug APL queries, so it is not user-invocable on its own.

  • APL query-language reference for Axiom observability data
  • Covers operators, functions, time handling and OTel field mappings
  • Auto-invoked by other Axiom skills when writing or debugging APL

Axiom Apl by the numbers

  • 13 all-time installs (skills.sh)
  • Ranked #378 of 550 CLI & Terminal skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

axiom-apl capabilities & compatibility

requires an authenticated Axiom CLI/account

Capabilities
explore dataset · detect anomalies · find traces
Works with
datadog · grafana
Use cases
data analysis
Runs
Runs locally
Pricing
Bring your own API key
From the docs

What axiom-apl says it does

APL query language reference for Axiom. Provides operators, functions, patterns, and CLI usage. Auto-invoked by specialized Axiom skills when writing or debugging APL queries.
SKILL.md
Never guess field names. The schema shows all fields with their types.
SKILL.md
npx skills add https://github.com/axiomhq/cli --skill axiom-apl

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs13
repo stars59
Last updatedAugust 1, 2026
Repositoryaxiomhq/cli

What it does

Reference for writing and debugging APL queries against Axiom observability datasets via the Axiom CLI.

Who is it for?

writing or debugging APL queries against Axiom observability datasets from the CLI

Skip if: simple field lookups (use getschema directly), real-time alerting (use Axiom Monitors)

When should I use this skill?

you are writing or debugging an APL query for Axiom

What you get

Correct, schema-verified APL queries for analyzing Axiom observability data.

By the numbers

  • bundles 6 reference files (cli, operators, functions, patterns, gotchas, otel)

Files

SKILL.mdMarkdownGitHub ↗

Axiom Processing Language (APL)

APL is Axiom's query language for analyzing observability data. This skill provides comprehensive guidance for writing, debugging, and optimizing APL queries.

Quick Reference

Documentation: https://axiom.co/docs/apl/introduction

CLI usage: See references/cli.md

Core Workflow

1. List Available Datasets

axiom dataset list -f json

2. Discover Schema (CRITICAL - Always Do First)

['<dataset>'] | getschema

Never guess field names. The schema shows all fields with their types.

3. Sample Data

['<dataset>'] | limit 10

4. Write Query

See references for operators, functions, and patterns.

APL Syntax Essentials

Dataset Reference

['dataset-name']           // Bracket notation (required for names with dots/dashes)
dataset_name               // Plain identifier (only for simple names)

Field Reference

field_name                 // Plain field
['field.with.dots']        // Bracket notation for dotted fields
['service.name']           // OTel data (see references/otel.md for field mappings)

Basic Query Structure

['dataset']
| where <condition>
| extend <new_field> = <expression>
| summarize <aggregation> by <grouping>
| project <fields>
| sort by <field> desc
| limit 100

Time Handling

Always filter by time first - it's the most selective filter.

// Relative time
| where _time >= ago(1h)
| where _time >= ago(24h) and _time < ago(1h)

// Absolute time
| where _time >= datetime(2024-01-15T10:00:00Z)
| where _time between (datetime(2024-01-15) .. datetime(2024-01-16))

Time functions:

  • ago(timespan) - Relative past time
  • now() - Current time
  • datetime(string) - Parse datetime
  • bin(_time, 5m) - Time bucketing
  • bin_auto(_time) - Automatic bucketing

When NOT to Use

  • Simple field lookup: Use getschema directly instead of invoking the full skill
  • Known query patterns: If you already have a working query, don't re-invoke for syntax help
  • Real-time alerting: Use Axiom Monitors for continuous alerting, not ad-hoc queries

References

  • [CLI Usage](references/cli.md) - Command flags and execution
  • [Operators](references/operators.md) - Tabular and scalar operators
  • [Functions](references/functions.md) - String, datetime, aggregation functions
  • [Patterns](references/patterns.md) - Query patterns by use case
  • [Common Gotchas](references/gotchas.md) - Mistakes and fixes
  • [OpenTelemetry](references/otel.md) - OTel field mappings and trace patterns

Related skills

FAQ

Is axiom-apl user-invocable?

No. The SKILL.md sets user-invocable: false; it is auto-invoked by other Axiom skills when writing or debugging APL.

What does axiom-apl require?

An authenticated Axiom CLI (axiom); its allowed tools are axiom query, dataset list, stream and config get.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.