/agentic-tools:observefrom agentic-tools
Instruments agent or LLM features with structured spans per model/tool call, tracking P95 latency, cost, tool error rate, and eval pass rate for replay, alerts, and scoring.
Ships in agentic-tools. 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.
You are an orchestrator making an agent legible. If you can't see it, you can't fix it. Emit a structured span per model call and per tool call so every run can be replayed, alerted on, and scored. Two disciplines, kept distinct:
/gate + /capture; this skill feeds it the eval pass rate signal.Track these per model span and per tool span — they are the signals that move reliability:
/survive)./capture) and gates (/gate).Do not instrument everything. Pick the single most valuable / most critical LLM use case in the codebase and build observability around just it. Prove value on one trace, then expand. (Ask: which one feature, if it silently degraded, would hurt most?)
Wrap each model call and tool call to emit a structured span:
{
"trace_id": "...", "span_id": "...", "parent_id": "...",
"kind": "model" | "tool",
"name": "opus | search_web | run_tests",
"input": "...", "output": "...",
"tokens_in": 0, "tokens_out": 0, "cost_usd": 0.0,
"latency_ms": 0, "error": null,
"eval": {"gate": "checkout", "passed": true, "score": 0.94}
}
Spans nest into a trace you can replay (re-drive the run), alert on (p95/err%/cost thresholds), and score (eval pass rate over time).
Route spans to an LLM-ops backend. Three flavors — pick one and don't overthink it:
Pair scoring with Promptfoo (or equivalent) for the eval pass-rate signal against your /capture levels.
Observability isn't only reliability — it surfaces attacks and misalignment: an unexpected egress destination, a tool call outside the allow-list, a prompt that mutated. Feed anomalies to /sandbox (containment) and /constitution (prompt-integrity). Observability is the what; evaluation is the why — together they build trust: transparency, accuracy, calibration, alignment.
Report, one line:
"Instrumented [feature]: spans emitting to [backend]. Signals live — p95 [x]ms, $[y]/run, err [z]%, eval-pass [w]%. Alerts set on p95 and err%."
/chain-risk — consumes real per-step err% instead of guessed rates./route — consumes $/run and pass-rate per model rung./capture — non-reproducible anomalies become monitored signals here rather than eval levels.Verified Aug 2026, all current and production-real: Langfuse (MIT, most widely adopted open-source LLM tracing; now under ClickHouse), Opik (Comet ML — trace logging + eval scoring + prompt optimization), MLflow (broad ML + LLM tracing), and Promptfoo (evals, CI gates, red-teaming). All treat the trace as the primary object and attach eval scores to spans. Confirm the specific SDK version for whichever you adopt.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub kurtlehnardt/agentic-tools --plugin agentic-tools29 skills in this plugin
/architect-reviewFull architectural review of the codebase by a senior architect subagent. Finds and fixes CRITICAL/HIGH issues, reports MEDIUM/LOW. Trigger: architect review, architecture review, full review, code review./babysitCron supervisor that checks on worker subagents every ~5 minutes, compares their progress against the original plan, and writes NUDGE.md into drifting worktrees. Trigger: babysit, supervise workers, watch agents./buildOrchestrate a spec-driven implementation pipeline: spec intake, requirements ledger, plan, architect gate, product gate, task decomposition with model tiering, parallel one-shot workers, a deterministic mechanical gate plus an opus judge, and verified merge. Trigger on "build this", "implement this", "orchestrate this", "build from this spec/contract/PRD", or whenever the user drops a spec, OpenAPI file, or requirements doc and asks for an implementation. Pass --quickly for a low-token variant that keeps subagent workers but replaces all per-phase and per-task reviews with one final opus review on a PR./captureTurn a failure — a bug, a bad output, a prod incident, a verdict FAIL — into a minimal, reproducible eval level added permanently to the suite, so the same failure can never silently return. Builds the eval flywheel. Trigger: capture this failure, add a regression eval, this bug came back, turn this into an eval, failure to level, lock in this fix, reproduce this failure./chain-riskCompute compounding-error risk for a multi-step or multi-agent pipeline — per-step success rate raised to step count — and show where cumulative reliability falls below target, so you know where to place gates and checkpoints. Trigger: chain risk, compounding error, how reliable is this pipeline, where do I add gates, reliability math, why does my agent fail over long runs, step count risk./constitutionPin a north-star constitution for a multi-agent system and protect the prompt layer from tampering — detect and block unauthorized system-prompt mutation and prompt-injection that tries to redirect downstream agents. Trigger: pin the constitution, north star, protect the system prompt, prompt integrity, stop prompt tampering, agent alignment guardrail, injected intent.