Agent skill

Preparing The Race

by GoogleCloudPlatform in GoogleCloudPlatform/race-condition

A skill your agent uses when the simulator receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and…

Apache-2.0Auto-check passed

Install Preparing The Race

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

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

GitHub CLI
$ gh skill install GoogleCloudPlatform/race-condition preparing-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/preparing-the-race .claude/skills/preparing-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
preparing-the-race
GitHub stars
234
Token cost
~563 tokens
SKILL.md length
212 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 receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and…

  • The simulator receives a validated plan from the planner and must initialize the race: parsing the plan
  • SKILL.md covers Workflow and Tools
  • Runs Python scripts from its folder
  • Spawning runner agents

What it does

Preparing The Race is an agent skill from GoogleCloudPlatform/race-condition. Use when the simulator receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and firing the start gun. Triggered once per simulation, before the first tick.

Its SKILL.md is about 560 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 receives a validated plan from the planner and must initialize the race: parsing the plan
  • Spawning runner agents
  • Starting the telemetry collector
  • Firing the start gun

Example prompts

  • “/preparing-the-race”

Requirements

  • Python 3

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

Preparing The Race loads about 563 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 212 words of instructions outside code blocks.

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

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). 212 words, ~563 tokens.

Download SKILL.mdSave it as .claude/skills/preparing-the-race/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
preparing-the-race
description
Use when the simulator receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and firing the start gun. Triggered once per simulation, before the first tick.
license
Apache-2.0

Preparing the Race

This skill initializes the simulation after a validated plan arrives from the planner.

Workflow

Each numbered step is a separate model response. The skill toolset guards against multi-step responses with an error.

Pre-Race Progress:
- [ ] Response 1: prepare_simulation (alone)
- [ ] Response 2: spawn_runners + start_race_collector (parallel)
- [ ] Response 3: fire_start_gun

Why separate responses: prepare_simulation sets state (simulation_ready, runner_count, simulation_id) that the other tools read. The skill guard rejects parallel calls that would race with that state write.

Response 1: Parse the plan

Call only prepare_simulation with the JSON plan from the planner. The tool extracts the route, computes tick parameters, and stores configuration in session state.

Response 2: Spawn runners + start collector (parallel)

Call spawn_runners and start_race_collector together in the same response. The two tools are independent: spawning runners and subscribing to broadcasts have no data dependency, so they execute simultaneously for faster startup.

Response 3: Fire the start gun

Call fire_start_gun to broadcast the START_GUN event to all spawned runner agents.

Tools

  • prepare_simulation(plan_json, tool_context, duration_seconds=120, tick_interval_seconds=10, total_race_hours=6.0): Parse the plan JSON, compute max_ticks, and store simulation config in state.
  • spawn_runners(count, tool_context): HTTP POST to the gateway spawn API to create runner agent sessions.
  • start_race_collector(tool_context): Start a RaceCollector subscribed to gateway:broadcast for runner telemetry.
  • fire_start_gun(tool_context): Broadcast a START_GUN RunnerEvent to all spawned runner agents via Redis.
  • 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/preparing-the-race of GoogleCloudPlatform/race-condition.

  • SKILL.md
  • tools.py

Open the folder on GitHubat commit 26efc1b

Compare with similar skills

Preparing 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.

Preparing The Race compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Preparing The Race this skillGoogleCloudPlatform/race-condition234—~563Automated safety check: PassApache-2.0
Simulation ValidatorFreedomIntelligence/OpenClaw-Medical-Skills3.1k1 repos~1.6kAutomated safety check: NotesNone
Plannerpenpot/penpot61k—~2.7kAutomated safety check: PassMPL-2.0
Analytical Method Validation PlannerK-Dense-AI/scientific-agent-skills48k1 repos~4.9kAutomated safety check: NotesMIT
Form Validationthedaviddias/Front-End-Checklist74k—~633Automated safety check: PassMIT
Mechanism To Validation Planneraipoch/medical-research-skills2k—~3.8kAutomated safety check: PassMIT

Similar skills

  • Simulation Validator

    FreedomIntelligence/OpenClaw-Medical-Skills

    Validate simulations before, during, and after execution. An agent skill from FreedomIntelligence/OpenClaw-Medical-Skills.

    3.1k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes
  • Planner

    penpot/penpot

    Read-only planning and architecture analysis — produce a structured implementation plan with task breakdown, acceptance criteria, sizing, and checkpoints.

    61k GitHub stars~2.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Analytical Method Validation Planner

    K-Dense-AI/scientific-agent-skills

    Plans, runs, and documents analytical method validation, verification, or transfer studies under ICH Q2(R2)/Q14, USP, ICH M10, CLSI EP, or ISO/IEC 17025.

    48k GitHub starsUsed in 1 repo~4.9k tokens
    Research & ScienceAuto-check: notes
  • Form Validation

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Validate forms accessibly.

    74k GitHub stars~633 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Mechanism To Validation Planner

    aipoch/medical-research-skills

    Extends a mechanistic or association-level biomedical finding into a staged validation pathway that moves from descriptive evidence toward stronger functional support, mechanistic specificity, and…

    2k GitHub stars~3.8k tokensUpdated 20 days ago
    Research & ScienceAuto-check passed
  • Animal And Cell Validation Planner

    aipoch/medical-research-skills

    Designs cell-based and animal-based validation plans that translate computational, omics, biomarker, genetic, or clinical findings into experimentally testable validation routes.

    2k GitHub stars~3.4k tokensUpdated 20 days ago
    Research & ScienceAuto-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 2 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 2 days ago
    Auto-check passed
  • Contributing

    GoogleCloudPlatform/race-condition

    Guides the developer workflow for contributing to Race Condition.

    234 GitHub stars~930 tokensUpdated 2 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 2 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 2 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 2 days ago
    Auto-check: notes

Questions about Preparing The Race

What does Preparing The Race do?

A skill your agent uses when the simulator receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and…. Preparing The Race is an agent skill from GoogleCloudPlatform/race-condition. Use when the simulator receives a validated plan from the planner and must initialize the race: parsing the plan, spawning runner agents, starting the telemetry collector, and firing the start gun.

When should I use Preparing The Race?

Preparing The Race fits situations like: the simulator receives a validated plan from the planner and must initialize the race: parsing the plan; spawning runner agents; starting the telemetry collector; firing the start gun.

How do I install Preparing The Race in Claude Code?

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

How do I install Preparing The Race in Codex?

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

Can I use Preparing 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 preparing-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/preparing-the-race, .gemini/skills/preparing-the-race, .github/skills/preparing-the-race and .opencode/skills/preparing-the-race in your project.

What does Preparing The Race need to run?

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

Does Preparing 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 Preparing 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 Preparing The Race use?

Preparing 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 Preparing The Race use?

About 563 tokens (SKILL.md is roughly 2.3k 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 Preparing The Race?

Skills that share tags, products or a category with Preparing The Race: Simulation Validator (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars), Planner (penpot/penpot, 61k stars), Analytical Method Validation Planner (K-Dense-AI/scientific-agent-skills, 48k stars) and Form Validation (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Preparing 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.