Official agent skill

Crosvm Contribution Workflow

by google in google/crosvm

Skill to assist with the contribution workflow for crosvm. An agent skill from google/crosvm.

OfficialBSD-3-ClauseAuto-check passedDevelopment

Install Crosvm Contribution Workflow

skills CLI
$ npx skills add google/crosvm --skill crosvm-contribution-workflow -a claude-code

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

GitHub CLI
$ gh skill install google/crosvm crosvm-contribution-workflow --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/google/crosvm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/crosvm_contribution_workflow .claude/skills/crosvm-contribution-workflow && 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
crosvm-contribution-workflow
GitHub stars
1.3k
Token cost
~1.5k tokens
SKILL.md length
693 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Skill to assist with the contribution workflow for crosvm. An agent skill from google/crosvm.

  • Works in 2 steps: Auto-formatting → Running Checks
  • Run presubmit checks before committing
  • SKILL.md covers Formatting and Presubmit Checks, Uploading Changes, Commit Message Guidelines and End-to-End Contribution Journey
  • Calls git

What it does

Crosvm Contribution Workflow is an agent skill from google/crosvm, published by the product's own GitHub organization. Skill to assist with the contribution workflow for crosvm. ALL agents making code changes MUST use this skill to run presubmit checks before committing.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: The Chrome OS Virtual Machine Monitor - Mirror of https://chromium.googlesource.com/crosvm/crosvm/. The licence is BSD-3-Clause.

When your agent uses it

  • Run presubmit checks before committing

Example prompts

  • “/crosvm-contribution-workflow”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Auto-formatting
  2. Running Checks

What it can do on your machine

Read from SKILL.md and the folder at commit 2c8433b. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Crosvm Contribution Workflow loads about 1.5k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 693 words of instructions outside code blocks.

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

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 google/crosvm at commit 2c8433b, republished under its BSD-3-Clause licence (© google). 693 words, ~1,512 tokens.

