Gerrit Action Skill
Use the `gerritaction` worker to query Gerrit resources and apply actions to matching changes through the Gerrit API.
by craftslab · published 2026-03-22
$ claw add gh:craftslab/craftslab-gerritaction# Gerrit Action Skill
Use the `gerritaction` worker to query Gerrit resources and apply actions to matching changes through the Gerrit API.
When to use
Use this skill when the user wants to:
Worker configuration
The worker is configured by `skill/config.yml`:
apiVersion: v1
kind: worker
metadata:
name: gerritaction
spec:
gerrit:
host: http://127.0.0.1/
port: 8080
user: user
pass: passRequired fields:
Invocation rules
Supported queries
Account query
Use `--account-query` to search accounts.
Example:
pip install gerritaction
gerritaction --config-file="skill/config.yml" --account-query="name:john email:example.com"Change query
Use `--change-query` to search changes.
Example:
pip install gerritaction
gerritaction --config-file="skill/config.yml" --change-query="status:open since:2024-01-01 until:2024-01-02"Group query
Use `--group-query` to search groups.
Example:
pip install gerritaction
gerritaction --config-file="skill/config.yml" --group-query="name:admin member:john"Project query
Use `--project-query` to search projects. Project results are enriched with project config, branches, and tags.
Example:
pip install gerritaction
gerritaction --config-file="skill/config.yml" --project-query="name:test state:active"Supported change actions
The worker supports these change actions:
Multiple actions can be chained in one `--change-action` value, separated by spaces.
Example:
pip install gerritaction
gerritaction \
--config-file="skill/config.yml" \
--change-query="status:open project:test" \
--change-action="add-reviewer:1001,1002 approve-change:Code-Review=+2"Output handling
Example:
pip install gerritaction
gerritaction \
--config-file="skill/config.yml" \
--project-query="name:test state:active" \
--output-file="/tmp/projects.json"Safety guidance
Recommended behavior for the agent
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...