/confident-trace:confident-tracingfrom Confident Trace
Instrument an AI application with the confident-trace SDK so its behavior is visible in Confident AI. TRIGGER when the user wants to add Confident Trace, automatic AI instrumentation, @span, span(), or withSpan() to an LLM app, agent, RAG pipeline, or chatbot; wire a framework, model-provider, agent SDK, or gateway integration; choose between automatic integration and custom instrumentation; set span types, tags, metadata, or conversation context; or send confident-trace SDK traces to Confident AI. DO NOT TRIGGER for evaluation test suites, datasets, goldens, metrics, or test runs, or for raw OpenTelemetry / OTLP export without the confident-trace package (use the `confident-otel` skill), or for migrating existing Langfuse tracing (use the `confident-migrate-langfuse` skill). This skill is purely confident-trace SDK instrumentation—producing well-formed traces, not running evals.
Ships in Confident Trace. 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.
Use this skill to instrument an AI application—an LLM app, agent, RAG pipeline, or chatbot—with the confident-trace SDK so its execution is visible span by span in Confident AI. Pick a supported integration when one exists, fall back to custom spans otherwise, give each span a meaningful type, and add useful trace context.
This skill stops at producing well-formed traces. Attaching evaluation metrics and running evals is out of scope.
Instrument only the AI parts of the system: agent loops and planning, LLM calls, retrieval/vector search, and tool calls. Do not trace non-AI software such as web servers, CRUD backends, database layers, or infrastructure. If the target has no LLM, agent, retrieval, or tool-calling component, this skill does not apply.
confident-otel Skillconfident-tracing)—instrument a Python or TypeScript app
with the confident-trace SDK and its integrations.confident-otel skill—export raw, vendor-neutral OpenTelemetry traces to
Confident AI without the confident-trace package.confident-trace installed.CONFIDENT_API_KEY for export to Confident AI.references/integrations.md and the exact repository integration
documentation for what was detected. Prefer automatic instrumentation.references/tracing.md.llm, retriever, tool, agent, or
custom) and capture useful inputs and outputs.thread, user, and customer objects carry extra properties such as
names, tags, and metadata.init().turn() for conversation turns that must start separate traces; a
thread ID associates turns but does not merge their OpenTelemetry traces.confident-otel.| Topic | File |
|---|---|
| SDK instrumentation: initialization, custom spans, context, and lifecycle | references/tracing.md |
| Integration selection and supported provider/framework index | references/integrations.md |
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/confident-migrate-langfuseMigrate an AI application's tracing from Langfuse to Confident AI with the confident-trace SDK. TRIGGER when the user wants to switch, move, or migrate from Langfuse to Confident AI; replace @observe, langfuse_context, get_client(), langfuse.trace(), trace.generation(), langfuse.openai, observeOpenAI, LangfuseMedia, LangfuseSpanProcessor, or the Langfuse LangChain CallbackHandler with confident-trace; or export the spans Langfuse already emits to Confident AI over OpenTelemetry. Covers Langfuse SDK v1, v2, v3, and v4 (TypeScript v4 and v5) in Python and TypeScript. DO NOT TRIGGER for new instrumentation in an app with no Langfuse code (use the `confident-tracing` skill) or for raw OpenTelemetry export without a Langfuse SDK (use the `confident-otel` skill).
/confident-otelExport raw OpenTelemetry traces from an AI application to Confident AI. TRIGGER when the user wants to send OpenTelemetry or OTLP traces/spans from an LLM app, agent, RAG pipeline, or chatbot to Confident AI; configure the Confident AI OTLP endpoint; set confident.span.* or confident.trace.* attributes; export AI-app traces without the confident-trace package; wire an OTLPSpanExporter, OpenTelemetry Collector, or vendor-neutral OTel SDK to Confident AI; or pick the US vs EU OTLP endpoint. Language-agnostic: the mechanism is OTLP attribute keys plus an exporter endpoint. DO NOT TRIGGER for evaluation test suites, datasets, goldens, metrics, or test runs; for instrumentation with the confident-trace SDK and its integrations (use the `confident-tracing` skill); or for non-AI software such as web servers, CRUD backends, or infrastructure.
Other plugins' skills for the same job
npx claudepluginhub confident-ai/confident-skills --plugin confident-trace