Download SKILL.mdSave it as .claude/skills/crosvm-contribution-workflow/SKILL.md (or your agent's skills folder).
name
crosvm-contribution-workflow
description
Skill to assist with the contribution workflow for crosvm. ALL agents making code changes MUST use this skill to run presubmit checks before committing.

Contribution Workflow Skill

This skill assists with the crosvm contribution workflow. ALL agents making code changes MUST use this skill to verify their changes (by compiling and running tests) before proceeding to commit or requesting review, even if the user does not explicitly ask to run tests.

Formatting and Presubmit Checks

All commands must be executed from the repository root directory.

Choosing the Right Test Method

Depending on the scope of your changes, choose the appropriate method to verify your work. The relevant checks must pass before you proceed to create a commit or request review.

  • ./tools/dev_container cargo check

    • Usage: Use this during normal development iterations.
    • Description: It attempts to compile the project with the default feature set. Fast and useful for quick feedback on syntax and basic type checking.
  • tools/dev_container ./tools/presubmit quick

    • Usage: Run this as a minimum sanity check before creating a commit.
    • Description: Performs a health check, runs unit tests on x86, and runs clippy lints.
  • tools/dev_container ./tools/presubmit

    • Usage: Run this when you have made changes that might affect multiple platforms or are more substantial.
    • Description: In addition to the quick checks, this performs cross-compilation and runs unit tests for other targets. Note: The default set does not cover all platforms (e.g., riscv).
  • tools/dev_container ./tools/presubmit clippy

    • Usage: Run this to quickly check all platforms (including riscv) for cross-platform changes.
    • Description: Runs clippy lints for all supported platforms. This is a relatively quick way to ensure your changes don't break compilation on any platform.
  • tools/dev_container ./tools/presubmit all

    • Usage: Run this before final submission or for complex changes that require full validation.
    • Description: This is the most thorough check. It runs all the above tests on all supported platforms, including end-to-end (e2e) tests using QEMU. Note: This takes a significant amount of time.
Commands
1. Auto-formatting

Automatically fixes code formatting. This also applies to Markdown files (.md) in addition to source code.

bash
tools/dev_container ./tools/fmt
2. Running Checks

Use one of the methods described above. Example for quick check:

bash
tools/dev_container ./tools/presubmit quick

[!TIP] If your tests fail on presubmit and you need to debug the tests individually or inspect the VM environment, please refer to the crosvm-testing SKILL.md.

Uploading Changes

Once your changes are verified and formatted, you can upload them to Gerrit for review.

We use a custom tool ./tools/cl for this. The basic command to upload is:

bash
./tools/cl upload

[!TIP] For advanced usage of the CL tool, including rebasing downstream branches, checking CL status, and pruning old branches, see the specialized crosvm-cl-tool SKILL.md.

Commit Message Guidelines

Refer to these guidelines when writing commit messages for crosvm. You must only write a commit message AFTER ensuring all necessary tests pass.

Show full SKILL.md (279 more words)Show less
1. Subject Line
  • Format: Starts with a tag representing the component, followed by a colon and space, then the description.
    • Example: devices: vhost: user: Add Connection type
  • Tags: Usually the name of the crate modified (e.g., devices:, base:). Use paths for specific components (e.g., devices: vhost: user:).
  • Length: No more than 50 characters, including tags.
2. Body
  • Content: State the motivation followed by the impact/action.
  • Wrapping: Text must be wrapped to 72 characters.
3. BUG Lines
  • Format: BUG=b:<bug number> for Google issue tracker, or BUG=None.
  • You can have multiple BUG lines.
  • Tip: If you do not know the bug number, ask the user for clarification.
4. TEST Lines
  • Format: Describe how the change was tested in free form.
  • You can have multiple TEST lines.
5. Change-Id
  • The gerrit commit message hook will insert this automatically if the commit-msg hook is installed.
  • Important: The Change-Id links the commit to a specific Gerrit change list (CL). Unless explicitly requested by the user, DO NOT change or remove the Change-Id when cherry-picking, rebasing, or amending commits.
Example Commit Message
devices: vhost: user: vmm: Add Connection type

This abstracts away the cross-platform differences:
cfg(any(target_os = "android", target_os = "linux")) uses a Unix
domain domain stream socket to connect to the vhost-user backend, and
cfg(windows) uses a Tube.

BUG=b:249361790
TEST=tools/presubmit all

Change-Id: I47651060c2ce3a7e9f850b7ed9af8bd035f82de6

End-to-End Contribution Journey

Here is the typical sequence of steps for contributing a change:

  1. Start a branch:
    bash
    git checkout -b my-feature-branch --track origin/main
  2. Make changes and implement your feature or fix.
  3. Format your code:
    bash
    tools/dev_container ./tools/fmt
  4. Run presubmit checks:
    bash
    tools/dev_container ./tools/presubmit quick
    (If tests fail and you need to debug individually or inspect the VM environment, refer to the crosvm-testing SKILL.md).
  5. Commit your changes (following the Commit Message Guidelines):
    bash
    git commit
  6. Upload the CL:
    bash
    ./tools/cl upload
    (Refer to the crosvm-cl-tool SKILL.md if you need to add reviewers, trigger try jobs, or rebase).

© google, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/crosvm_contribution_workflow of google/crosvm.

Open the folder on GitHubat commit 2c8433b

Compare with similar skills

Crosvm Contribution Workflow 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.

Crosvm Contribution Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Crosvm Contribution Workflow this skillgoogle/crosvm1.3k—~1.5kAutomated safety check: PassBSD-3-Clause
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.4kAutomated safety check: PassGPL-3.0
Merge Dependabot PRsonyx-dot-app/onyx32k1 repos~2.2kAutomated safety check: PassMIT
Android UI Visual Reviewpermissionlesstech/bitchat-android7.7k—~2.6kAutomated safety check: PassGPL-3.0
Constraint-Driven Developmentaddyosmani/agent-skills102k2 repos~5.2kAutomated safety check: PassMIT

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Merge Dependabot PRs

    onyx-dot-app/onyx

    Triages and lands a batch of open Dependabot PRs in the Onyx repo, where main is gated exclusively by GitHub's merge queue: approves and enqueues green PRs, closes superseded duplicates, fixes…

    32k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Android UI Visual Review

    permissionlesstech/bitchat-android

    Analyze an Android pull request, branch, commit, or patch for user-visible changes and produce reproducible before/after screenshots from isolated builds.

    7.7k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Constraint-Driven Development

    addyosmani/agent-skills

    Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.

    102k GitHub starsUsed in 2 repos~5.2k tokens
    DevelopmentAuto-check passed
  • Go Pedantry

    chromedp/chromedp

    This skill should be used when the user is writing Go code and needs guidance on Go-specific pedantry: error wrapping with fmt.Errorf and %w, interface design (accept interfaces return structs)…

    13k GitHub stars~3.7k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from google/crosvm

  • Crosvm Cl Tool

    google/crosvm

    Official

    Skill to assist with using the ./tools/cl tool for managing and uploading Gerrit CLs in the crosvm repository.

    1.3k GitHub stars~647 tokensUpdated today
    Auto-check passed
  • Crosvm Testing

    google/crosvm

    Official

    Skill to assist with running tests and managing test VMs in the crosvm repository.

    1.3k GitHub stars~847 tokensUpdated today
    Auto-check passed
  • Official

    Skill to assist with using the devcontainer tool for running builds, tests, and other tools in a consistent containerized environment.

    1.3k GitHub stars~345 tokensUpdated today
    Auto-check passed

Questions about Crosvm Contribution Workflow

What does Crosvm Contribution Workflow do?

Skill to assist with the contribution workflow for crosvm. An agent skill from google/crosvm. Crosvm Contribution Workflow is an agent skill from google/crosvm, published by the product's own GitHub organization. Skill to assist with the contribution workflow for crosvm.

When should I use Crosvm Contribution Workflow?

Crosvm Contribution Workflow fits situations like: run presubmit checks before committing.

How do I install Crosvm Contribution Workflow in Claude Code?

Run `npx skills add google/crosvm --skill crosvm-contribution-workflow -a claude-code`. Or copy the skill folder (.agents/skills/crosvm_contribution_workflow in google/crosvm) into .claude/skills/crosvm-contribution-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Crosvm Contribution Workflow in Codex?

Run `npx skills add google/crosvm --skill crosvm-contribution-workflow -a codex`. Or copy the skill folder (.agents/skills/crosvm_contribution_workflow in google/crosvm) into .agents/skills/crosvm-contribution-workflow in your project. Codex loads it when a task matches its description.

Can I use Crosvm Contribution Workflow 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 google/crosvm --skill crosvm-contribution-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/crosvm-contribution-workflow, .gemini/skills/crosvm-contribution-workflow, .github/skills/crosvm-contribution-workflow and .opencode/skills/crosvm-contribution-workflow in your project.

What does Crosvm Contribution Workflow need to run?

Going by SKILL.md and its folder, Crosvm Contribution Workflow needs the command-line tools its instructions call (git).

Does Crosvm Contribution Workflow access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Crosvm Contribution Workflow 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 Crosvm Contribution Workflow use?

Crosvm Contribution Workflow is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Crosvm Contribution Workflow use?

About 1.5k tokens (SKILL.md is roughly 6k 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 Crosvm Contribution Workflow?

Skills that share tags, products or a category with Crosvm Contribution Workflow: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Mailspring App Screenshots (Foundry376/Mailspring, 18k stars), Merge Dependabot PRs (onyx-dot-app/onyx, 32k stars) and Android UI Visual Review (permissionlesstech/bitchat-android, 7.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Crosvm Contribution Workflow?

google (a GitHub organization, an official publisher) maintains it in google/crosvm, which has 1,329 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 7, 2026.

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