Agent skill

Simulating Pre Race Failure

by GoogleCloudPlatform in GoogleCloudPlatform/race-condition

A skill your agent uses when running the simulator-with-failure test variant and the pre-race phase begins.

Apache-2.0Auto-check passed

Install Simulating Pre Race Failure

skills CLI
$ npx skills add GoogleCloudPlatform/race-condition --skill simulating-pre-race-failure -a claude-code

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

GitHub CLI
$ gh skill install GoogleCloudPlatform/race-condition simulating-pre-race-failure --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_with_failure/skills/simulating-pre-race-failure .claude/skills/simulating-pre-race-failure && 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
simulating-pre-race-failure
GitHub stars
234
Token cost
~204 tokens
SKILL.md length
55 words
Files
2
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when running the simulator-with-failure test variant and the pre-race phase begins.

  • Running the simulator-with-failure test variant and the pre-race phase begins
  • Runs Python scripts from its folder

What it does

Simulating Pre Race Failure is an agent skill from GoogleCloudPlatform/race-condition. Use when running the simulator-with-failure test variant and the pre-race phase begins. The preparesimulation tool intentionally raises RuntimeError to exercise the ADK and SimulationCommunicationPlugin toolerror callback path. Not intended for production simulations.

Its SKILL.md is about 200 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

  • Running the simulator-with-failure test variant and the pre-race phase begins

Example prompts

  • “/simulating-pre-race-failure”

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

Simulating Pre Race Failure loads about 204 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 55 words of instructions outside code blocks.

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

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). 55 words, ~204 tokens.

Download SKILL.mdSave it as .claude/skills/simulating-pre-race-failure/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
simulating-pre-race-failure
description
Use when running the simulator-with-failure test variant and the pre-race phase begins. The prepare_simulation tool intentionally raises RuntimeError to exercise the ADK and SimulationCommunicationPlugin tool_error callback path. Not intended for production simulations.
license
Apache-2.0

Simulating Pre-Race Failure

This skill replaces the base simulator's pre-race setup with a version that intentionally fails during prepare_simulation. It tests how the ADK and SimulationCommunicationPlugin handle tool_error callbacks when the simulation engine encounters failures.

Tools

  • prepare_simulation: Accepts a plan JSON string but raises RuntimeError after a brief processing delay, simulating an unhandled internal exception.

© 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_with_failure/skills/simulating-pre-race-failure of GoogleCloudPlatform/race-condition.

  • SKILL.md
  • tools.py

Open the folder on GitHubat commit 26efc1b

Compare with similar skills

Simulating Pre Race Failure 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.

Simulating Pre Race Failure compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Simulating Pre Race Failure this skillGoogleCloudPlatform/race-condition234—~204Automated safety check: PassApache-2.0
Eas Simulatorsickn33/agentic-awesome-skills47k1 repos~6kAutomated safety check: NotesMIT
Bio Variant Calling Structural Variant CallingFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~1.7kAutomated safety check: PassNone
Hunt Race Conditionsickn33/agentic-awesome-skills47k1 repos~5.7kAutomated safety check: PassMIT
Annotating Variantsmaziyarpanahi/openmed5.5k—~2.1kAutomated safety check: PassApache-2.0
Simulateindranilbanerjee/digital-marketing-pro8541 repos~2.1kAutomated 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
  • Bio Variant Calling Structural Variant Calling

    FreedomIntelligence/OpenClaw-Medical-Skills

    Call structural variants (SVs) from short-read sequencing using Manta, Delly, and LUMPY.

    3.1k GitHub stars~1.7k tokensUpdated 2 mo ago
    Research & ScienceAuto-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
  • Annotating Variants

    maziyarpanahi/openmed

    Annotates VCF variants and normalizes HGVS nomenclature with public, license-free annotators (Ensembl VEP REST, VEP/SnpEff/ANNOVAR offline) and links variants to gnomAD population frequencies and…

    5.5k GitHub stars~2.1k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Simulate

    indranilbanerjee/digital-marketing-pro

    Run Monte Carlo simulations (default 10,000 iterations via revenue-simulator.py) of marketing scenarios — channel-mix shifts, budget reallocations, new-channel launches — reporting…

    854 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Call structural variants (=50 bp deletions, insertions, inversions, duplications, translocations) from short- or long-read data by reconstructing four orthogonal signals (discordant pairs, split…

    1.2k GitHub starsUsed in 1 repo~7.2k tokens
    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 Simulating Pre Race Failure

What does Simulating Pre Race Failure do?

A skill your agent uses when running the simulator-with-failure test variant and the pre-race phase begins. Simulating Pre Race Failure is an agent skill from GoogleCloudPlatform/race-condition. Use when running the simulator-with-failure test variant and the pre-race phase begins.

When should I use Simulating Pre Race Failure?

Simulating Pre Race Failure fits situations like: running the simulator-with-failure test variant and the pre-race phase begins.

How do I install Simulating Pre Race Failure in Claude Code?

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

How do I install Simulating Pre Race Failure in Codex?

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

Can I use Simulating Pre Race Failure 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 simulating-pre-race-failure -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/simulating-pre-race-failure, .gemini/skills/simulating-pre-race-failure, .github/skills/simulating-pre-race-failure and .opencode/skills/simulating-pre-race-failure in your project.

What does Simulating Pre Race Failure need to run?

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

Does Simulating Pre Race Failure 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 Simulating Pre Race Failure 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 Simulating Pre Race Failure use?

Simulating Pre Race Failure 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 Simulating Pre Race Failure use?

About 204 tokens (SKILL.md is roughly 816 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 Simulating Pre Race Failure?

Skills that share tags, products or a category with Simulating Pre Race Failure: Eas Simulator (sickn33/agentic-awesome-skills, 47k stars), Bio Variant Calling Structural Variant Calling (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars), Hunt Race Condition (sickn33/agentic-awesome-skills, 47k stars) and Annotating Variants (maziyarpanahi/openmed, 5.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Simulating Pre Race Failure?

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.