agent-observability
Skill by sickn33
Instrument AI agents with tracing, token metrics, latency and cost visibility. It is a docs-only skill for teams debugging and running LLM-powered agents.
Install agent-observability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/agent-observability ~/.claude/skills/agent-observabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/agent-observability ~/.gemini/antigravity-cli/skills/agent-observabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-observability in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Agent Observability is a docs-only skill that shows how to monitor AI agent behavior with logs, traces, metrics and cost telemetry. It provides Python examples built on Prometheus counters and histograms for latency, token usage, cost, tool calls and errors. It also includes OpenTelemetry tracing for LLM calls and tool execution, plus trace context propagation across services.
The skill points to reference material for structured logging, Grafana dashboards, cost tracking, Langfuse and Helicone integration, SLO definition, debugging workflows and PII redaction. Its examples use custom llm.* attributes and do not claim OpenTelemetry semantic-convention compliance. It is aimed at teams running autonomous or LLM-backed agents who need reliability and debugging visibility. It warns that exporting telemetry is a data disclosure step.
Written from the project's SKILL.md and checked against it.
What it can do
- Latency metricsHistograms for end-to-end agent turns, single LLM calls and tool calls.
- Token usage metricsCounters for prompt, completion and cached tokens, plus tokens per request.
- Cost metricsA counter for estimated LLM cost in USD, split by prompt and completion.
- Tool call metricsCounters and latency for tool calls by status: success, error or timeout.
- Error and retry metricsCounters for LLM provider errors and retries, plus an in-flight request gauge.
- OpenTelemetry tracingSetup and wrappers that create spans for LLM calls and tool execution.
- Trace context propagationInjects and extracts trace headers when calling downstream HTTP services.
- Reference topicsLists structured logging, Grafana dashboards, SLO definition and PII redaction guides.
What you need
- Python with the prometheus_client and OpenTelemetry SDK packages used in the examples
- Authorized access to the target environment
- Platform CLIs such as kubectl, helm, terraform and git, per the compatibility field
Try asking
- Add latency and token metrics to my agent using the Prometheus examples.
- Wrap my LLM completion call with an OpenTelemetry span that records token usage.
- Show me how to trace tool calls in my agent and count their errors.
Good to know
- Docs-only: helper scripts and templates are not bundled.
- Examples use custom llm.* attributes, not OpenTelemetry semantic-convention compliance.
- Telemetry export is data disclosure; prompts, credentials and raw exception bodies should be omitted.
- TLS is required for non-loopback collectors.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/agent-observability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/details.md26 KB
Alternatives to agent-observability
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
agent-observability: common questions
Does agent observability work with OpenTelemetry?
The skill includes OpenTelemetry Python SDK examples for tracing LLM calls and tool execution. It uses custom llm.* attributes and does not claim semantic-convention compliance.
What metrics does it define for AI agents?
It defines Prometheus metrics for request and LLM call latency, token usage, estimated cost, tool calls, LLM errors, retries and active requests.
Does the skill redact sensitive data?
It warns against exporting prompts, credentials, direct user IDs and raw exception text, and lists PII redaction in its contents. The source does not provide bundled redaction code.
How do I install agent-observability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-observability free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agent-observability safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-observability?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
