cli-release
Skill269 starsChanged 7 months agoMITView on GitHub
This skill should be used when the user asks to "release the CLI", "prepare a CLI release", "publish a new CLI version", "cut a CLI release", "do a release", "bump the CLI version", or mentions the CLI release checklist or release process. Guides through the full OpenHands CLI release workflow from version bump to binary publication, emphasizing human checkpoints.
- Pipes a download into a shell
- Reads credentials
- Deletes or force-pushes
- Sends data out
- Commits and pushes
3 other projects use a version of this.
Adopted by
Most recently taken up by
- ComposioHQ/composiotheir own version, first seen Nov 28, 2026
- gamedevpl/www.gamedev.pltheir own version, first seen Nov 17, 2026
- Gopyr/gopyr-skills-hubtheir own version, first seen Oct 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ComposioHQ/composio★ 31ksame name
- gamedevpl/www.gamedev.pl★ 17same name
- Gopyr/gopyr-skills-hub★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- custom-codereview-guideSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 54
Update version in pyproject.toml
- Distinctive: line 56
Update snapshot tests (version appears in splash screen SVGs)
- Distinctive: line 130
Wait for CI to complete after tagging.
- Distinctive: line 151
After publishing, confirm all platform binaries were uploaded:
- Very specific: line 172
Should return 200. Allow a few minutes for PyPI indexing.
- Very specific: line 176
After publishing the release, wait a couple of minutes.
- Distinctive: line 191
If the automated PR was not created, trigger the workflow manually:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
CLI Release Guide
This skill walks through the OpenHands CLI release process step by step.
🚨 CRITICAL: NEVER merge the release PR, create/push tags, or publish a GitHub release without the human's explicit approval. Release is the last line of human defense. Always present the current status and ask for confirmation before performing any irreversible action.
⚠️ Tag format: This project uses tags without a
vprefix (e.g.,1.13.0, notv1.13.0).
Phase 1: Trigger the Version Bump Workflow
Determine the target version (SemVer X.Y.Z). Then trigger the
bump-version.yml workflow, which creates a branch and draft PR
automatically.
Via GitHub UI
Navigate to
https://github.com/OpenHands/OpenHands-CLI/actions/workflows/bump-version.yml,
click Run workflow, enter the version (e.g., 1.14.0), and run it.
Via GitHub API
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/OpenHands/OpenHands-CLI/actions/workflows/bump-version.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"version": "<version>"
}
}'The workflow will:
- Validate version format (
X.Y.Z) - Create branch
bump-version-<version> - Update version in
pyproject.toml - Regenerate
uv.lock - Update snapshot tests (version appears in splash screen SVGs)
- Open a draft PR titled "Bump version to <version>"
Once the workflow completes, retrieve the PR number for later phases:
gh pr list --repo OpenHands/OpenHands-CLI \
--head "bump-version-<version>" --json number,title,urlPhase 2: Wait for CI — Tests Must Pass
The bump PR triggers the standard CI suite. All checks must pass.
Monitor status:
gh pr checks <PR_NUMBER> --repo OpenHands/OpenHands-CLIKey checks to verify:
- Lint
- Unit / integration tests
- Snapshot tests (updated by the bump workflow)
- Binary build
⏸ Checkpoint — Human Judgment on Failures
Decide with the team whether each failure is:
- Blocking — must fix before release
- Known / pre-existing — acceptable to release with a follow-up issue
- Flaky — re-run the workflow
Re-run failed jobs:
gh run list --repo OpenHands/OpenHands-CLI \
--branch "bump-version-<version>" --limit 5
gh run rerun <RUN_ID> --repo OpenHands/OpenHands-CLI --failedPhase 3: Tag the Release
🚨 STOP — Do NOT tag without explicit human approval. Present the CI status summary and ask the human to confirm.
Tag the latest commit on the version bump branch. No v prefix.
git fetch origin
git checkout bump-version-<version>
git reset --hard origin/bump-version-<version> # ensure we're at latest
# verify tag doesn't already exist
if git rev-parse <version> >/dev/null 2>&1; then
echo "Error: Tag <version> already exists"
exit 1
fi
git tag <version>
git push origin --tagsPushing the tag triggers two automated workflows:
cli-build-binary-and-optionally-release.yml— builds platform binaries and creates a draft GitHub release with assetspypi-release.yml— builds and publishes theopenhandspackage to PyPI
Phase 4: Merge the PR
🚨 STOP — Do NOT merge without explicit human approval.
Wait for CI to complete after tagging. Verify all checks passed, then merge:
gh pr checks <PR_NUMBER> --repo OpenHands/OpenHands-CLI
gh pr merge <PR_NUMBER> --repo OpenHands/OpenHands-CLI --mergePhase 5: Edit and Publish the GitHub Release
🚨 STOP — Do NOT publish without explicit human approval. Publishing finalises the release for users.
Navigate to https://github.com/OpenHands/OpenHands-CLI/releases and edit the draft release created by CI:
- Click Auto-generate release notes (or write custom notes)
- Review the notes
- Click Publish release
⏸ Checkpoint — Verify Release Assets
After publishing, confirm all platform binaries were uploaded:
| Platform | Asset name |
| Linux x86_64 | openhands-linux-x86_64 |
| Linux ARM64 | openhands-linux-arm64 |
| macOS Apple Silicon | openhands-macos-arm64 |
| macOS Intel | openhands-macos-intel |
gh release view <version> --repo OpenHands/OpenHands-CLI --json assets \
--jq '.assets[].name'⏸ Checkpoint — Verify PyPI Publication
curl -s -o /dev/null -w "openhands: %{http_code}\n" \
"https://pypi.org/pypi/openhands/<version>/json"Should return 200. Allow a few minutes for PyPI indexing.
Phase 6: Update Install Website
After publishing the release, wait a couple of minutes. The
update-install-website.yml workflow automatically opens a PR in
install-openhands-website.
gh pr list --repo All-Hands-AI/install-openhands-website \
--search "update-version-<version>" --json number,title,urlApprove and merge the PR so users get the latest version via:
curl -fsSL https://install.openhands.dev/install.sh | shIf the automated PR was not created, trigger the workflow manually:
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/OpenHands/OpenHands-CLI/actions/workflows/update-install-website.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"version": "<version>"
}
}'Phase 7: Post-Release — Notify the Team
Compose a Slack message for the human to post:
🚀 *CLI v<version> released!*
• PyPI: https://pypi.org/project/openhands/<version>/
• Release: https://github.com/OpenHands/OpenHands-CLI/releases/tag/<version>
• Install website PR: https://github.com/All-Hands-AI/install-openhands-website/pullsSee references/post-release-checklist.md for additional verification
steps and troubleshooting.
Quick Reference — Full Checklist
- Trigger
bump-version.ymlwith target version - All CI checks pass on the bump PR
- 🚨 Get human approval, then tag the release (no
vprefix) - 🚨 Get human approval, then merge the PR
- 🚨 Get human approval, then publish the GitHub release
- Verify platform binaries are attached to the release
- Verify
openhandspackage is available on PyPI - Approve and merge the install website PR
- Notify the team on Slack
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
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.

