o11y-analysis-tools: Instructions file for Claude Code

CLAUDE.md

o11y-analysis-tools CLAUDE.md is an instructions file for Claude Code from conallob/o11y-analysis-tools. It costs 4,456 tokens per session, scanned C, original, BSD-3-Clause.

Repository instructions for a Go project containing six command-line tools for Prometheus-compatible monitoring systems. They describe the project layout, Git workflow, continuous-integration setup, releases, and testing approach.

In plain words
What is it for?
Use them when modifying this repository, choosing branches, running tests, updating its Go packages, or preparing releases and pull requests.
Why use it?
They give a coding agent the project-specific rules it needs before changing code or preparing a pull request.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is conallob/o11y-analysis-tools's own configuration. It tells Claude Code 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/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/conallob/o11y-analysis-tools

Made for: Claude Code.

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/conallob/o11y-analysis-tools/claude-md.svg)](https://agentmods.dev/instructions/conallob/o11y-analysis-tools/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/conallob/o11y-analysis-tools/claude-md"><img src="https://agentmods.dev/badge/instructions/conallob/o11y-analysis-tools/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,456 This file is loaded in full into every session.
When invoked 4,456 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
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.04456 $0.04456
Opus 5 $0.02228 $0.02228
Sonnet 5 $0.00891 $0.00891
Haiku 4.5 $0.00446 $0.00446

Measured 6d ago against content hash b75d1eb187a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

o11y-analysis-tools CLAUDE.md scanned grade C with 2 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 6d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.8.0

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.8.0
CLAUDE.md · 606 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

This is a Go-based observability analysis tools repository containing six CLI tools for PromQL-compatible monitoring systems:

  1. promql-fmt: PromQL expression formatter and validator
  2. label-check: Label standards enforcement tool
  3. alert-hysteresis: Alert firing pattern analyzer
  4. autogen-promql-tests: PromQL test case generator
  5. e2e-alertmanager-test: End-to-end Alertmanager testing tool
  6. stale-alerts-analyzer: Alert staleness analyzer

The repository uses standard Go project structure, GitHub Actions for CI/CD, and GoReleaser for multi-platform releases.

Git Workflow

Default workflow: Create feature branches off main.

  • Use descriptive branch names: feat/description, fix/description, chore/description
  • GitHub Actions CI runs on all branches matching claude/** and on main
  • Pull requests should target main branch
  • Releases are automated via git tags matching v* pattern
  • When creating Pull Requests, include the primary prompts as multiline markdown code blocks in the PR description
    • This provides context for reviewers about the original intent and scope
    • Format prompts using markdown code fences (triple backticks)
    • Example format in PR description:
      ## Original Prompt
      
      
      Create a new branch to update @dot_claude/CLAUDE.md to use subagents...

Key Architecture Patterns

Go Module Structure

cmd/                         # CLI entry points (main packages)
  promql-fmt/               # PromQL formatter tool
  label-check/              # Label validation tool
  alert-hysteresis/         # Alert analysis tool
  autogen-promql-tests/     # PromQL test case generator
  e2e-alertmanager-test/    # End-to-end Alertmanager testing tool
  stale-alerts-analyzer/    # Alert staleness analyzer
pkg/                         # Public libraries (importable by external projects)
  formatting/               # PromQL formatting logic
internal/                    # Private libraries (not importable externally)
  promql/                   # PromQL parsing utilities
  alertmanager/             # Prometheus/Alertmanager integration

Read the full file on GitHub · 606 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. 6d ago First seen · 606 lines · 4,456 tokens per session scan C b75d1eb187a3

Subscribe to this mod's changes

o11y-analysis-tools CLAUDE.md is an instructions file published in the GitHub repository conallob/o11y-analysis-tools (4 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 4,456 tokens to every session, about $0.0223 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens