Open
Conversation
Two new skills covering the model-creation lifecycle: - build-models: packaging custom models with Cog (cog.yaml, predict.py, weights loading with pget, cold-boot tricks, async predictors). - publish-models: cog push, cog-safe-push, GitHub Actions patterns, multi-model matrix pushes, and post-publish monitoring. Descriptions are written to be easy for agents to trigger on, with specific file names, commands, and trigger phrases. Patterns are distilled from production Replicate model repos including cog-flux, cog-flux-kontext, cog-vllm, cog-comfyui, flux-fine-tuner, vibevoice, cog-template, and model-ci-template.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds two new skills covering the model-creation lifecycle on Replicate:
build-models— packaging custom models with Cog:cog.yaml,predict.py, weights loading with pget, cold-boot tricks, async predictors with continuous batching, multi-LoRA composition, and a weights cache helper.publish-models—cog push,cog-safe-pushwith the full config schema, GitHub Actions patterns (DIY and themodel-ci-templatereusable workflow), multi-model matrix pushes, two-pass official-model pushes, deployments, and a post-publish monitoring pattern.Descriptions are written for high triggerability: they list specific commands (
cog push,cog-safe-push), file names (cog.yaml,predict.py), URLs (r8.im,cog.run), and natural trigger phrases.Patterns are distilled from a survey of production Replicate model repos: cog-flux, cog-flux-kontext, cog-vllm, cog-comfyui, flux-fine-tuner, vibevoice, cog-yue, cog-official-nightmareai-real-esrgan, plus the cog-template, cog-official-template, and model-ci-template scaffolding repos. Each skill ends with a "Production references" section linking to the real examples on GitHub.
Both skills validate with
script/lint, and the existing five skills still validate after the marketplace and AGENTS.md updates.