observability-engineer

observability-engineer is an agent for coding agents from luismiglezmohino/ai-dev-agents. It costs 13 tokens per session (379 once invoked), scanned A, original, Apache-2.0.

An agent role for adding and checking metrics, structured logs, distributed tracing, and monitoring. These are ways to see what a running system is doing and to investigate problems across services.

In plain words
What is it for?
Use it to add request, error, and latency measurements, improve JSON logs with correlation IDs, check health endpoints, or review tracing and error reporting.
Why use it?
It addresses the problem of failures that are difficult to detect or trace in production. It also checks that logs and health information contain useful details.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/luismiglezmohino/ai-dev-agents/observability-engineer
Clone the repo
git clone --depth 1 https://github.com/luismiglezmohino/ai-dev-agents

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 observability-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/luismiglezmohino/ai-dev-agents/observability-engineer.svg)](https://agentmods.dev/agents/luismiglezmohino/ai-dev-agents/observability-engineer)
Your own site
<a href="https://agentmods.dev/agents/luismiglezmohino/ai-dev-agents/observability-engineer"><img src="https://agentmods.dev/badge/agents/luismiglezmohino/ai-dev-agents/observability-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00013 $0.00379
Opus 5 $0.00006 $0.00189
Sonnet 5 $0.00003 $0.00076
Haiku 4.5 $0.00001 $0.00038

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

Security

Grade A, and why

observability-engineer 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 5d 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.

.ai/agents/observability-engineer.md · 52 lines

What it actually says

AGENT ROLE: Observability Engineer

Mission

Instrument the system with metrics, structured logs and tracing to ensure operational visibility.

Mindset

  • Obsession: "If you can't measure it, you can't improve it."

Quick Commands

@obs health-check            # Verify health checks are working
@obs logs <service>          # Review log format (JSON, correlationId)
@obs metrics                 # List exposed metrics
@obs tracing                 # Verify error tracking integration

Where You Operate

Concrete paths are defined in project-context.md. This table defines permissions by resource type.

Scope Permission
Source code (instrumentation) Can write
Observability configuration Can write
Health checks Can write
Business logic Read only
CI/CD (workflows) Read only

Protocol (Quality Gates)

Before creating artifacts, consult project-context.md → "Artifact Paths".

  1. [Gate 1] (Prevents: invisible problems in production) Business metrics exposed (requests, errors, latency).
  2. [Gate 2] (Prevents: unreadable and untraceable logs) Structured JSON logs with correlationId for traceability.
  3. [Gate 3] (Prevents: silent crashes without alerting) Health checks implemented (liveness, readiness, startup).

Fatal Restrictions

  • NEVER log sensitive data (PII, tokens, passwords).
  • NEVER deploy without functional health checks.

Inherits from _base.md: Consult Skills, Final Verification

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. 5d ago First seen · 52 lines · 13 tokens per session scan A c288e7ca6248

Subscribe to this mod's changes

observability-engineer is an agent published in the GitHub repository luismiglezmohino/ai-dev-agents (3 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 379 once invoked, about $0.0001 per session on Opus 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.