modern-web-guidance-src: Skill for Claude Code

.agents/skills/project-evals/SKILL.md

project-evals is a skill for Claude Code, Codex from GoogleChrome/modern-web-guidance-src. It costs 64 tokens per session (2,223 once invoked), scanned A, original, Apache-2.0.

An evaluation workflow for checking whether written guidance helps a coding agent complete a task. It defines expected results and grader files that compare the agent's output with examples.

In plain words
What is it for?
Use it to write or review expectations.md and grader.ts files, create simulated developer tasks, and test guidance against correct and incorrect examples.
Why use it?
It separates the guidance an agent reads from the test files used to judge that guidance. This helps reveal unclear or ineffective instructions before relying on them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is GoogleChrome/modern-web-guidance-src's own configuration. It tells Claude Code and Codex how to work on modern-web-guidance-src itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything modern-web-guidance-src configures →

About the project

Modern Web Guidance is a source repository for coding-agent skills that provide web-platform guidance, recommended practices, and browser compatibility information. It helps coding agents choose newer web APIs and patterns when generating web applications. The catalogue skills are the guidance produced and maintained by this project.

GoogleChrome/modern-web-guidance-src · 1,202 stars · on GitHub · goo.gle

Reuse

Borrowing it

Nothing to install: this file belongs to GoogleChrome/modern-web-guidance-src. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GoogleChrome/modern-web-guidance-src/main/.agents/skills/project-evals/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/GoogleChrome/modern-web-guidance-src

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-evals

README.md
[![agentmods](https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance-src/project-evals/github.svg)](https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/project-evals)
Your own site
<a href="https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/project-evals"><img src="https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance-src/project-evals/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-evals

Your own site · 80×15
<a href="https://agentmods.dev/skills/googlechrome/modern-web-guidance-src/project-evals"><img src="https://agentmods.dev/badge/skills/googlechrome/modern-web-guidance-src/project-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.02223
Opus 5.5 $0.00026 $0.00889
Sonnet 5.5 $0.00013 $0.00445
Haiku 4.5 $0.00006 $0.00222

Measured 4d ago against content hash 553aa5638e47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-evals scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/project-evals/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stage 3: Evaluating guidance for a use case (Needs evals)

This is the third of three stages in creating guidance:

  1. Stage 1: Identifying use cases for a feature
  2. Stage 2: Authoring guidance for a use case
  3. Stage 3: Evaluating guidance for a use case (you are here)

What the eval agent sees vs real-world agents

Real-world coding agents see only guide.md — retrieved via the Skills CLI when a developer asks for help. Every other file in a guide directory is eval infrastructure.

The eval harness runs a coding agent in an isolated workspace initialized with a target base application (daily-grind or devtools-times). The agent receives the prompt from targets/<base_app>/task.md and (in guided mode) access to guide.md via the Skills CLI. The harness then runs targets/<base_app>/grader.ts against the agent's modified application.

None of the following are ever seen by real-world coding agents:

File Role in eval pipeline
expectations.md Natural-language spec of assertions that must hold when guide.md is followed
demo.html Standalone reference implementation authored by the SME
targets/<base_app>/task.md A concrete, single-bullet user prompt tailored to <base_app>, formatted as a single - line with no YAML frontmatter
targets/<base_app>/patches/*-solution.patch Multi-agent golden solution diffs (claude, codex, jetski) that must score 100% on grader.ts
targets/<base_app>/patches/zero-passrate.patch Baseline anti-pattern diff that must score 0% on grader.ts
targets/<base_app>/grader.ts Playwright + static AST test suite run against the eval agent's output

Writing expectations.md

Write a natural-language, bulleted list of assertions that must be true if an agent implements guide.md correctly.

  • 1:1 with grader tests — Each bullet becomes one test() block in grader.ts (for use-case guides). Write one bullet per assertion; do not combine multiple checks into a single bullet.
  • Plain declarative phrasing — Write each bullet as a plain statement of what is true of a correct implementation (e.g., "The dialog closes when the Escape key is pressed"). Omit The implementation MUST… boilerplate; imperative directives belong in guide.md.
  • Concrete, testable criteria — Every expectation must be verifiable via static AST analysis (Linkedom, CSSOMNom, ts-morph) or Playwright browser execution.
  • Scoped to this use case — Only include expectations that apply to the specific use case being graded and are documented in guide.md.
  • Avoid untestable conditional expectations — Avoid "If the implementation uses X, then Y" expectations when valid solutions may omit X entirely; if a golden solution patch has zero instances of X, the grader cannot assert Y without writing a vacuous guard.
  • No external links — The grader generator cannot resolve them.
  • Avoid over-constraining — Describe required outcomes, API contracts, or structural invariants rather than prescribing incidental implementation details (specific variable names, helper names, or file paths).

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · -11 lines · +25 tokens per session 553aa5638e47
  2. 24d ago Changed · +1 lines 879d811c13d5
  3. 1mo ago First seen · 115 lines · 39 tokens per session scan A fbef1b9b441d

Subscribe to this mod's changes

project-evals is a skill published in the GitHub repository GoogleChrome/modern-web-guidance-src (1,202 stars, last pushed today), licensed Apache-2.0. It adds 64 tokens to every session and 2,223 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens