make-ci-green
Skill by brave
Re-runs failed Jenkins CI jobs for a brave/brave-core pull request. It wipes the workspace for build or infra failures and uses a normal re-run for test failures. Aimed at developers working on Brave PRs.
Install make-ci-green
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brave/brave-core /tmp/brave-core && mkdir -p ~/.claude/skills && cp -r /tmp/brave-core/agents/skills/make-ci-green ~/.claude/skills/make-ci-greenRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brave/brave-core /tmp/brave-core && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/brave-core/agents/skills/make-ci-green ~/.gemini/antigravity-cli/skills/make-ci-greenAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill re-runs failed Jenkins CI jobs for a brave/brave-core pull request. It first runs a dry-run analysis that lists the failing checks, the failed stage and the recommended action. Stages such as init, checkout, build, compile and sync trigger a WIPE_WORKSPACE rebuild, while test and storybook failures get a normal re-run.
For test stage failures, the script extracts GTest failures from Jenkins console output and classifies each test as Brave or Chromium. It checks LUCI Analysis for upstream flakes on Chromium tests, correlates failures with PR changes, and searches brave/brave-browser for existing issues. It only suggests filing issues and never creates them. It is aimed at developers who need to unblock CI on a Brave PR.
Written from the project's SKILL.md and checked against it.
What it can do
- Dry-run analysisAnalyzes failing Jenkins checks on a PR without triggering any rebuild.
- Trigger rebuildsRe-runs failing Jenkins checks, using WIPE_WORKSPACE or a normal re-run.
- Failure stage detectionMatches the failed stage name to choose WIPE_WORKSPACE or a normal re-run.
- Test failure analysisExtracts GTest failures and classifies each as a Brave or Chromium test.
- PR correlationEstimates whether a test failure is likely caused by the PR or unrelated to it.
- Upstream flake checkShows LUCI Analysis verdicts for Chromium tests.
- Existing issue searchSearches brave/brave-browser for issues matching a failing test name.
- Issue filing suggestionSuggests a title, body and label for a new issue without filing it.
What you need
- Python 3
- JENKINS_BASE_URL, JENKINS_USER and JENKINS_TOKEN environment variables
- Jenkins API token
- Local chromium src/ checkout for test classification
- GitHub API access
Try asking
- Make CI green on PR 33936
- Dry run the failing CI jobs for PR 33936
- Retrigger the failed Jenkins checks on PR 33936
Good to know
- Only handles Jenkins CI checks, not GitHub Actions, SonarCloud or Socket Security.
- Does not handle pending checks that are still running.
- Test extraction supports only the GTest output format.
- Upstream flake check works only for Chromium tests.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/skills/make-ci-green/SKILL.md, agents/skills/make-ci-green/retrigger-ci.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
retrigger-ci.py39 KB
Alternatives to make-ci-green
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
make-ci-green: common questions
Does it file GitHub issues automatically?
No. Issues are never auto-filed. The script only suggests filing, and the user must confirm before any issue is created.
When does it use WIPE_WORKSPACE?
It uses WIPE_WORKSPACE for failed stages matching keywords such as init, checkout, build, compile or sync. Test and storybook stages get a normal re-run.
Can it retrigger GitHub Actions checks?
No. It only handles Jenkins CI checks, identified by the Jenkins base URL in the check URL.
How do I install make-ci-green?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is make-ci-green free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is make-ci-green safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to make-ci-green?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
