Skills for Real Engineers. Straight from my .agents directory.
agent-observability-spec
Agent skill frommohitagw15856/pm-claude-skills
Specify the tracing, metrics, and alerting for an AI agent or LLM feature in production. Use when asked what to log for an LLM app, design agent tracing or spans, define quality and cost monitors, or answer 'how do we know if the agent is misbehaving?'. Produces an observability spec with a trace schema, metric definitions with owners and alert thresholds, sampling and retention policy, and a privacy note for logged content.
How to install agent-observability-spec
npx skills add mohitagw15856/pm-claude-skills# or add only this skill to Claude Code: copy the folder
skills/agent-observability-spec/
# into
~/.claude/skills/agent-observability-spec/ (all projects)
.claude/skills/agent-observability-spec/ (one project)
1# Agent Observability Spec Skill23You can't fix what you didn't record. For LLM systems the unit of observability is the *trace* — everything the model saw and did — because behaviour, not uptime, is what fails. This skill specifies what to capture, what to compute from it, and when to page someone.45> **Not quite this?** Use `agent-spec` when you are specifying what the agent should do before it is built.67## What This Skill Produces89- A **trace schema**: per-request spans and the fields each must carry10- **Metric definitions** across health, quality, cost, and behaviour — each with a threshold and owner11- A **sampling and retention policy** that keeps cost sane and debugging possible12- A **privacy note**: what logged content contains, who can see it, and how long it lives1314## Required Inputs1516Ask for (if not already provided):17- **The system's shape** — single LLM call, RAG pipeline, or multi-step tool-using agent18- **Traffic volume and cost sensitivity** — full tracing at 10M req/day is a budget decision19- **What "misbehaving" means here** — the two or three failure modes that matter most (wrong facts? wrong actions? cost? refusals?)20- **Existing observability stack** (Datadog, Langfuse, OTel, homegrown) — spec into it, not around it2122## Trace Schema2324Every request produces one trace; every model call, retrieval, guardrail check, and tool execution is a span. Minimum fields:2526| Span | Must capture |27|---|---|28…
Excerpt shown under the repository's MIT license.
More skills in pm-claude-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
