agentleFS
GoogleKnown publishergoogle/crosvm/.agents/skills/crosvm_cl_tool/SKILL.md

crosvm-cl-tool

Skill1.3k starsChanged 5 months agoBSD-3-ClauseView on GitHub

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

  • Commits and pushes

Trending

Quiet this year.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the google/crosvm repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about google/crosvm

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub and Hacker News (9 times).

On GitHub · 7

2 more on GitHub

On Hacker News · 2

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you are already on a branch, you can set the upstream manually:

    line 23
  2. Distinctive:

    Run the rebase command:

    line 70
  3. Distinctive:

    If there are conflicts, resolve them manually:

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Crosvm CL Tool (./tools/cl)

The ./tools/cl script is a custom tool in the crosvm repository used to manage local branches and upload changes to the upstream Gerrit review site (https://chromium-review.googlesource.com).

It wraps git push with the correct Gerrit refs and options, and helps rebase changes when tracking downstream branches.

Prerequisites

To use this tool, you must be on a local branch that tracks a remote branch (typically origin/main). You can set this up when creating a branch:

git checkout -b mybranch --track origin/main

If you are already on a branch, you can set the upstream manually:

git branch --set-upstream-to origin/main

Subcommands

1. status

Lists all local branches, their tracking status, and the status of their local commits on Gerrit (e.g., MERGED, ABANDONED, NEW, NOT_UPLOADED).

./tools/cl status

2. upload

Uploads local commits on the current branch to Gerrit.

./tools/cl upload [options]

Options:

  • -d, --dry-run: Show the push command that would be run without actually executing it.
  • -r, --reviewer <email>: Add a reviewer. Can be repeated to add multiple reviewers.
  • -a, --auto-submit: Set Auto-Submit+1 and Commit-Queue+1 labels on Gerrit.
  • -s, --submit: Set Commit-Queue+2 (trigger immediate submit after approval).
  • -t, --try: Set Commit-Queue+1 (trigger try jobs / dry run).

3. rebase

Helps rebase changes if you are tracking a different branch (e.g., aosp/main or cros/chromeos) and want to upload to upstream origin/main.

It creates a new branch named <current-branch>-upstream tracking origin/main and cherry-picks your local commits onto it.

./tools/cl rebase

Rebase Workflow:

  1. Run the rebase command:
    ./tools/cl rebase
  2. If there are conflicts, resolve them manually:
    # Resolve conflicts in files...
    git add <resolved-files>
    git cherry-pick --continue
  3. Once the rebase/cherry-pick is complete, upload from the new -upstream branch:
    ./tools/cl upload

4. prune

Cleans up your local repository by deleting local branches whose changes have already been merged or abandoned on Gerrit.

./tools/cl prune [options]

Options:

  • -f, --force: Force delete the branches without prompting for confirmation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.