release-cog
Skill by replicate
Guides and automates the Cog release process, from version bump and tagging to publishing. It is for maintainers of the Cog project who cut stable, pre-release and dev releases.
Install release-cog
Built from the published package, never by AI.
git clone --depth 1 https://github.com/replicate/cog /tmp/cog && mkdir -p ~/.claude/skills && cp -r /tmp/cog/.agents/skills/release-cog ~/.claude/skills/release-cogRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/replicate/cog /tmp/cog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cog/.agents/skills/release-cog ~/.gemini/antigravity-cli/skills/release-cogAntigravity 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
The release-cog skill guides maintainers through releasing new versions of Cog, a multi-language project that ships CLI binaries, coglet Python wheels, the cog SDK wheel and the coglet Rust crate. It covers stable, pre-release and dev release types, with the mise version bump, branch and tag commands, and the steps to watch the release build.
The skill also explains the automated workflows: release-build.yaml builds wheels and CLI binaries and creates a draft release, and release-publish.yaml publishes to PyPI and crates.io. It describes how to write hand-categorized release notes, fix version mismatch errors and recover a failed release. It is intended for Cog maintainers who run releases.
Written from the project's SKILL.md and checked against it.
What it can do
- Version bumpChecks the current version and bumps it with mise, updating VERSION.txt and Cargo files.
- Release branch and PRCreates a release branch, pushes it, and opens a pull request to main with gh.
- Tag creationCreates and pushes stable, pre-release or dev tags that trigger the release build.
- Build monitoringWatches the release-build workflow run with gh until the build finishes.
- Release notesExplains how to gather commits since the last release and write categorized notes.
- Publish guidanceDescribes publishing the draft release, which triggers PyPI and crates.io publishing.
- Pre-release checklistLists tests, lint, version checks and docs steps to run before tagging.
- TroubleshootingCovers version mismatch errors, tags not on main, failed releases and manual PyPI upload.
What you need
- Git
- GitHub CLI (gh)
- mise
- twine (only for manual PyPI publish)
Try asking
- Bump Cog to version 0.18.0 and open a release PR to main.
- Create the v0.18.0-rc1 pre-release tag and push it.
- Draft hand-written release notes for Cog v0.20.0 from the commits since v0.19.0.
Good to know
- Stable and pre-release tags must be on the main branch.
- Release notes are not auto-generated and must be written by hand.
- Homebrew tap updates run for stable releases only.
- Dev releases are published as pre-releases immediately by the build workflow.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/release-cog/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to release-cog
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
release-cog: common questions
What release types does the Cog release process support?
Stable releases like v0.17.0, pre-releases like v0.17.0-rc1, and dev releases like v0.17.0-dev1. Stable and pre-releases publish to PyPI and crates.io, and only stable releases update Homebrew.
How do I recover from a failed Cog release?
Delete the GitHub release if it was created, delete the tag locally and on origin, fix the issue, then re-create and push the tag.
Does the skill write the release notes for me?
The skill describes a hand-written format with sections for new features, improvements and bug fixes. The source says release notes are not auto-generated from commit messages.
How do I install release-cog?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is release-cog free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is release-cog safe to use?
It scores 83 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 release-cog?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
