Replicate 技能
为 Replicate 应用查找、比较、运行、开发与发布模型。
官方七技能包覆盖模型发现与执行、Cog 打包、发布,以及图片或视频提示。
适用场景
- 选择并集成 AI 模型
- 打包并发布自定义 Cog 模型
使用方法
安装技能包、配置 Replicate 访问,并选择模型生命周期阶段;自定义模型按 Cog 配置与本地服务流程开发。
Skills
build-models
Package and build custom AI models with Cog for deployment on Replicate. Use when creating a cog.yaml or predict.py, defining model inputs and outputs, loading model weights at setup time, building Docker images for ML models, serving locally with cog serve or cog predict, or porting a HuggingFace, GitHub, or ComfyUI model to run on Replicate. Trigger on phrases like "build a model", "package a model", "create a Cog model", "wrap a model", "containerize an AI model", "predict.py", "cog.yaml", "BasePredictor", or "Cog container", and when referencing cog.run, github.com/replicate/cog, or github.com/replicate/cog-examples. Covers GPU and CUDA setup, pget for fast weight downloads, async predictors with continuous batching, streaming outputs, and cold-boot optimization for image, video, audio, and LLM models. For pushing built models to Replicate, see publish-models. For running existing models, see run-models.
replicate/skillscompare-models
Compare Replicate models by cost, speed, quality, and capabilities.
replicate/skillsfind-models
Find AI models on Replicate using search and curated collections.
replicate/skillsprompt-images
Prompting techniques for AI image generation and editing models on Replicate. Use when writing prompts for image models or building image generation features.
replicate/skillsprompt-videos
Prompting techniques for AI video generation models on Replicate. Use when writing prompts for video models or building video generation features.
replicate/skillspublish-models
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.
replicate/skillsrun-models
Run AI models on Replicate via predictions, webhooks, and streaming.
replicate/skills