/confident-eval-setup:confident-eval-setupfrom Confident AI Eval Setup
Get an LLM application ready to evaluate on the Confident AI platform through the Confident AI MCP server. TRIGGER when the user wants to set up evals on Confident AI, connect or register their app's endpoint as a Confident AI AI connection, fix or debug an AI connection that is inactive or failing its ping, or upload test cases (a CSV, JSON file, or list of examples) as a Confident AI dataset of goldens so the platform can evaluate the app. DO NOT TRIGGER to instrument an app or send traces (use the `confident-tracing` or `confident-otel` skill), to manage organizations, projects, members, or API keys (use the `confident-client` skill), to connect an app that has no HTTP endpoint (use the `confident-agent-handler` skill), or to write a local eval script that calls the app directly, which needs no AI connection.
Ships in Confident AI Eval Setup. 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 make an LLM application evaluable from the Confident AI platform. The hard part is the AI connection: a saved description of how to call the app's endpoint, so Confident AI can send it each golden's input and read the answer back. This skill builds that connection from the app's own code, proves it works with a ping, uploads a dataset, and hands the user the dataset page where they press Evaluate.
Everything happens through the Confident AI MCP server. Nothing is added to the user's codebase.
If the user only wants to run evals from their own machine, an AI connection is not needed: their code can call the app directly. Say so, and only continue if they still want the platform set up.
list_projects, create_ai_connection, ...) are missing, stop and give the
user the setup for their client from references/mcp-setup.md. It signs in
with OAuth; no API key is needed.https://, or wss:// for a WebSocket
app. localhost and private hosts are not reachable. For an app behind a
firewall, point the user to the Confident Agent
(https://www.confident-ai.com/docs/llm-evaluation/ai-connections/confident-agent).
For an app with no endpoint at all, use the confident-agent-handler skill.list_projects. If there is more than one, ask
which to use. Every later call takes its project_id.list_ai_connections and list_datasets.
If a connection already points at the same endpoint, ping it (step 5)
instead of creating a duplicate. If a dataset already holds the user's test
cases, reuse it.https:// address;Content-Type;create_ai_connection. Read
references/ai-connections.md for the payload tokens, response modes, and
key paths. The payload binds the request body to test data with tokens such
as "golden.input"; {{input}} is not a token and is sent literally.ping_ai_connection. It sends one sample test
case and returns active. A failed ping is still a successful call: read
active, error, statusCode, response, rawResponse, and
actualOutput, fix the configuration with update_ai_connection, and ping
again. Repeat until active is true, or until the problem is one only
the user can fix (an unreachable host, an expired credential), then tell
them exactly what to change. See the troubleshooting table in
references/ai-connections.md.push_dataset. Turn the user's test cases into
goldens: single-turn goldens need input (and usually expectedOutput);
multi-turn goldens need scenario (and usually expectedOutcome). Show the
user the goldens and push them with finalized: true once they confirm,
because only finalized goldens are evaluated. Read
references/datasets.md.push_dataset returns
(https://app.confident-ai.com/project/<projectId>/datasets/<datasetId>, or
the EU or self-hosted equivalent). Tell them to open it, press
Evaluate, choose the AI connection you created and a metric
collection, and start the run.active: true. Do not hand off
before that."golden.input"; leave
model names, flags, and routing values at the literal values the app uses.headers, queryParams, prompts, authentication, and cloudProvider
are full replacements on update. Read the connection with
get_ai_connection and resend every entry that should stay.Tell the user:
| Topic | File |
|---|---|
| Connecting the Confident AI MCP server to a coding agent | references/mcp-setup.md |
| Payload tokens, response modes, key paths, recipes, and ping troubleshooting | references/ai-connections.md |
Golden fields, CSV and JSON mapping, and push_dataset | references/datasets.md |
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-eval-setup2 skills in this plugin