publish-models agent skill by replicate
Pushes and publishes custom AI models to Replicate and sets up CI/CD for releasing new model versions safely, including cog-safe-push validation.
At a glance
| Publisher | Replicate Official |
|---|---|
| Repository | replicate/skills (7 listed skills) |
| Category | DevOps and Cloud |
| License | Apache-2.0 |
| Last commit | June 4, 2026 (repository) |
| SKILL.md | 310 lines, 1,220 words |
| Bundled files | 1 file |
| Quality score | 71/100 · C Passes all seven graded checks |
| Security scan | Not scanned |
| README badge | Get the listing badge and raise the score |
Before you install
Read from the skill's files at the directory's October 19, 2026 snapshot: what ships with it, what its code reads, and the terms it is published under.
- Bundled scripts: none.
- Commands in SKILL.md: its code blocks run
pip install, which fetches or runs software from outside the skill folder. - Credential names SKILL.md mentions:
REPLICATE_API_TOKEN,ANTHROPIC_API_KEY,COG_TOKEN. - License: Apache-2.0, an open-source or open-content license.
Install publish-models
The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.
npx skills add https://github.com/replicate/skills/tree/main/skills/publish-models
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/replicate/skills.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"skills/publish-models .claude/skills/
rm -rf "$tmp"
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
--repo replicate/skills \
--path skills/publish-models
replicate/skills is third-party code. Read SKILL.md and any bundled scripts before you install it.
How the author describes it
Push and publish custom AI models to Replicate, and set up CI/CD for releasing new model versions safely. Use when running cog push, deploying a model to Replicate, releasing a new version, validating a model with cog-safe-push before publishing, configuring a Replicate deployment, setting up GitHub Actions for model releases, or porting a community model to an official one. Trigger on phrases like "push a model to Replicate", "publish a model", "deploy a model", "release a new version", "cog push", "cog-safe-push", "model CI", "r8.im", or "schema compatibility", and when referencing github.com/replicate/cog-safe-push or github.com/replicate/model-ci-template. Covers cog push, the full cog-safe-push config (test cases, fuzz, deployment, official_model), GitHub Actions patterns, multi-model matrix pushes, and post-publish monitoring. Assumes you already have a working Cog project; see build-models if you need to package one first.
From the description field of SKILL.md. Agents read this line to decide when to load the skill.
Sections in SKILL.md
- Docs
- When to use this skill
- Prerequisites
- Plain cog push
- cog-safe-push (recommended for any model with users)
- cog-safe-push.yaml schema
- CI/CD: GitHub Actions
- Path A: roll your own
- Path B: reusable workflow from model-ci-template
- Multi-model matrix pushes
- Two-pass push for proxy / official models
- Deployments
- Monitoring published models
- Guidelines
- Production references
Files in the skill folder
SKILL.md
Suede Skill Check: 71/100 · C
Report snapshot · · graded-v2
The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.
Source revision: 2f36e415965a. Report version ec6dcb5a4ff8. Badge URLs follow the latest listing; save the report to keep this version.
Download report · Request a fresh review
What to review next
- Recent maintenance: 3 of 9 points. 9 for a repository commit within 30 days of the snapshot; 6 within 90; 3 within 180; 1 within 365.
- Description length: 1 of 5 points. 5 for 150–600 characters; 3 for 100–900; 1 for 50–1,024.
- Boundary clause: 0 of 4 points. 4 when the description says when not to use the skill (“Not for …”, “Do not use …”, “Use … instead”).
Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.
publish-models passes the required frontmatter check and all seven graded checks, which cover the SKILL.md format, a declared license and a commit in the last year. Those checks earn 56 of the score’s points; the rest come from description quality, instruction depth, bundled files, maintenance and curated-list citations. How the score works.
See the checks and points
| Check | Result |
|---|---|
| Frontmatter parses and declares a name and a description | Pass |
| Name uses lowercase letters, digits and hyphens, 64 characters or fewer | Pass |
| Name matches the skill's folder name | Pass |
| Description is between 50 and 1,024 characters | Pass |
| Description says when an agent should use the skill | Pass |
| SKILL.md body is 500 lines or fewer | Pass |
| A license is declared in the frontmatter or the repository | Pass |
| Repository has a commit in the last 12 months | Pass |
| Score component | Points |
|---|---|
| Structural checks | 56 of 56 |
| Description length | 1 of 5 |
| Boundary clause | 0 of 4 |
| Example request | 3 of 3 |
| Instruction depth | 7 of 7 |
| Reference files | 0 of 3 |
| Bundled scripts | 0 of 2 |
| Recent maintenance | 3 of 9 |
| Curated-list citations | 1 of 7 |
| Tool permissions declared | 0 of 2 |
| Compatibility declared | 0 of 2 |
Show the listing and raise the score
publish-models is listed with 71/100 · C. This badge links to its Suede listing. Skills scoring 80–99 add a numeric and a letter quality shield; the largest open points for publish-models are recent maintenance (6), boundary clause (4) and description length (4). Send your repository and the points you want to raise, then request a fresh review after updating the skill.
[](https://skills.suedeai.ai/directory/replicate/skills/publish-models/)
<a href="https://skills.suedeai.ai/directory/replicate/skills/publish-models/"><img src="https://skills.suedeai.ai/directory/badge.svg" alt="Suede Skills Directory: listed" height="20"></a>
Where this skill is cited
replicate/skills appears in 1 curated list: heilcheng/awesome-agent-skills.