Agent skill

Gerrit Submit

by ambient-code in ambient-code/platform

A skill your agent uses when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting.

MITAuto-check passedDevelopment

Install Gerrit Submit

skills CLI
$ npx skills add ambient-code/platform --skill gerrit-submit -a claude-code

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

GitHub CLI
$ gh skill install ambient-code/platform gerrit-submit --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/ambient-code/platform.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/plugins/gerrit-skills/skills/gerrit-submit .claude/skills/gerrit-submit && 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
gerrit-submit
GitHub stars
131
Token cost
~644 tokens
SKILL.md length
319 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting.

  • Works in 4 steps: Check readiness → Rebase if needed → Submit → …
  • Preparing a Gerrit change for merge — checking submit requirements
  • SKILL.md covers Prerequisites, Pre-submission checklist, Workflow and Common issues
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gerrit Submit is an agent skill from ambient-code/platform. Use when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting. Triggers on "submit this Gerrit change", "merge this CL", "is this change ready to submit", "check submit requirements".

Its SKILL.md is about 640 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. It works with Model Context Protocol. The repository describes itself as: Vision/Mission https://ambient-code.ai : Virtual team management and collaboration platform. User guides: https://ambient-code.github.io/platform/. The licence is MIT.

When your agent uses it

  • Preparing a Gerrit change for merge — checking submit requirements
  • Resolving comments
  • Submit this Gerrit change
  • Is this change ready to submit

Example prompts

  • “submit this Gerrit change”
  • “merge this CL”
  • “is this change ready to submit”
  • “/gerrit-submit”

Workflow steps

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

  1. Check readiness
  2. Rebase if needed
  3. Submit
  4. Post-submit

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Gerrit Submit loads about 644 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 319 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
~644

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 ambient-code/platform at commit e15afd3, republished under its MIT licence (© ambient-code). 319 words, ~644 tokens.

