/confident-trace:confident-otelfrom Confident Trace
Export 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.
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 raw OpenTelemetry so its traces land in Confident
AI. No confident-trace package is needed. The job is exactly two things:
export to the correct Confident AI OTLP endpoint and set the confident.*
attributes Confident AI reads from each span.
Instrument only agent loops and planning, LLM calls, retrieval/vector search,
and tool calls. Do not apply confident.* attributes to web servers, CRUD
backends, database layers, infrastructure, or non-AI spans. If the target has
no LLM, agent, retrieval, or tool-calling component, this skill does not apply.
confident-otel)—vendor-neutral OTLP export and raw
confident.* attributes without the confident-trace package.confident-tracing skill—automatic integrations and custom SDK spans in
Python or TypeScript.CONFIDENT_API_KEY.opentelemetry-sdk and
opentelemetry-exporter-otlp-proto-http.Point an OTLP/HTTP traces exporter at Confident AI with the
x-confident-api-key header. Confident AI reads confident.* attributes from
the spans. Parent/child nesting, trace IDs, sampling, status, links, and context
propagation remain native OpenTelemetry concerns.
TracerProvider, exporter, Collector, or APM pipeline.references/endpoint-and-exporter.md.x-confident-api-key header.
For Python, start from templates/confident_otel_setup.py.confident.span.* fields on spans and confident.trace.* fields for the
whole trace. Read references/span-attributes.md and
references/trace-attributes.md.gen_ai.* semantic-convention attributes, read
references/gen-ai-fallbacks.md before adding redundant fields.confident.* keys are language-neutral.confident.span.type explicitly when known; use gen_ai.* inference
only as a fallback.| Topic | File |
|---|---|
| Endpoints, region selection, authentication, exporter wiring, and filtering | references/endpoint-and-exporter.md |
Trace-level confident.trace.* attributes | references/trace-attributes.md |
Span-level confident.span.* attributes and data-type rules | references/span-attributes.md |
Standard OpenTelemetry gen_ai.* fallback behavior | references/gen-ai-fallbacks.md |
| Purpose | Template |
|---|---|
| Minimal Python OTLP exporter setup and example trace | templates/confident_otel_setup.py |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub confident-ai/confident-skills --plugin confident-trace3 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-tracingInstrument 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.