npx skills add ...
npx skills add axiomhq/cli --skill explore-dataset
npx skills add axiomhq/cli --skill explore-dataset
Explore an Axiom dataset to understand its schema, fields, volume, and patterns. Use when discovering a new dataset, investigating data structure, or understanding what data is available.
Systematically explore an Axiom dataset to understand its structure, content, and potential use cases.
When invoked with a dataset name (e.g., /explore-dataset logs), the name is available as $ARGUMENTS.
If no dataset specified, list what's available:
Always start here. Discover actual field names and types:
Identify:
OTel trace data: If schema contains trace_id, span_id, attributes.*, note that:
['service.name'] not ['resource.service.name']['attributes.custom']['field'] with tostring() for aggregationsaxiom-apl skill's OTel reference for field mappingsExamine actual values:
Look for:
Understand data volume patterns:
Analyze:
For each key categorical field (status, level, service):
Identify:
For numeric fields (duration, bytes, count):
Search for error indicators:
Provide a summary including:
getschema directly for single field lookupssearch); extract patterns then optimizeFor query syntax, invoke the axiom-apl skill which provides comprehensive documentation on operators, functions, and patterns.
axiom query "['<dataset>'] | summarize count() by <field> | top 20 by count_" --start-time -1haxiom query "['<dataset>'] | summarize count(), min(<field>), max(<field>), avg(<field>), percentiles(<field>, 50, 95, 99)" --start-time -1haxiom query "search in (['<dataset>']) 'error' or 'fail' or 'exception' | limit 20" --start-time -1h## Dataset Summary: <name>
### Purpose
<What system generated this data, what it represents>
### Key Fields
| Field | Type | Description |
|-------|------|-------------|
| ... | ... | ... |
### Volume
- Events per hour: ~X
- Data freshness: last event at X
### Key Dimensions
- `status`: 200, 400, 500, ...
- `service.name`: api, web, worker, ...
### Recommended Queries
<Common queries for this dataset>
### Monitoring Opportunities
<What could be alerted on>