Download SKILL.mdSave it as .claude/skills/gerrit-submit/SKILL.md (or your agent's skills folder).
name
gerrit-submit
description
Use when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting. Triggers on "submit this Gerrit change", "merge this CL", "is this change ready to submit", "check submit requirements".

Gerrit Change Submission

Guide for preparing and submitting Gerrit changes for merge.

Prerequisites

The Gerrit MCP server must be available and the user must have submit permissions on the target project.

Pre-submission checklist

Before submitting, verify all requirements are met using mcp__gerrit__fetch_gerrit_change:

  1. Labels satisfied — All required labels have sufficient votes:

    • Code-Review: typically needs +2
    • Verified: typically needs +1
    • Any project-specific labels (check the change's submit_requirements)
  2. No unresolved comments — All inline comments must be resolved or addressed

  3. Mergeable — The change can be merged without conflicts (check the mergeable field)

  4. Up to date — The change is based on the current branch head (rebase if needed)

Workflow

1. Check readiness

Fetch the change and examine:

  • submittable field — true if all requirements are met
  • submit_requirements — list of conditions and their status
  • labels — current votes
  • Unresolved comment count

If not submittable, report what's missing and stop.

2. Rebase if needed

If the change is not based on the current branch head:

  • The Gerrit MCP server's submit operation may auto-rebase depending on project settings
  • If conflicts exist, the change owner must resolve them manually and upload a new patch set
3. Submit

Use mcp__gerrit__submit_gerrit_review with the appropriate approval labels if you need to add final votes before submitting.

Submission itself happens through the Gerrit REST API. If the MCP server provides a submit tool, use it. Otherwise, inform the user to submit via the Gerrit web UI.

4. Post-submit

After successful submission:

  • Verify the change shows status MERGED
  • Check if there are dependent changes that can now be submitted (submitted_together)
  • Notify the user of the merge commit hash if available

Common issues

  • Missing votes: Check which labels are blocking and who can provide them
  • Merge conflicts: The owner needs to rebase and resolve conflicts locally
  • Submit rules: Some projects have custom submit rules (e.g., require Verified from CI)
  • Permission denied: The user may not have submit permissions — check with project admin

© ambient-code, MIT. 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 .claude/plugins/gerrit-skills/skills/gerrit-submit of ambient-code/platform.

Open the folder on GitHubat commit e15afd3

Compare with similar skills

Gerrit Submit 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.

Gerrit Submit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gerrit Submit this skillambient-code/platform131—~644Automated safety check: PassMIT
ast-grep Structural Searchcode-yeongyu/oh-my-openagent70k—~3.3kAutomated safety check: PassMIT
ReleasePrefectHQ/fastmcp28k—~2.9kAutomated safety check: PassApache-2.0
Claude Code Skillcodeaashu/claude-code3.4k1 repos~2.7kAutomated safety check: PassProprietary
Run Nx Generatornrwl/nx29k2 repos~592Automated safety check: NotesMIT
LangBot Plugin Developmentlangbot-app/LangBot18k—~3.9kAutomated safety check: PassApache-2.0

Similar skills

  • ast-grep Structural Search

    code-yeongyu/oh-my-openagent

    Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.

    70k GitHub stars~3.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Release

    PrefectHQ/fastmcp

    Cut a FastMCP release end to end. An agent skill from PrefectHQ/fastmcp.

    28k GitHub stars~2.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Claude Code Skill

    codeaashu/claude-code

    Development conventions and architecture guide for the Claude Code CLI repository.

    3.4k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • Run Nx generators with prioritization for workspace-plugin generators.

    29k GitHub starsUsed in 2 repos~592 tokens
    DevelopmentAuto-check: notes
  • LangBot Plugin Development

    langbot-app/LangBot

    Guides building, debugging and testing LangBot plugins: components, SDK calls, README and locale rules, SDK pitfalls and WebSocket-based testing.

    18k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Library Documentation Seeker

    withkynam/vibecode-pro-max-kit

    Looks up library and framework documentation through Context7 first, with bundled Node scripts as a fallback that fetch and analyze llms.txt files.

    1.1k GitHub starsUsed in 2 repos~1k tokens
    DevelopmentAuto-check: notes

More from ambient-code/platform

All 18 skills in this repo
  • Align

    ambient-code/platform

    Run a convention alignment check across the codebase to measure adherence to documented standards.

    131 GitHub stars~754 tokensUpdated yesterday
    Auto-check passed
  • Amber Review

    ambient-code/platform

    Perform a comprehensive code review using repository-specific standards.

    131 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Cypress Demo

    ambient-code/platform

    Create a Cypress-based video demo for a feature branch with cursor, click effects, and captions.

    131 GitHub stars~879 tokensUpdated yesterday
    Auto-check: notes
  • Deploy

    ambient-code/platform

    Deploy, update manifests, and troubleshoot the ambient-ui component.

    131 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Discover

    ambient-code/platform

    Discover domain-specific skills and context before starting any coding or spec work.

    131 GitHub stars~747 tokensUpdated yesterday
    Auto-check passed
  • Frontend Development

    ambient-code/platform

    Required context for all frontend work. An agent skill from ambient-code/platform.

    131 GitHub stars~525 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Gerrit Submit

What does Gerrit Submit do?

A skill your agent uses when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting. Gerrit Submit is an agent skill from ambient-code/platform. Use when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and submitting.

When should I use Gerrit Submit?

Gerrit Submit fits situations like: preparing a Gerrit change for merge — checking submit requirements; resolving comments; submit this Gerrit change; is this change ready to submit.

How do I install Gerrit Submit in Claude Code?

Run `npx skills add ambient-code/platform --skill gerrit-submit -a claude-code`. Or copy the skill folder (.claude/plugins/gerrit-skills/skills/gerrit-submit in ambient-code/platform) into .claude/skills/gerrit-submit in your project. Claude Code loads it when a task matches its description.

How do I install Gerrit Submit in Codex?

Run `npx skills add ambient-code/platform --skill gerrit-submit -a codex`. Or copy the skill folder (.claude/plugins/gerrit-skills/skills/gerrit-submit in ambient-code/platform) into .agents/skills/gerrit-submit in your project. Codex loads it when a task matches its description.

Can I use Gerrit Submit 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 ambient-code/platform --skill gerrit-submit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gerrit-submit, .gemini/skills/gerrit-submit, .github/skills/gerrit-submit and .opencode/skills/gerrit-submit in your project.

What does Gerrit Submit need to run?

SKILL.md names no scripts, command-line tools or credentials: Gerrit Submit is instructions for the agent only.

Does Gerrit Submit 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 Gerrit Submit 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 Gerrit Submit use?

Gerrit Submit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gerrit Submit use?

About 644 tokens (SKILL.md is roughly 2.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 Gerrit Submit?

Skills that share tags, products or a category with Gerrit Submit: ast-grep Structural Search (code-yeongyu/oh-my-openagent, 70k stars), Release (PrefectHQ/fastmcp, 28k stars), Claude Code Skill (codeaashu/claude-code, 3.4k stars) and Run Nx Generator (nrwl/nx, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gerrit Submit?

ambient-code (a GitHub organization) maintains it in ambient-code/platform, which has 131 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 6, 2026.

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