agentleFS
MicrosoftKnown publishermicrosoft/eval-guide/CLAUDE.md

eval-guide

CLAUDE.md130 starsChanged 5 months agoMITView on GitHub

This is a content/plugin repository, not an application. It ships an AI-agent evaluation toolkit for Copilot Studio in two parallel forms: There is no build, no test runner, no lint step. Changes are validated by running the skills end-to-end against an agent description. AGENTS.md is the master cross-tool instruction file. README.md is the canonical user-facing docs. When changing user-visible behavior, keep all three (README.md, AGENTS.md, .github/copilot-instructions.md) in sync — they each describe the same routing table for a different audience.

  • Reads credentials

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When editing one stage's behavior, check whether the corresponding standalone skill needs the same change.

    line 31
  2. Very specific:

    Every /eval-guide invocation runs bin/eval-guide-update-check from the SKILL.md preamble: block.

    line 58
  3. Very specific:

    When bumping a release: edit VERSION, update .claude-plugin/plugin.json and marketplace.json versions, and merge to main so the remote …

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

This is a content/plugin repository, not an application. It ships an AI-agent evaluation toolkit for Copilot Studio in two parallel forms:

  • Claude Code plugin — skills under skills/*/SKILL.md, registered via .claude-plugin/plugin.json and marketplace.json.
  • GitHub Copilot prompts — equivalent prompts under .github/prompts/*.prompt.md, with always-on instructions in .github/copilot-instructions.md.

There is no build, no test runner, no lint step. Changes are validated by running the skills end-to-end against an agent description.

AGENTS.md is the master cross-tool instruction file. README.md is the canonical user-facing docs. When changing user-visible behavior, keep all three (README.md, AGENTS.md, .github/copilot-instructions.md) in sync — they each describe the same routing table for a different audience.

High-level architecture

The 6 skills form a pipeline, not a flat catalog

/eval-guide is the orchestrator that walks the customer through the operational workflow (Discover → Plan → Generate → Run → Interpret) over Microsoft's Practical Guidance on Agent Evaluation — 10-step playbook. The canonical methodology spine is skills/eval-guide/playbook.md; every skill points to it rather than restating the methodology. The other 5 skills are extracted stages that can be invoked directly:

SkillRole
eval-guideOrchestrator. Owns the dashboard workflow and stage transitions.
eval-suite-plannerStage 1 standalone. Produces eval-suite workbook plus an interactive HTML review page.
eval-generatorStage 2 standalone. Produces test-case CSVs / conversation blueprints.
eval-result-interpreterStage 4 standalone. SHIP/ITERATE/BLOCK verdict from results.
eval-triage-and-improvementStage 4 deep-dive. Interactive remediation.
eval-faqMethodology Q&A grounded in Microsoft's eval ecosystem.

When editing one stage's behavior, check whether the corresponding standalone skill needs the same change. The orchestrator and standalones share methodology but have separate SKILL.md files.

The dashboard is the review checkpoint

/eval-guide uses interactive review surfaces instead of asking "does this look right?" in chat. Stage 1 Plan produces a populated workbook plus eval-suite-<agent>-<date>-review.html. Generate and Interpret use the dashboard server flow:

  1. Skill writes stage data to stage-N-data.json.
  2. Skill launches python skills/eval-guide/dashboard/serve.py --stage <name> --data stage-N-data.json.
  3. serve.py injects the JSON into a template (dashboard/templates/<stage>.html composed into base.html), writes a standalone HTML file next to the data file, and opens it in the browser.
  4. The user edits inline; on Confirm/Request Changes, a feedback JSON downloads. They save it next to the data file.
  5. serve.py detects <stage>-feedback.json on disk and exits.
  6. Skill reads the feedback file. No .docx or .csv is generated until the user confirms via the dashboard.

Stage names map to file names for served dashboards: generate (2), interpret (4). Stage 3 (Run) executes tests directly with no dashboard. The planner HTML review page follows skills/eval-guide/plan-review-page.md; served dashboard templates live in dashboard/templates/, with example stage data in dashboard/examples/.

Eval execution path (Stage 3)

skills/eval-guide/scripts/eval-runner.js is a Node script that talks to a live Copilot Studio agent over DirectLine, runs CSV test cases, and uses the Anthropic SDK as an LLM judge for Compare meaning / General quality methods. It requires ANTHROPIC_API_KEY and either --token-endpoint or --directline-secret.

node skills/eval-guide/scripts/eval-runner.js --token-endpoint <url> --csv-dir <dir>

This is the only stage that requires a running agent.

Versioning and self-upgrade

Every /eval-guide invocation runs bin/eval-guide-update-check from the SKILL.md preamble: block. The script compares VERSION against microsoft/eval-guide@main on GitHub and prints UPGRADE_AVAILABLE <old> <new> / JUST_UPGRADED <old> <new> / nothing. The skill body has explicit handling instructions for each output. State (config, snooze, just-upgraded marker) lives in ~/.eval-guide/.

When bumping a release: edit VERSION, update .claude-plugin/plugin.json and marketplace.json versions, and merge to main so the remote check picks up the new version.

Conventions to preserve

These are non-obvious invariants enforced across all 6 skills — keep them consistent when editing:

  • CSV format for Copilot Studio import: exactly 2 columns — Question, Expected response (one row per case). The testing method is assigned per row in Copilot Studio's Evaluate tab after import — it is NOT a CSV column. All other methodology metadata (set type, trust&safety category, gate, target, regression class, provenance) travels in the workbook/manifest, never the CSV. Group test cases by eval set into separate CSV files. (A 3-column -with-methods variant may be emitted for human readability only — it is never the import format.)
  • Valid testing methods: General quality, Compare meaning, Text similarity, Exact match, Keyword match, Capability use, Custom. The first five are the Copilot Studio core set; the last two extend it.
  • Stages 0–2 must work without a running agent. Description-based mode is the default; live-agent mode is an enhancement when the Copilot Studio plugin is also installed. Don't introduce code paths that require live agent connectivity in those stages.
  • Architecture-aware scoping: planner output should change based on whether the agent is prompt-level / RAG / agentic. Don't generate tool-routing tests for a simple FAQ bot.
  • Every eval plan must include at least one adversarial / safety scenario.
  • Explain reasoning, don't just produce artifacts. The skills are pitched as enablement accelerators — the user should learn the methodology, not just receive output. Calibrate verbosity accordingly.
  • The Per-Agent Eval Maturity Model (5 pillars × 5 levels, L100→L500) is the outcome scorecard (maturity-model.md), mapped onto the playbook: P1=Step 1, P2=Steps 2–5, P3=Steps 6+8, P4=Steps 7+9, P5=Step 8; Step 10 is the org-wide bridge. A /eval-guide session moves Pillars 1, 2, and 4 from L100 to L300, and Pillars 3 and 5 to L200 (via the rerun-protocol and baseline-comparison starter artifacts). Keep that scoping consistent.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.