Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 92
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agent-observability in Claude Code

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

A

No 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 →

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.

agent-observability Install

Add to stack

Loading.