liatrio-otel-collector: Instructions file for Codex

AGENTS.md

liatrio-otel-collector AGENTS.md is an instructions file for Codex, OpenCode from liatrio/liatrio-otel-collector. It costs 3,529 tokens per session, scanned A, original, Apache-2.0.

A repository guide for working on a custom OpenTelemetry Collector, a program that gathers and sends monitoring data. It documents the code layout, terminology, build commands, and tests.

In plain words
What is it for?
Use it when modifying the collector, building its custom binary, understanding its components, or running a single test.
Why use it?
It gives a coding agent the project-specific rules and commands needed to make changes safely.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is liatrio/liatrio-otel-collector's own configuration. It tells Codex and OpenCode how to work on liatrio-otel-collector 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 liatrio-otel-collector configures →

Reuse

Borrowing it

Nothing to install: this file belongs to liatrio/liatrio-otel-collector. 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/liatrio/liatrio-otel-collector/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/liatrio/liatrio-otel-collector

Made for: 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 liatrio-otel-collector AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/liatrio/liatrio-otel-collector/agents-md/github.svg)](https://agentmods.dev/instructions/liatrio/liatrio-otel-collector/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/liatrio/liatrio-otel-collector/agents-md"><img src="https://agentmods.dev/badge/instructions/liatrio/liatrio-otel-collector/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 liatrio-otel-collector AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/liatrio/liatrio-otel-collector/agents-md"><img src="https://agentmods.dev/badge/instructions/liatrio/liatrio-otel-collector/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,529 This file is loaded in full into every session.
When invoked 3,529 The same file — it is already loaded in full.
Security scan A 1 finding. 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.03529 $0.03529
Opus 5.5 $0.01412 $0.01412
Sonnet 5.5 $0.00706 $0.00706
Haiku 4.5 $0.00353 $0.00353

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

Security

Grade A, and why

liatrio-otel-collector AGENTS.md scanned grade A with 1 finding 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.

Makes network callslowCapability

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

- `make run` loads `config/config.yaml`. That file does not boot as committed: pipelines reference the undefined exporter `otlphttp/openobserve`, and bearer-token extensions require `ADO_PAT`, `GH_PAT`, and `GL_PAT` (scr
AGENTS.md · 213 lines

How it starts

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

liatrio-otel-collector

Guidance for AI agents (and humans) working in this repository. This is the source of truth; CLAUDE.md is a symlink to it.

liatrio-otel-collector is a custom OpenTelemetry Collector distribution. It bundles upstream collector/contrib components with a small set of Liatrio-authored components, most of which scrape software-delivery metrics from VCS platforms (GitHub, GitLab, Azure DevOps). The custom components are intended for eventual upstream contribution to opentelemetry-collector-contrib, so they follow upstream conventions closely.

Domain Glossary

  • Distribution — a collector binary built from a chosen set of components. This repo is one such distribution; its binary is otelcol-custom.
  • Component — a receiver, processor, exporter, connector, or extension. The custom components here are four receivers, one processor, and one extension.
  • OCB (OpenTelemetry Collector Builder) — go.opentelemetry.io/collector/cmd/builder; assembles the distribution binary from config/manifest.yaml. Invoked by make build.
  • config/manifest.yaml — the OCB build manifest and the only place components are wired into the build (gomod: lines plus a local replaces: block). There is no hand-written registry.
  • Factory pattern — the upstream OTel registration idiom; each component exposes NewFactory().
  • Scraper — a pull-based metrics source inside a receiver. Three receivers use a pluggable multi-scraper design (see Receiver scraper pattern).
  • metadata.yaml — the declarative source describing a component (type, status, attributes, metrics). Input to mdatagen.
  • mdatagen — code generator that turns a component's metadata.yaml into its internal/metadata/ package and documentation.md.
  • genqlient — GraphQL client generator (Khan/genqlient) that turns schema.graphql + genqlient.graphql into generated Go for GraphQL-based scrapers.
  • semconv — OpenTelemetry Semantic Conventions. The spec and the Go package version separately; see docs/semantic-conventions.md.
  • multimod — OTel build tool that manages module-set versions from versions.yaml at release.
  • crosslink — OTel build tool that syncs/prunes replace directives across module go.mods.
  • otel-compgen — in-repo CLI (cmd/otel-compgen) that scaffolds new components.

Read the full file on GitHub · 213 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 Changed · +7 lines · +406 tokens per session c9348f33ce63
  2. 14d ago Changed · +1 lines · +29 tokens per session 15a743d2991c
  3. 22d ago First seen · 205 lines · 3,094 tokens per session scan A 091e0c551f11

Subscribe to this mod's changes

liatrio-otel-collector AGENTS.md is an instructions file published in the GitHub repository liatrio/liatrio-otel-collector (47 stars, last pushed today), licensed Apache-2.0. It adds 3,529 tokens to every session, about $0.0141 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-15.

Related

liatrio-otel-collector AGENTS.md compared with instructions from other repositories

liatrio-otel-collector AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
liatrio-otel-collector AGENTS.mdliatrio/liatrio-otel-collectorInstructions file47todayApache-2.0A3,529Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode