/evaluate-embabel:evaluate-embabelfrom evaluate-embabel
Sets up Dokimos evaluation for Embabel agents, enabling benchmarking of tool calls and execution traces via trace collectors and evaluators.
Ships in evaluate-embabel. 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.
None: SKILL.md is the whole skill.
Set up Dokimos evaluation for an Embabel agent. The user will describe their agent and evaluation goals via $ARGUMENTS.
Requires Java 21 or later: Embabel's published artifacts are built for Java 21. The rest of Dokimos stays on Java 17.
dokimos-embabel/src/main/java/dev/dokimos/embabel/EmbabelSupport.javadokimos-embabel/src/main/java/dev/dokimos/embabel/EmbabelTraceCollector.javadev.dokimos:dokimos-embabelBefore writing code, read EmbabelTraceCollector.java to understand how events map to a trace.
Embabel reports tool calls through per-event AgenticEventListener callbacks during a run, not as a return value. EmbabelTraceCollector implements that listener and assembles an AgentTrace from the ToolCallResponseEvents it observes.
EmbabelSupport.attach(ProcessOptions, collector) — registers the collector on ProcessOptions, returning new options to run with.EmbabelSupport.attach(AgentInvocation.Builder) — registers a fresh collector on an invocation builder and returns it.collector.trace() — materializes the AgentTrace after the run.EmbabelSupport.toToolDefinitions(collector) — synthesizes ToolDefinitions from the observed tool names. These carry an empty input schema, so ToolDescriptionReliabilityEvaluator coverage is weakened; build the definitions by hand if you need full schema coverage.The collector is single-run and not thread-safe. Reuse one instance only after calling reset().
EmbabelTraceCollector collector = new EmbabelTraceCollector();
ProcessOptions options = EmbabelSupport.attach(new ProcessOptions(), collector);
AgentInvocation<String> invocation =
AgentInvocation.builder(platform).options(options).build(String.class);
invocation.invoke(input);
AgentTrace trace = collector.trace();
List<ToolDefinition> tools = EmbabelSupport.toToolDefinitions(collector);
EvalTestCase testCase = trace.toTestCase(input, tools);
var validity = ToolCallValidityEvaluator.builder().build().evaluate(testCase);
var correctness = ToolCorrectnessEvaluator.builder().build().evaluate(testCase);
Always construct evaluators with XEvaluator.builder()...build(); they have private constructors.
A captured ToolCall keeps its arguments as a Map and its result as the string Embabel returned. Read them typed with call.argumentsAs(MyArgs.class) and, when the result is JSON, call.resultAs(MyResult.class) (or OutputType for generics).
<dependency>
<groupId>dev.dokimos</groupId>
<artifactId>dokimos-embabel</artifactId>
<version>${dokimos.version}</version>
</dependency>
Embabel itself is a provided-scope dependency: the user brings their own version (com.embabel.agent:embabel-agent-api).
$ARGUMENTS what the Embabel agent does and which tools it callsEmbabelTraceCollector to the run and capture collector.trace()EvalTestCase with trace.toTestCase(input, tools)evaluate-agent skillWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
embabel, dokimos, agent-evaluation, trace-collection, benchmarking
npx claudepluginhub dokimos-dev/dokimos --plugin evaluate-embabelOther plugins' skills for the same job