axiom-audit

Query Axiom logs via APL to identify and prioritize errors and warnings.

5|3|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/Cygnusfear/claude-stuff --skill axiom-audit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: axiom-audit
Source: https://github.com/Cygnusfear/claude-stuff/tree/main/skills/axiom-audit
Command: npx skills add https://github.com/Cygnusfear/claude-stuff --skill axiom-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mcptools, axiom-mcp.

What problem does it solve?

Manually sifting through Axiom logs to find, prioritize, and understand errors and warnings is a tedious and reactive process. This skill automates log auditing to proactively identify and research issues, reducing incident response time and improving system reliability.

Core Features & Use Cases

  • Automated Error & Warning Querying: Connects to Axiom to query logs for errors and warnings within specified time ranges using APL.
  • Prioritized Issue Reporting: Scores issues by severity and frequency (P0-P4), generating a prioritized list for immediate action.
  • Root Cause Research & Log Smell Detection: Researches probable causes in the codebase and flags common log anti-patterns like excessive logging or sensitive data exposure.
  • Use Case: Run this skill daily to automatically audit production logs, identify any new or escalating critical errors, and generate a prioritized report for the engineering team, enabling proactive issue resolution.

Quick Start

Install axiom-mcp and mcptools (if not already installed)

go install github.com/axiomhq/axiom-mcp@latest brew install mcp # macOS

Set Axiom credentials

export AXIOM_TOKEN="xaat-your-token"

List datasets

mcp call listDatasets --params '{"arguments":{}}' ~/go/bin/axiom-mcp

Query errors for the last 24 hours

mcp call queryApl --params '{"arguments":{"dataset":"logs","apl":"['''now-24h''':now] | where level == "error" | summarize count() by message"}}' ~/go/bin/axiom-mcp

Frequently Asked Questions about axiom-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate error and warning analysis in Axiom logs?▼

Axiom-audit automates error and warning identification by querying Axiom logs via APL within specified time ranges, then prioritizes issues by severity and frequency to enable rapid remediation and root-cause analysis.

Can I set up daily production log audits to catch errors automatically?▼

Yes. Run axiom-audit on a schedule to automatically query your production logs, identify new or escalating critical errors, and generate a prioritized P0-P4 report for your engineering team without manual log sifting.

What's the best way to prioritize errors and warnings across multiple logs?▼

Axiom-audit scores issues by severity and frequency, generating a ranked list from P0 (critical) to P4 (low priority), so your team addresses the highest-impact problems first.

Does axiom-audit detect common log anti-patterns and root causes?▼

Yes. The skill flags log anti-patterns like excessive logging and sensitive data exposure, researches probable causes in your codebase, and surfaces evidence to accelerate root-cause analysis.

What setup is required to connect axiom-audit to my Axiom instance?▼

Install axiom-mcp and mcptools, set your AXIOM_TOKEN environment variable, then use axiom-audit to list datasets and run APL queries against your Axiom logs.

How does axiom-audit help reduce incident response time?▼

By automating proactive log auditing and generating structured audit reports with prioritized errors, the skill shifts from reactive troubleshooting to rapid issue identification, enabling faster team response.