Create Eval logo

Create Eval

Organization
microsoft
create-eval

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.

Overview

Publishermicrosoft
Repositoryskills-for-copilot-studio
Skill namecreate-eval
Stars
478
Forks
101
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by microsoft on GitHub. Read the source before you install it.

Installation

Install the Create Eval AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/microsoft/skills-for-copilot-studio/tree/main/skills/create-eval
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/microsoft/skills-for-copilot-studio.git /tmp/skills-for-copilot-studio
mkdir -p .claude/skills
cp -r /tmp/skills-for-copilot-studio/skills/create-eval .claude/skills/create-eval
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Create Eval in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Create Eval on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Create Eval is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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:

  1. Copying a fixture agent into a temp workspace
  2. Running claude -p "<prompt>" with a PreToolUse hook that traces skill invocations inside sub-agents
  3. Checking routing (which agents and skills were invoked), output files, and response text against deterministic checks
  4. 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:

CheckWhat it validatesUse for
agent_invokedExpected sub-agent was dispatched (e.g., Author agent)Routing verification
agent_not_invokedUnwanted sub-agents were NOT dispatchedRouting verification
skill_invokedExpected skill was invoked (traced inside sub-agents via hook)Skill routing
skill_not_invokedUnwanted skills were NOT invokedSkill routing
files_createdExpected files were created/modified (glob pattern)All authoring scenarios
schema_validateFull Copilot Studio schema validation (kind, required fields, IDs, Power Fx, scopes)All YAML-producing scenarios
yaml_structureSpecific YAML path has expected value, min array length, or contains stringStructural assertions
content_containsKeywords from prompt appear in output filesDomain relevance
no_placeholdersNo _REPLACE, TODO, or FIXME markers leftTemplate completion
stdout_containsCLI response text contains expected stringsReference/info scenarios
stdout_not_containsCLI response does NOT contain error stringsError absence
exit_codeCLI exited with expected codeAll scenarios
yaml_unchangedSpecific file or YAML path was NOT modifiedPreservation 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

  1. Identify the target scenario. If $ARGUMENTS is 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").

  2. Read relevant skill SKILL.md files to understand what the scenario covers:

    Glob: skills/*/SKILL.md

    Understand: What skills are involved? What YAML kinds? What files get created/modified?

  3. Check if evals already exist:

    Glob: evals/scenarios/<scenario-name>.json

    If yes, read them and offer to add more test cases. Note the highest existing eval ID.

  4. 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
  5. Help the user define checks. Based on the scenario type:

    For topic-creation scenarios:

    json
    {
      "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:

    json
    {
      "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:

    json
    {
      "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:

    json
    {
      "stdout_contains": ["<expected content in response>"],
      "exit_code": 0
    }
  6. 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)
  7. Write the scenario JSON file:

    Write: evals/scenarios/<scenario-name>.json

    Format:

    json
    {
      "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": { ... }
        }
      ]
    }
  8. Tell the user how to run the evals:

    python3 evals/evaluate.py --scenario <scenario-name> --verbose

    Or for all scenarios: node evals/run.js

    To 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_invoked and skill_invoked checks to verify correct routing
  • Keep prompts specific enough that checks can be deterministic (mention exact names, values, counts)
  • Use schema_validate: true for ALL scenarios that produce YAML — it's the most powerful check
  • content_contains keywords 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

Frequently asked questions

What does the Create Eval AI skill do?

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.

Why use Create Eval on TypingMind?

Because you install it once and use it with any model. Create Eval is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Create Eval in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/microsoft/skills-for-copilot-studio/tree/main/skills/create-eval. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Create Eval?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Create Eval?

As many as you like. As long as a model supports skills, you can use Create Eval with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Create Eval AI skill free?

Yes. It is published on GitHub by microsoft under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