create-eval
Skill486 starsChanged 8 months agoMITView on GitHub
Create plugin development eval scenarios (JSON files with natural prompts and deterministic checks for testing plugin skills). NOT for Copilot Studio in-product evaluation — use /copilot-studio:create-eval-set for that.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- danielrosehill/AI-Evaltheir own version, first seen Nov 8, 2026
- robusta-dev/holmesgpttheir own version, first seen Oct 8, 2026
- UKGovernmentBEIS/inspect_evalstheir own version, first seen Oct 8, 2026
- HolmesGPT/holmesgpttheir own version, first seen Oct 8, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- robusta-dev/holmesgpt★ 3.8ksame name
- HolmesGPT/holmesgpt★ 3.8ksame name
- UKGovernmentBEIS/inspect_evals★ 735same name
- danielrosehill/AI-Eval★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- add-actionSkill
- add-adaptive-cardSkill
- add-generative-answersSkill
- add-global-variableSkill
- add-knowledgeSkill
- add-nodeSkill
- add-other-agentsSkill
- analyze-evalsSkill
- chat-directlineSkill
- chat-sdkSkill
- chat-with-agentSkill
- clone-agentSkill
- create-eval-setSkill
- detect-modeSkill
- directline-chatSkill
- edit-actionSkill
- edit-agentSkill
- edit-triggersSkill
- int-patternsSkill
- int-project-contextSkill
- int-referenceSkill
- list-kindsSkill
- list-topicsSkill
- lookup-schemaSkill
- manage-agentSkill
- new-topicSkill
- run-evalSkill
- run-tests-kitSkill
- test-authSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
If the scenario needs a richer agent (e.g., existing topics to modify, knowledge sources, actions), note that the fixture would need to be …
- Very specific: line 57
Identify the target scenario: If $ARGUMENTS is provided, use it as the scenario name.
- Distinctive: line 69
If yes, read them and offer to add more test cases.
- Distinctive: line 169
Keep prompts specific enough that checks can be deterministic (mention exact names, values, counts)
- Very specific: line 170
Use schema_validate: true for ALL scenarios that produce YAML — it's the most powerful check
- Distinctive: line 172
Don't create evals for deprecated skills (chat-with-agent, directline-chat)
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Scenario Eval
Guide the user through creating eval test cases for a Copilot Studio plugin scenario. Evals test end-to-end scenarios with natural prompts — the request routes through sub-agents (e.g., Author agent) which invoke skills internally.
How the eval system works
The eval harness (evals/evaluate.py) works by:
- Copying a fixture agent into a temp workspace
- Running
claude -p "<prompt>"with a PreToolUse hook that traces skill invocations inside sub-agents - Checking routing (which agents and skills were invoked), output files, and response text against deterministic checks
- Producing a JSON results file and HTML report
What can be tested right now
Authoring scenarios that produce YAML files (topics, agents, knowledge sources, etc.) are the best candidates. The harness supports these check types:
| Check | What it validates | Use for |
agent_invoked | Expected sub-agent was dispatched (e.g., Author agent) | Routing verification |
agent_not_invoked | Unwanted sub-agents were NOT dispatched | Routing verification |
skill_invoked | Expected skill was invoked (traced inside sub-agents via hook) | Skill routing |
skill_not_invoked | Unwanted skills were NOT invoked | Skill routing |
files_created | Expected files were created/modified (glob pattern) | All authoring scenarios |
schema_validate | Full Copilot Studio schema validation (kind, required fields, IDs, Power Fx, scopes) | All YAML-producing scenarios |
yaml_structure | Specific YAML path has expected value, min array length, or contains string | Structural assertions |
content_contains | Keywords from prompt appear in output files | Domain relevance |
no_placeholders | No _REPLACE, TODO, or FIXME markers left | Template completion |
stdout_contains | CLI response text contains expected strings | Reference/info scenarios |
stdout_not_contains | CLI response does NOT contain error strings | Error absence |
exit_code | CLI exited with expected code | All scenarios |
yaml_unchanged | Specific file or YAML path was NOT modified | Preservation testing |
Note: no_placeholders runs automatically when any .mcs.yml file is changed, unless explicitly set to false.
Not yet testable: Integration scenarios that call external APIs (chat-directline, manage-agent) — these need script mocking which isn't implemented yet.
Available fixtures
Fixtures are pre-built agent directories in evals/fixtures/:
- basic-agent — Minimal agent with
GenerativeActionsEnabled: false, one Greeting topic. Use for most authoring evals. - agent-with-mcp-action — Same as basic-agent plus two MCP action files. Use for action-editing evals.
- empty-workspace — No agent files. Use for negative-path testing.
If the scenario needs a richer agent (e.g., existing topics to modify, knowledge sources, actions), note that the fixture would need to be created first.
Instructions
- Identify the target scenario. If
$ARGUMENTSis provided, use it as the scenario name. Otherwise ask the user what scenario they want to test (e.g., "topic creation", "agent settings", "knowledge sources"). - Read relevant skill SKILL.md files to understand what the scenario covers:
Understand: What skills are involved? What YAML kinds? What files get created/modified?Glob: skills/*/SKILL.md - Check if evals already exist:
If yes, read them and offer to add more test cases. Note the highest existing eval ID.Glob: evals/scenarios/<scenario-name>.json Guide the user through creating test cases. For each eval, gather:
- name: Short descriptive title (e.g., "IT support topic with OnRecognizedIntent trigger")
- prompt: A natural language prompt — what a real user would say. Do NOT prefix with "Use the X skill to...".
- fixture: Which fixture agent to use (default:
basic-agent) - checks: What to validate about the routing and output
Help the user define checks. Based on the scenario type:
For topic-creation scenarios:
{ "agent_invoked": "copilot-studio:Copilot Studio Author", "skill_invoked": "copilot-studio:new-topic", "files_created": [{"pattern": "topics/*.topic.mcs.yml", "min_count": 1}], "schema_validate": true, "yaml_structure": [ {"path": "kind", "equals": "AdaptiveDialog"}, {"path": "beginDialog.kind", "equals": "<trigger-type>"} ], "content_contains": ["<domain keywords>"], "no_placeholders": true }For agent-settings scenarios:
{ "agent_invoked": "copilot-studio:Copilot Studio Author", "skill_invoked": "copilot-studio:edit-agent", "files_created": [{"pattern": "agent.mcs.yml", "min_count": 1}], "schema_validate": true, "yaml_structure": [ {"path": "kind", "equals": "GptComponentMetadata"} ], "content_contains": ["<expected content>"], "no_placeholders": true }For knowledge-source scenarios:
{ "agent_invoked": "copilot-studio:Copilot Studio Author", "skill_invoked": "copilot-studio:add-knowledge", "files_created": [{"pattern": "knowledge/*.knowledge.mcs.yml", "min_count": 1}], "schema_validate": true, "no_placeholders": true }For reference/query scenarios:
{ "stdout_contains": ["<expected content in response>"], "exit_code": 0 }- Recommend at least 3 test cases that cover different possibilities within the scenario. For example, for topic-creation:
- Different trigger types (OnRecognizedIntent, OnConversationStart, OnUnknownIntent)
- Different complexity levels (simple message, multi-step with questions, branching)
- Edge cases (empty workspace refusal)
Write the scenario JSON file:
Write: evals/scenarios/<scenario-name>.jsonFormat:
{ "scenario_name": "<scenario-name>", "evals": [ { "id": 1, "name": "<short descriptive title>", "prompt": "<natural language request — what a user would say>", "fixture": "basic-agent", "mock_scripts": [], "checks": { ... } } ] }Tell the user how to run the evals:
python3 evals/evaluate.py --scenario <scenario-name> --verboseOr for all scenarios:
node evals/run.jsTo generate the HTML report:
python3 evals/report.py evals/results/<timestamp>/
Important guidelines
- Prompts must be natural language — write what a real user would say, not "Use the X skill to..."
- Include
agent_invokedandskill_invokedchecks to verify correct routing - Keep prompts specific enough that checks can be deterministic (mention exact names, values, counts)
- Use
schema_validate: truefor ALL scenarios that produce YAML — it's the most powerful check content_containskeywords should come directly from the prompt to verify domain relevance- Don't create evals for deprecated skills (chat-with-agent, directline-chat)
- Eval IDs must be unique integers within a scenario's JSON
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

