Agent skill

Completing The Race

by GoogleCloudPlatform in GoogleCloudPlatform/race-condition

A skill your agent uses when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other…

Apache-2.0Auto-check passed

Install Completing The Race

skills CLI
$ npx skills add GoogleCloudPlatform/race-condition --skill completing-the-race -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GoogleCloudPlatform/race-condition completing-the-race --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/race-condition.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/simulator/skills/completing-the-race .claude/skills/completing-the-race && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
completing-the-race
GitHub stars
234
Token cost
~348 tokens
SKILL.md length
128 words
Files
2
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other…

  • Works in 3 steps: Compile Results: Call compile_results… → Stop Collector: Call stop_race_collector… → Report (Optional): Use call_agent to…
  • The simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots
  • SKILL.md covers Instructions and Tools
  • Runs Python scripts from its folder

What it does

Completing The Race is an agent skill from GoogleCloudPlatform/race-condition. Use when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other agents. Triggered once per simulation, after the last tick.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `tools.py`).

The repository describes itself as: The open source multi-agent simulation from the Developer Keynote at Google Cloud Next '26. A deployable reference architecture for autonomous AI agents using Gemini and ADK. The licence is Apache-2.0.

When your agent uses it

  • The simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots
  • Stopping the RaceCollector
  • Reporting outcomes to other agents

Example prompts

  • “/completing-the-race”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Compile Results: Call compile_results first to aggregate all tick
  2. Stop Collector: Call stop_race_collector to shut down the Redis
  3. Report (Optional): Use call_agent to communicate final results to other

What it can do on your machine

Read from SKILL.md and the folder at commit 26efc1b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Completing The Race loads about 348 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 128 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~348

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from GoogleCloudPlatform/race-condition at commit 26efc1b, republished under its Apache-2.0 licence (© GoogleCloudPlatform). 128 words, ~348 tokens.

Download SKILL.mdSave it as .claude/skills/completing-the-race/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
completing-the-race
description
Use when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other agents. Triggered once per simulation, after the last tick.
license
Apache-2.0

Completing the Race

You use this skill to wrap up the simulation after the race phase completes. This is the final phase of the simulation lifecycle.

Instructions

  1. Compile Results: Call compile_results first to aggregate all tick snapshots into final race metrics (vitals trends, status counts, notable events, and sampling quality).
  2. Stop Collector: Call stop_race_collector to shut down the Redis subscription and clean up the RaceCollector resources.
  3. Report (Optional): Use call_agent to communicate final results to other agents (e.g., planner, dashboard) as needed for post-race reporting.

Tools

  • compile_results(tool_context): Read tick_snapshots from state and aggregate into vitals_trend, final_status_counts, notable_events, sampling_quality, and avg_runners_reporting.
  • stop_race_collector(tool_context): Look up the RaceCollector by session_id and stop it to release Redis resources.
  • call_agent(agent_name, message, tool_context): Delegate inter-agent communication via the shared A2A utility.

© GoogleCloudPlatform, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in agents/simulator/skills/completing-the-race of GoogleCloudPlatform/race-condition.

  • SKILL.md
  • tools.py

Open the folder on GitHubat commit 26efc1b

Compare with similar skills

Completing The Race next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Completing The Race compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Completing The Race this skillGoogleCloudPlatform/race-condition234—~348Automated safety check: PassApache-2.0
Eas Simulatorsickn33/agentic-awesome-skills47k1 repos~6kAutomated safety check: NotesMIT
Verification Before Completionforyourhealth111-pixel/Vibe-Skills3.6k—~1.1kAutomated safety check: PassApache-2.0
Verification Before Completionfarm-fe/farm5.6k46 repos~1kAutomated safety check: PassMIT
Hunt Race Conditionsickn33/agentic-awesome-skills47k1 repos~5.7kAutomated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT

