axiomhq/cli/find-traces
Claude Code and agent skill by axiomhq/cli
- community
Checking that the SKILL.md file is still in the repository.
Analyze OpenTelemetry distributed traces from Axiom. Use when investigating a trace ID, finding traces by criteria (errors, latency, service), or debugging distributed system issues.
Install
npx vskill@latest install axiomhq/cli/find-tracesSKILL.md
Trace Analysis
Analyze OpenTelemetry distributed traces to identify errors, latency issues, and root causes.
Arguments
When invoked with a trace ID (e.g., /find-traces abc123...), it's available as $ARGUMENTS.
Trace Dataset Discovery
First, find trace datasets:
Look for datasets containing trace data (often named *traces*, *spans*, or otel-*).
Schema Discovery
Always verify field names first:
Common Operations
Get Trace by ID
Find Error Traces
Find Slow Traces
Find Traces by Service
Error Spans in Trace
Critical Path Analysis
OTel Field Reference
| Field | Bracket? | Description | |
|---|---|---|---|
trace_id | No | 32-char trace identifier | |
span_id | No | 16-char span identifier | |
parent_span_id | No | Parent span (empty for root) | |
name | No | Operation name | |
duration | No | Duration in nanoseconds | |
kind | No | CLIENT, SERVER, INTERNAL, PRODUCER, CONSUMER | |
error | No | Boolean error flag | |
['service.name'] | Yes | Service identifier | |
['status.code'] | Yes | OK, ERROR, or nil | |
['status.message'] | Yes | Error description | |
['scope.name'] | Yes | Instrumentation library |
Duration Conversion
OTel durations are in nanoseconds:
| Human | Nanoseconds | Filter | |
|---|---|---|---|
| 1 ms | 1,000,000 | duration >= 1000000 | |
| 100 ms | 100,000,000 | duration >= 100000000 | |
| 1 s | 1,000,000,000 | duration >= 1000000000 |
Convert for display:
Custom Attributes
Non-standard span attributes are stored in attributes.custom map:
Without tostring(), aggregations fail with "grouping by field of type unknown".
Codebase Correlation
When working in a repository that matches the traced service, correlate trace data with source code to identify root causes.
Mapping Trace Data to Code
- Extract package/module path from `['scope.name']`
- Contains the instrumentation library or package path
- Strip the module prefix to get the local path
- Example:
github.com/org/repo/pkg/auth→pkg/auth
- Find code from operation name
- The
namefield often contains function names or HTTP routes - Search the codebase for matching handlers, functions, or endpoints
- Trace the call chain
- Follow parent-child span relationships
- Map each span to its corresponding code location
- Identify where errors originate and propagate
Note: Codebase correlation is optional. Proceed with trace-only analysis if code is unavailable or doesn't match the traced services.
Output Format
When analyzing a trace, provide:
When NOT to Use
- Metrics analysis: Traces are for request flow; use logs/metrics skills for aggregated performance data
- Non-OTel data: This skill assumes OpenTelemetry field conventions (trace_id, span_id, etc.)
- Known trace structure: If you already have the query, run it directly without invoking this skill
- Alerting on trace patterns: Use Axiom Monitors for continuous alerting
APL Reference
For query syntax, invoke the axiom-apl skill which provides trace analysis patterns and duration unit guidance.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/find-traces/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 12
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/axiomhq/cli/find-traces)