/agent-engineer:agent-observabilityfrom Agent Engineer
Vendor-neutral tracing and monitoring for LLM agents and RAG using OpenTelemetry GenAI or OpenInference. Covers span model, OTLP export, content capture, PII redaction, sampling, metrics, alerts, and user feedback.
Ships in Agent Engineer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: one trace per turn showing what the agent saw, did and cost, readable by any OTLP backend, verified on real traces.
Just need to see what it does now, in dev? Debug-grade tracing in
references/instrumentation-setup.md.
OTEL_SEMCONV_STABILITY_OPT_IN, record the
version in observability.md, expect renames.observability.md. Ask: backend constraints, PII policy, retention, residency, volume.references/span-model-and-semconv.md).references/instrumentation-setup.md).references/content-capture-pii-sampling.md).references/instrumentation-health.md).references/metrics-dashboards-alerts.md).assets/observability.md (in agent-engineering/ if the
project keeps one).agent-evals error analysis on 30–50 traces (delegate to trace-analyst);
agent-production for SLOs and paging.| If | Then |
|---|---|
| App already has OTel | Add an exporter to the existing provider; never a second provider |
| Backend is Phoenix/Arize, or only OpenInference instruments the framework | OpenInference |
| Otherwise | OTel GenAI semconv with the opt-in |
| Tool calls visible but not results | Manual execute_tool spans |
| MCP spans start new traces | Propagate traceparent in params._meta |
| Sub-agents | invoke_agent spans with distinct names, not tool spans |
| Production with PII | External content store + reference, or Collector redaction |
| Must keep errors and slow runs | Tail sampling in the Collector, whole traces |
| Script, CLI, serverless, eval runner | force_flush() / shutdown() before exit |
| Feedback UI | Return trace ID with the answer; attach scores to that span |
Tool returns empty/null/truncated without error | Set app.tool.result_anomalous; track abstain rate |
| Sensitive tool behind a gate | Gate emits a span; sensitive call without one = P0 alert |
Write these to agent-engineering/ only if the project keeps one (see agent-engineer → Project record (optional)); otherwise put them in your reply or the PR description.
agent-engineering/observability.md: schema and semconv version, span hierarchy,
attributes, PII handling, sampling, metrics with targets and alerts, feedback loop,
verification results.references/span-model-and-semconv.md — span tree, names, attributes, OpenInference
mapping, metrics, eval event. Read when choosing a schema or naming spans.references/instrumentation-setup.md — debug-grade setup, framework entry points, init
order, manual spans, Collector, propagation, IDs, flush. Read when wiring tracing.references/content-capture-pii-sampling.md — capture modes, what not to record,
redaction, sampling. Read before production or with sensitive data.references/metrics-dashboards-alerts.md — readiness test, metrics, cost, alerts,
feedback, traces ↔ evals ↔ datasets. Read when setting up monitoring.references/instrumentation-health.md — smoke checklist, no-trace triage, span-tree
test, fleet and sabotage checks. Read after any instrumentation change.assets/observability.md (opens in a new tab)references/content-capture-pii-sampling.md (opens in a new tab)references/instrumentation-health.md (opens in a new tab)references/instrumentation-setup.md (opens in a new tab)references/metrics-dashboards-alerts.md (opens in a new tab)references/span-model-and-semconv.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sarthakrastogi/agent-engineer --plugin agent-engineer13 skills in this plugin
/agent-accuracyDebug and fix an LLM agent or RAG system that gives wrong, inconsistent, hallucinated or low-quality results: reproduce, localise the failing component, one hypothesis, the least-powerful fix, measure, check regressions, log. Use when the user says "it hallucinates", "wrong answers", "accuracy dropped", "flaky / right only sometimes", "worse after the model upgrade", "should I add RAG / a bigger model / fine-tune?", or wants a pass rate up. Not for building evals (agent-evals), errors/timeouts/migrations (agent-production), retrieval internals (agent-rag), prompt rewrites (agent-prompting) or tool redesign (agent-tools)./agent-contextEngineer what an agent's context window holds over long or multi-turn runs: ordering and token budgets, just-in-time loading, tool-result clearing and compaction, scratchpads, progress files, long-term memory, subagent isolation, prompt-cache hit rate, and measuring context from traces. Use when the agent forgets instructions or decisions, degrades or loops as runs grow, hits context limits, has token bloat or low cache hits, needs memory across sessions, or runs for hours. Not for prompt wording (agent-prompting), document search (agent-rag), one tool's output size (agent-tools), or overall cost and latency (agent-production).Other plugins' skills for the same job