Trendveris
Live Coverage
AI & ML

How Google Validates Agent Skills Before Release

Google’s Agent Skills workflow combines automated checks, versioning, evaluation reports, and expert review to catch behavior changes before release.

Oct 28, 2026 | 3 min read
Sign in to save

The hard part of publishing an agent skill isn’t writing the instructions. It’s making sure a change won’t send an agent down the wrong path. Google’s answer is to treat each skill update like a product release, with automated checks, evaluation evidence, and human review before it reaches users.

That process is the focus of this follow-up to my earlier look behind the scenes at Google Agent Skills, which covered how the project began and how Google handles quality and governance. The Google Agent Skills repository has grown from 15,000 to more than 21,000 GitHub stars since that post. It now contains over 170 skills from teams across Google, distributed across multiple AI platforms.

ship-agent-skills-like-products-star-history

At small scale, a developer can write a SKILL.md, try it manually, and move on. That approach gets harder to trust when many people are changing many skills. One unchecked edit can introduce a subtle problem that survives until an agent or its user hits it.

Instructions are product behavior

A skill may look like documentation, but it does a different job. Documentation explains a subject to a person; a skill shapes an AI agent’s reasoning, tool choices, and execution. A poorly chosen instruction can lead an agent to use invalid command flags, repeat itself indefinitely, or spend tokens on work that goes nowhere.

That makes an edit to a skill a behavioral change. The principle leads to three requirements: every behavioral change gets an explicit version bump; automated linters and validators run before human or AI review; and each change comes with an evaluation report. The report compares the revised skill with its previous version, or, for a new skill, compares an agent using it with one that does not.

Checks before a skill ships

When an author changes a skill in Google’s internal repository, a continuous integration and continuous delivery (CI/CD) pipeline starts. The change must pass six automated gates and then receive human approval from a subject matter expert before the skill is exported to GitHub. The gates cover structure, linting, versioning, evaluation, links, and AI review.

Structural checks and linters look at directory layout, allowed files, taxonomy, frontmatter, folder names, and Markdown formatting. They also enforce specific repository rules: the folder name must match the metadata name; SKILL.md and its description must stay within length limits; required metadata fields must be present; and each skill directory may contain only an approved set of files and folders. The main README.md and machine-readable index.json registry must also be current.

Versions track changes developers need to manage

Each skill declares its semantic version in the SKILL.md frontmatter. For example:

---
name: spanner-basics
metadata:
  version: "1.1.1"
  category: Databases
description: ...
---

The version must be a quoted string. YAML can parse an unquoted value such as 2.0 as a number, which can break tools that expect a string.

New skills start at 1.0.0. Changes to existing instructions, scripts, or references require a version bump, or the pull request is blocked. The reset rules are familiar: a major bump, such as 1.4.2 to 2.0.0, resets minor and patch to 0; a minor bump, such as 1.4.2 to 1.5.0, resets patch to 0.

The version isn’t something the model checks at runtime. It’s there for developers and package tools. Skills don’t update themselves in the background, so there’s no network check or added latency when an agent uses one. Instead, developers can compare their installed copy with the upstream catalog and choose when to update—for example, with npx skills update. Teams can also pin a critical skill to a known version to keep agent behavior reproducible across projects.

Evaluation reports need sound tests behind them

Continuous evaluations compare agent performance with and without a skill. But a report is only useful if its test suite is dependable. Broken file references or expectations that combine multiple criteria can make results noisy and hard to interpret.

The validator parses both the evaluation suite and the pull request description, then checks that file based prompts resolve to existing, nonempty files—for example, a prompt using @file:test_prompt.txt. Each expectation must test one criterion; compound expectations are blocked until they’re split. The checks also flag duplicate prompts and conflicting expectations, require a link to an evaluation report for every skill change, and confirm that the report covers the latest commit. That last check matters because authors often update a pull request while responding to review comments.

ship-agent-skills-like-products-eval-staleness-check

Links need maintenance after review

More than 170 skills point to documentation for Google products whose pages can move after a skill is approved. Google checks relative links, such as files under references/, before a change is merged. Then, every Monday, a GitHub Actions workflow runs lychee against external links in the public repository and reports broken ones to skill owners.

What automated checks can’t judge

Linters can catch syntax and schema problems. They can’t tell whether an instruction is confusing, a reference guide is too long, or a task would work better as a Bash script than as a large language model (LLM) instruction. Google has added an AI review agent to assess that kind of quality, using a dedicated skill to review other skills.

Put deterministic work in scripts

The first question for the reviewer is whether a task belongs in an instruction at all. A common mistake is to write a rigid series of command line interface (CLI) commands directly into Markdown.

That’s a poor fit for a probabilistic system. When a task requires commands to run in an exact sequence, small variations can cause errors—and instructions alone invite the agent to vary them. Google’s reviewer draws a line between that kind of deterministic work and tasks that call for judgment. Fixed CLI sequences, JSON parsing, and deployment steps belong in executable scripts under scripts/. Instructions are better suited to decisions such as choosing an architecture, diagnosing error logs, or synthesizing code.

