dokimos-dev/dokimos/evaluate-openai
Claude Code and agent skill by dokimos-dev/dokimos
- community
Checking that the SKILL.md file is still in the repository.
Sets up evaluation of an OpenAI Java SDK agent using Dokimos. Use this skill when the user wants to evaluate, test, or benchmark an agent built directly on the OpenAI Java SDK that uses tools (function calling), or assess its tool call correctness, task completion, or argument hallucination. Also use when the user mentions OpenAI function calling evaluation or evaluating an OpenAI tool-calling loop with Dokimos.
Install
npx vskill@latest install dokimos-dev/dokimos/evaluate-openaiSKILL.md
Evaluate an OpenAI Java SDK Agent
Set up Dokimos agent evaluation for an agent built directly on the OpenAI Java SDK (com.openai:openai-java). The user will describe their agent and evaluation goals via $ARGUMENTS.
Where things live
- OpenAI support utilities:
dev.dokimos:dokimos-openai(dev.dokimos.openai.OpenAiSupport) - Runnable example:
dokimos-examples/src/main/java/dev/dokimos/examples/basic/OpenAIAgentEvaluationExample.java - Agent data model and evaluators:
dokimos-core/src/main/java/dev/dokimos/core/agents/and.../evaluators/agents/
Add the dev.dokimos:dokimos-openai dependency (it brings in dokimos-core). It expects you to supply your own com.openai:openai-java version.
The support class
OpenAiSupport converts the SDK's tool calls into Dokimos ToolCalls and tool definitions:
- `toAgentTrace(ChatCompletionMessage message, Function<String,String> resultLookup)`: a full trace from a message;
resultLookupmaps a tool-call id to its result. Non-function (custom) tool calls are skipped. - `toToolCall(ChatCompletionMessageToolCall toolCall, String result)`: one function tool call plus the result you got from executing it.
- `toToolCalls(ChatCompletionMessage message, Function<String,String> resultLookup)`: all function tool calls on a message.
- `toToolDefinitions(List<ChatCompletionTool> tools)`: the tools the agent was given, so the validity and reliability evaluators can run.
Arguments are parsed from the model's JSON; if they cannot be parsed they default to an empty map rather than failing the trace.
Pattern: capture the trace in your tool-calling loop
Evaluate the trace
Steps
- Understand from
$ARGUMENTSwhat the agent does and which tools (functions) it exposes. - Add the
dev.dokimos:dokimos-openaidependency if it is not already present. - In the tool-calling loop, capture each executed tool call with
OpenAiSupport.toToolCall(...)and set the final response. - Define a
ToolDefinitionfor each function (JSON Schema with"type","properties","required") so the validity and reliability evaluators can run. - Build the test case with
trace.toTestCase(input, tools)and run the agent evaluators. Start with the deterministic ones (validity, correctness), then add LLM-based ones. - For the full agent evaluator set and the Experiment-across-a-dataset pattern, use the
evaluate-agentskill.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/evaluate-openai/skills/evaluate-openai/SKILL.md
Popularity
- Repository stars
- 50
- Repository forks
- 4
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dokimos-dev/dokimos/evaluate-openai)