Similar skills

  • Eas Simulator

    sickn33/agentic-awesome-skills

    Curated upstream guidance for Eas Simulator; use when the workflow matches the user goal.

    47k GitHub starsUsed in 1 repo~6k tokens
    MobileAuto-check: notes
  • Verification Before Completion

    foryourhealth111-pixel/Vibe-Skills

    Completion-evidence route used before claiming work is complete, fixed, passing, committed, or PR-ready.

    3.6k GitHub stars~1.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • A skill your agent uses when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any…

    5.6k GitHub starsUsed in 46 repos~1k tokens
    Agent WorkflowsAuto-check passed
  • Hunt Race Condition

    sickn33/agentic-awesome-skills

    Hunting skill for race condition vulnerabilities. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~5.7k tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Verification Before Completion

    jnMetaCode/superpowers-zh

    Chinese-language rule that bars an agent from claiming work is done, fixed or passing until it has run a verification command and read the output.

    8.3k GitHub stars~443 tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed

More from GoogleCloudPlatform/race-condition

All 16 skills in this repo
  • Gis Spatial Engineering

    GoogleCloudPlatform/race-condition

    A skill your agent uses when the marathon plan needs a 26.2-mile physical route generated from road-network GeoJSON, or when the request mentions traffic impact, route variety via seed, finishing…

    234 GitHub stars~672 tokensUpdated 3 days ago
    Auto-check passed
  • A2ui Rendering

    GoogleCloudPlatform/race-condition

    A skill your agent uses when an agent renders rich UI back to a client surface (cards, dashboards, forms, modals) using the A2UI v0.8.0 declarative protocol.

    234 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed
  • Contributing

    GoogleCloudPlatform/race-condition

    Guides the developer workflow for contributing to Race Condition.

    234 GitHub stars~930 tokensUpdated 3 days ago
    Auto-check passed
  • Deploying

    GoogleCloudPlatform/race-condition

    Guides deployment of Race Condition to a GCP project. An agent skill from GoogleCloudPlatform/race-condition.

    234 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check passed
  • Exploring The Codebase

    GoogleCloudPlatform/race-condition

    Explains the Race Condition architecture, the design decisions behind it, and where to read code first.

    234 GitHub stars~2.6k tokensUpdated 3 days ago
    Auto-check passed
  • Getting Started

    GoogleCloudPlatform/race-condition

    Guides setup of the Race Condition project from clone to running simulation.

    234 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check: notes

Questions about Completing The Race

What does Completing The Race do?

A skill your agent uses when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other…. Completing The Race is an agent skill from GoogleCloudPlatform/race-condition. Use when the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots, stopping the RaceCollector, and reporting outcomes to other agents.

When should I use Completing The Race?

Completing The Race fits situations like: the simulator finishes its race-tick loop and must wrap up: compiling final results from tick snapshots; stopping the RaceCollector; reporting outcomes to other agents.

How do I install Completing The Race in Claude Code?

Run `npx skills add GoogleCloudPlatform/race-condition --skill completing-the-race -a claude-code`. Or copy the skill folder (agents/simulator/skills/completing-the-race in GoogleCloudPlatform/race-condition) into .claude/skills/completing-the-race in your project. Claude Code loads it when a task matches its description.

How do I install Completing The Race in Codex?

Run `npx skills add GoogleCloudPlatform/race-condition --skill completing-the-race -a codex`. Or copy the skill folder (agents/simulator/skills/completing-the-race in GoogleCloudPlatform/race-condition) into .agents/skills/completing-the-race in your project. Codex loads it when a task matches its description.

Can I use Completing The Race in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/race-condition --skill completing-the-race -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/completing-the-race, .gemini/skills/completing-the-race, .github/skills/completing-the-race and .opencode/skills/completing-the-race in your project.

What does Completing The Race need to run?

Going by SKILL.md and its folder, Completing The Race needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Completing The Race access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Completing The Race safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Completing The Race use?

Completing The Race is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Completing The Race use?

About 348 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Completing The Race?

Skills that share tags, products or a category with Completing The Race: Eas Simulator (sickn33/agentic-awesome-skills, 47k stars), Verification Before Completion (foryourhealth111-pixel/Vibe-Skills, 3.6k stars), Verification Before Completion (farm-fe/farm, 5.6k stars) and Hunt Race Condition (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Completing The Race?

GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/race-condition, which has 234 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 5, 2026.

Source: GoogleCloudPlatform/race-condition on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.