This also follows the Model Context Protocol (MCP) guidance from the previous post: prefer remote MCP tools where possible. When a CLI or API call is necessary, put it in a script instead of spelling out the procedure in the skill’s instructions.

ship-agent-skills-like-products-deterministic-trap

Keep long skills out of the main context

A 2,000-line skill consumes valuable context and can degrade an agent’s reasoning. The AI reviewer therefore checks for a three-tier information hierarchy based on the progressive disclosure model of Agent Skills.

Keep the skill tree shallow

A skill repository only works if agents can find the right instructions and actually follow them. That makes structure a runtime concern, not a documentation preference. The design uses three levels: YAML frontmatter with a skill’s name and description helps agents discover and route it; the main SKILL.md holds the workflow, decision rules, and guardrails, and stays under 500 lines; detailed APIs, schemas, and tables go in references/. That directory must stay flat. More consequentially, references get only one hop: if SKILL.md points to a reference that points elsewhere, each extra lookup adds latency and cost. Evaluations also found agents often stop before following a second link. ship-agent-skills-like-products-progressive-disclosure Scripts bundled in scripts/ need the same discipline. Agents run them directly in terminal sandboxes, so interactive prompts can halt the workflow. The reviewer requires command-line flags or environment variables for inputs, --help documentation, and a --dry-run or confirmation option for destructive actions. Structured output, usually JSON, belongs on standard output; actionable errors belong on standard error. The review checklist turns those design choices into enforceable rules. It checks YAML frontmatter against the [Agent Skills Reference Specification](https://agentskills.io/specification), including folded strip-chomping (>-) for multiline descriptions, and points authors to a [description guide](references/description_guide.md) and [skill structure guide](references/skill_structure.md). It also enforces the 500-line limit, a flat references/ directory, a table of contents with line hints for reference files over 100 lines, and shallow links so agents are more likely to load the material they need. Automation still has a limit: after all checks pass, every pull request needs human approval. That reviewer is generally a subject matter expert; for a new skill, someone from the Central Skills team also reviews it.

What the repository history taught us

Six months of commits and pull request discussions exposed a familiar failure mode: rules that sound sensible in the abstract can misfire when they’re applied too broadly. One CI check demanded an approved bug ticket for every change. Its path pattern caught one-line typo fixes, while new skills in deeper directories escaped inspection. The fix was to match rules to specific file operations and exact path depths, and to treat edits to existing skills differently from new additions. Evaluation criteria need similar precision. A compound requirement—create a Cloud Storage bucket in us-central1, enable uniform bucket-level access, and add lifecycle rules—gave the LLM judge too much room to score inconsistently when an agent missed just one piece. Splitting it into three checks makes the result easier to interpret: verify the location, verify uniform access, and verify a rule that deletes objects older than 30 days. One expectation should test one thing. Documentation indexes drift quickly in a repository with many contributors. The practical answer is to generate them and test the generator in CI, rather than relying on people to remember manual edits. That’s why the repository checks both README.md and index.json; the latter opens with the warning, “This file is generated. Do not edit it by hand.” Then there’s cost. Full evaluations and AI review on every push can consume tokens and slow CI, especially when authors make several small commits during review. The pipeline runs fast, deterministic checks first: structural conformance, skill linters, and semantic versioning block the change if they fail, before the AI reviewer or evaluations run. For heavier checks, teams can add further controls, such as a /run-evals pull request comment or automatic reruns only when a diff crosses a chosen threshold. The larger point is that agent skills need the engineering practices used for software products: versioning, validation, evaluation, and clear ownership. Semantic versioning and atomic expectations belong in automated gates; an AI reviewer can catch design problems such as the deterministic trap; and link checks should run both before merge and on a schedule. That infrastructure is what makes a growing catalog maintainable.

Further reading

- [Google Agent Skills repository](https://g.dev/ai/skills) - [Behind the scenes: How we build, test, and scale Google Agent Skills](https://cloud.google.com/blog/topics/developers-practitioners/behind-the-scenes-how-we-build-test-and-scale-google-agent-skills) - [Level Up Your Agents: Announcing Google's Official Skills Repository](https://cloud.google.com/blog/topics/developers-practitioners/level-up-your-agents-announcing-googles-official-skills-repository) - [Introduction: What Are Google Cloud Agent Skills?](https://medium.com/google-cloud/google-cloud-skills-tutorial-the-complete-guide-to-ai-powered-cloud-operations-7838fcc9541a) For more from the author, connect on [LinkedIn](https://www.linkedin.com/in/remigiusz-samborski/), [X](https://x.com/RemikSamborski), or [Bluesky](https://bsky.app/profile/rsamborski.bsky.social).
Source: Remigiusz Samborski · cloud.google.com
Sign in to join the discussion.