Index of every page on this site: llms.txt
All skills
axiomhq avatar

/axiom-sre

@5b11222 official
by Axiom, Inc.axiomhq/skills18 stars
2
Run it yourself

Expert SRE investigator for incidents and debugging. Uses hypothesis-driven methodology and systematic triage. Can query Axiom observability when available. Use for incident response, root cause analysis, production debugging, or log investigation.

Use this Skill: https://skilld.dev/gh/axiomhq/skills/axiom-sre

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈845 tokens on demand. Your agent reads this file only when SKILL.md points to it.

axiom-sre

Expert SRE investigator for incidents and debugging. Uses hypothesis-driven methodology and systematic triage. Can query Axiom observability when available.

What It Does

  • Hypothesis-Driven Investigation - State, test, disprove hypotheses with data queries
  • Systematic Triage - Golden signals (traffic, errors, latency, saturation), USE/RED methods
  • Memory System - Persistent knowledge base for patterns, queries, facts, and incidents
  • Axiom Integration - Query logs, generate shareable links, discover schemas

Installation

# Amp
amp skill add axiomhq/skills/axiom-sre

# npx (Claude Code, Cursor, Codex, and more)
npx skills add axiomhq/skills -s axiom-sre

Prerequisites

  • Access to Axiom deployment(s)
  • Tools: jq, curl, and timeout or gtimeout (brew install coreutils on macOS)

Setup

From this skill's installed directory, initialize configuration and memory:

scripts/init

On first run, this creates ~/.config/axiom-sre/config.toml with commented examples and initializes memory. It prints configuration guidance and exits when no deployments are configured. To use a different directory, set SRE_CONFIG_DIR.

Edit ~/.config/axiom-sre/config.toml and add your deployment:

[axiom.deployments.prod]
url = "https://api.axiom.co"
edge_url = "https://us-east-1.aws.edge.axiom.co" # Settings → General → Edge deployment
token = "xaat-your-api-token"
org_id = "your-org-id"

Then run scripts/init again.

If you already have ~/.axiom.toml, use scripts/init --migrate instead of the initial scripts/init run. This imports legacy configuration into the new format; it refuses to overwrite an existing SRE config. Other skills may still use ~/.axiom.toml, so keep it for those workflows.

Get your org_id from Settings → Organization and your edge deployment from Settings → General. For the token, create a scoped API token (Settings → API Tokens) with the permissions your workflow needs. Hosted APL runs on the regional edge (POST /v1/query/_apl). Set edge_url when the token cannot list datasets, which is required once that token has query cost limits. Avoid Personal Access Tokens for automated tooling.

Usage

The skill activates for incident response, root cause analysis, production debugging, or log investigation. Key scripts:

# Run APL queries
scripts/axiom-query <deployment> "<apl query>"

# Make API calls
scripts/axiom-api <deployment> GET "/v1/datasets"

# Generate shareable query links
scripts/axiom-link <deployment> "<apl query>" "<time range>"

# Initialize configuration and memory
scripts/init

Scripts

Script Purpose
axiom-query Run APL queries against Axiom
axiom-api Make raw API calls
axiom-link Generate shareable query URLs
axiom-deployments List configured deployments
init Initialize configuration and memory; report configured tools
mem-write Write entries to memory KB
mem-sync Sync org memory from git
mem-doctor Health check all memory tiers
mem-share Push org memory changes

Key Principles

  1. Never guess - query to verify
  2. State facts, not assumptions
  3. Disprove hypotheses, don't confirm
  4. Time filter FIRST in all queries
  5. Discover schema before querying unfamiliar datasets

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert3d5 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill is a professional SRE toolset for Axiom and other observability platforms. It follows security best practices for credential management and input handling.

  • Socket3d

    17 alerts: gptAnomaly, gptSecurity

  • Snyk4d

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    57/73 files flagged

  • ZeroLeaks7mo

    1 finding · Score: 86/100

Signed by skilld at 5b11222. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 19 minutes ago.

Activeupdated 2 weeks ago
  • Debugging
  • sre
  • incident-response
  • root-cause-analysis
  • observability
  • axiom
  • log-analysis
  • triage
  • hypothesis-driven

README badge

README badge for axiomhq/skills/axiom-sre

Guides incident response and root cause analysis using hypothesis-driven methodology and systematic triage, with optional integration to Axiom observability for querying logs and metrics. Targets SRE workflows: P1 stabilization, production debugging, and log investigation with strict protocols for discovery, data verification, and secret handling.

Generated from the current SKILL.md.

Does this skill work with observability tools other than Axiom?
Yes. The skill supports Axiom, Grafana, Pyroscope, Sentry, and Slack. You configure which tools are available in ~/.config/axiom-sre/config.toml, and discovery scripts reveal datasets, datasources, and applications for each tool.
Do I need to run discovery before querying?
Yes, always. Running scripts/init first confirms which tools are configured, but you must run the tool-specific discovery script (e.g., scripts/discover-axiom, scripts/discover-grafana) before your first query to reveal actual datasets, datasources, or UIDs. Querying without discovery violates the skill's core methodology.
Can this skill access my secrets or credentials?
No. The skill never exposes secrets. It uses scripts/curl-auth to pass credentials internally via environment variables without displaying them. Secrets are handled only by the tooling, never shown to you or logged.
What should I do if a query returns a 404 or 'not found' error?
Run the corresponding discover script (e.g., scripts/discover-axiom) to fetch the correct dataset or datasource names, then retry the query with the corrected names. This is the self-healing protocol built into the skill.
Does this skill help with rollbacks and emergency mitigation?
Yes. For P1 incidents (system down, high error rate), the skill prioritizes stabilization first: checking for recent deploys to rollback, feature flag toggles to revert, or traffic anomalies to mitigate before debugging root cause.

Generated from the current SKILL.md. These answers refresh after source changes.