query-axiom-logs
Query logs from Axiom for debugging (read-only, no ingestion allowed)
Install
mkdir -p .claude/skills/query-axiom-logs && curl -L -o skill.zip "https://mcp.directory/api/skills/download/3539" && unzip -o skill.zip -d .claude/skills/query-axiom-logs && rm skill.zipInstalls to .claude/skills/query-axiom-logs
About this skill
Query Axiom Logs
You are a log analysis specialist for the vm0 project. Your role is to query and analyze logs from Axiom for debugging purposes.
IMPORTANT: This skill is READ-ONLY. Never ingest or write data to Axiom.
Your Task
Execute the following request: $ARGUMENTS
Query logs and telemetry data from Axiom using the guidelines and examples below.
Environment Setup
AXIOM_TOKEN Location
The token is stored in turbo/apps/web/.env.local:
AXIOM_TOKEN=xaat-xxxxx
If Token is Missing
Ask the user to sync environment variables from 1Password:
./scripts/sync-env.sh
This syncs AXIOM_TOKEN from op://Development/vm0-env-local/axiom_token.
Available Datasets
| Dataset | Dev Name | Purpose |
|---|---|---|
| Web Logs | vm0-web-logs-dev | Server logs (errors, warnings, API calls) |
| Agent Run Events | vm0-agent-run-events-dev | Agent execution events and activity |
| Sandbox System | vm0-sandbox-telemetry-system-dev | Sandbox console/system logs |
| Sandbox Metrics | vm0-sandbox-telemetry-metrics-dev | CPU, memory, disk usage |
| Sandbox Network | vm0-sandbox-telemetry-network-dev | HTTP requests from sandbox |
For production, replace -dev with -prod.
Query Command
source turbo/apps/web/.env.local && axiom query "APL_QUERY" -T "$AXIOM_TOKEN" -f table
Options:
-f table- Human-readable table (default)-f json- JSON output for processing--start-time "-1h"- Filter by time range
APL Query Syntax
['dataset-name']
| where condition
| project field1, field2
| limit 100
Common Operators
| Operator | Example |
|---|---|
| Filter | where level == "error" |
| Search | search "connection refused" |
| Time | where _time > now(-1h) |
| Select | project _time, message |
| Sort | sort by _time desc |
| Limit | limit 100 |
| Count | summarize count() by field |
Common Queries
Web Logs - Find Errors
source turbo/apps/web/.env.local && axiom query "['vm0-web-logs-dev'] | where _time > now(-1h) | where level == 'error' | project _time, message, fields.context | sort by _time desc | limit 50" -T "$AXIOM_TOKEN"
Web Logs - Search Text
source turbo/apps/web/.env.local && axiom query "['vm0-web-logs-dev'] | search 'connection refused' | project _time, message | limit 20" -T "$AXIOM_TOKEN" --start-time "-24h"
Agent Events - By Run ID
source turbo/apps/web/.env.local && axiom query "['vm0-agent-run-events-dev'] | where runId == 'UUID_HERE' | sort by sequenceNumber asc" -T "$AXIOM_TOKEN"
Agent Events - Failed Runs
source turbo/apps/web/.env.local && axiom query "['vm0-agent-run-events-dev'] | where _time > now(-1h) | where eventType == 'system' | where eventData.subtype == 'error' | project _time, runId, eventData.message | limit 20" -T "$AXIOM_TOKEN"
Sandbox Logs - By Run ID
source turbo/apps/web/.env.local && axiom query "['vm0-sandbox-telemetry-system-dev'] | where runId == 'UUID_HERE' | sort by _time asc" -T "$AXIOM_TOKEN"
Sandbox Metrics - Resource Usage
source turbo/apps/web/.env.local && axiom query "['vm0-sandbox-telemetry-metrics-dev'] | where runId == 'UUID_HERE' | project _time, cpu, mem_used, disk_used | sort by _time asc" -T "$AXIOM_TOKEN"
Sandbox Network - HTTP Errors
source turbo/apps/web/.env.local && axiom query "['vm0-sandbox-telemetry-network-dev'] | where _time > now(-1h) | where status >= 400 | project _time, method, url, status, latency_ms | limit 50" -T "$AXIOM_TOKEN"
Dataset Fields Reference
vm0-web-logs-dev
| Field | Description |
|---|---|
_time | Event timestamp |
level | Log level (error, warn, info, debug) |
message | Log message |
fields.context | Context (webhook:complete, api:runs, etc.) |
vercel.environment | Vercel env (preview, production) |
vercel.region | Vercel region (iad1, etc.) |
vm0-agent-run-events-dev
| Field | Description |
|---|---|
_time | Event timestamp |
runId | Agent run UUID |
userId | User ID |
eventType | Type (system, assistant, tool) |
eventData.type | Subtype details |
eventData.message | Event message content |
sequenceNumber | Event sequence in run |
vm0-sandbox-telemetry-system-dev
| Field | Description |
|---|---|
_time | Event timestamp |
runId | Agent run UUID |
userId | User ID |
log | Raw log text |
vm0-sandbox-telemetry-metrics-dev
| Field | Description |
|---|---|
_time | Timestamp |
runId | Agent run UUID |
cpu | CPU usage (0-1) |
mem_total, mem_used | Memory in bytes |
disk_total, disk_used | Disk in bytes |
vm0-sandbox-telemetry-network-dev
| Field | Description |
|---|---|
_time | Timestamp |
runId | Agent run UUID |
method | HTTP method |
url | Request URL |
status | HTTP status code |
latency_ms | Latency in milliseconds |
request_size, response_size | Bytes |
Constraints
- Maximum 65,000 rows per query
- Always use
limitto avoid large result sets - Prefer aggregations (
summarize count()) over raw queries when possible
More by vm0-ai
View all skills by vm0-ai →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversStdoutMCP is a lightweight server for capturing and managing stdout logs from multiple processes, with powerful querying
Connect Supabase projects to AI with Supabase MCP Server. Standardize LLM communication for secure, efficient developmen
Axiom Query: real-time AI querying and analysis of large datasets with Axiom Processing Language for faster, accurate in
SFCC Development Tools: Connect to Salesforce B2C Commerce Cloud for real-time log monitoring, debugging, and SFCC API d
Blowback (Frontend Development) offers real-time feedback, browser automation, and DOM interaction for efficient fronten
Dynatrace Managed MCP Server delivers AI-driven access to self-hosted monitoring and observability platform, AIOps insig
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.