Add WebSkills support to demos and evals CLI#49
Draft
MiguelsPizza wants to merge 1 commit intoGoogleChromeLabs:mainfrom
Draft
Add WebSkills support to demos and evals CLI#49MiguelsPizza wants to merge 1 commit intoGoogleChromeLabs:mainfrom
MiguelsPizza wants to merge 1 commit intoGoogleChromeLabs:mainfrom
Conversation
4 tasks
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
5a261ab to
9fe188a
Compare
- All three demos embed <script type="agent-context"> skill blocks - --skill flag on runevals for benchmark comparison - Multi-step agent loop handles read_site_context disclosure calls - Extracted loadSkillFromFile() into evaluator/skill.ts - Deterministic eval date via WEBMCP_EVAL_DATE env var - Pizza-maker and travel skill eval test sets with SKILL.md files - Drop resource names from disclosure prompt entries - Type safety improvements (Record<string,unknown> over any)
fe3dd48 to
1200c11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds WebSkills support across the demos and evals CLI. Pages declare skills via
<script type="agent-context">that agents can discover and progressively read.<script type="agent-context">skill blocks with inline reference documents--skillflag onrunevalsloads a SKILL.md for benchmark comparison (baseline vs skill-augmented)read_site_contextdisclosure calls usingagent-skills-ts-sdkloadSkillFromFile()intoevaluator/skill.tsfor reuseWEBMCP_EVAL_DATEenv var--skillflag docs and benchmark modeExtension submodule updated: beaufortfrancois/model-context-tool-inspector#9 (must merge first)
Eval results (gemini-2.5-flash, 2026-03-03)
Single-call skill evals (4 runs each):
Results have run-to-run stochasticity due to model variability.
Test plan
cd evals-cli && npm run build && npm testnode dist/bin/runevals.js --tools=examples/pizza-maker/schema.json --evals=examples/pizza-maker/skill-evals.json --skill=examples/pizza-maker/skill/SKILL.mdnode dist/bin/runevals.js --tools=examples/travel/schema.json --evals=examples/travel/skill-evals.json --skill=examples/travel/skill/SKILL.md