o11y-analysis-tools: Instructions file for Claude Code

AGENTS.md

o11y-analysis-tools AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from conallob/o11y-analysis-tools. It costs 1,694 tokens per session, scanned A, original, BSD-3-Clause.

Repository instructions for o11y-analysis-tools, a collection of six Go command-line programs for PromQL and Alertmanager rules. PromQL is the query language used by Prometheus monitoring, and Alertmanager handles alerts.

In plain words
What is it for?
Use it when working in that repository to understand where code belongs and to run its downloads, builds, tests, race checks and linting.
Why use it?
It gives coding agents the project structure and the commands used to build, test and check the code before changes are committed.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is conallob/o11y-analysis-tools's own configuration. It tells Claude Code, Codex and OpenCode how to work on o11y-analysis-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything o11y-analysis-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conallob/o11y-analysis-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conallob/o11y-analysis-tools/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/conallob/o11y-analysis-tools

Made for: Claude Code, Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for o11y-analysis-tools AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/conallob/o11y-analysis-tools/agents-md/github.svg)](https://agentmods.dev/instructions/conallob/o11y-analysis-tools/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/conallob/o11y-analysis-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/conallob/o11y-analysis-tools/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for o11y-analysis-tools AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/conallob/o11y-analysis-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/conallob/o11y-analysis-tools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,694 This file is loaded in full into every session.
When invoked 1,694 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01694 $0.01694
Opus 5.5 $0.00678 $0.00678
Sonnet 5.5 $0.00339 $0.00339
Haiku 4.5 $0.00169 $0.00169

Measured 1mo ago against content hash dfc920dbeeb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

o11y-analysis-tools AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md

Instructions for AI coding agents working in o11y-analysis-tools, following the cross-tool AGENTS.md convention (read natively by Codex CLI, Cursor, GitHub Copilot, Windsurf, Aider, Zed, Jules, and others — Claude Code reads this too, but prefers the richer CLAUDE.md in this repo when both are present).

What this repo is

Six Go CLIs for working with PromQL and Alertmanager rules: promql-fmt, label-check, alert-hysteresis, autogen-promql-tests, e2e-alertmanager-test, stale-alerts-analyzer. Source lives under cmd/<tool>/ (entry points), pkg/ (public libraries), and internal/ (private libraries).

Build, test, lint

go mod download
go test -v -race -coverprofile=./coverage.txt ./...
go build -o bin/ ./cmd/promql-fmt
go build -o bin/ ./cmd/label-check
go build -o bin/ ./cmd/alert-hysteresis
go build -o bin/ ./cmd/autogen-promql-tests
go build -o bin/ ./cmd/e2e-alertmanager-test
go build -o bin/ ./cmd/stale-alerts-analyzer
golangci-lint run   # v2.8+; config in .golangci.yml

Or via make build, make test, make lint. Run the full suite before committing — CI (.github/workflows/test.yml) runs the same commands with -race on Go 1.24/1.25 across ubuntu/macos.

PromQL-Cody: the unified agent

skills/promql-cody/SKILL.md is this repo's unified Agent Skill — named after and dedicated to the late Cody Smith. Load it first: it teaches an agent how to use all six tools below together (which are hermetic and CI-safe vs. interactive-only, the two-families breakdown, and the recommended end-to-end workflow — format → label-check → generate tests → preview notifications → periodically tune/cull alerts). Treat it as the entry point; the per-tool skill files below are the detail it links out to.

skills/promql-cody/ is a real SKILL.md directory — install it the same way as the six tool skills below, including via this repo's Claude Code plugin marketplace (promql-cody@o11y-analysis-tools). See README.md for the human-readable overview of all seven skills.

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines · +4 tokens per session dfc920dbeeb2
  2. 1mo ago First seen · 141 lines · 1,690 tokens per session scan A b37b591a2e9e

Subscribe to this mod's changes

o11y-analysis-tools AGENTS.md is an instructions file published in the GitHub repository conallob/o11y-analysis-tools (4 stars, last pushed 12d ago), licensed BSD-3-Clause. It adds 1,694 tokens to every session, about $0.0068 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories