mirror of
https://github.com/replicate/skills.git
synced 2026-09-19 05:08:06 +08:00
e2bd22704b
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.
1.7 KiB
1.7 KiB
Replicate Skills: Agent Notes
Purpose
This repo publishes Agent Skills for Replicate: focused guides for finding, comparing, running, building, publishing, and prompting AI models.
Files that matter
skills/find-models/SKILL.md— search, collections, schemas, picking the right model.skills/compare-models/SKILL.md— evaluating models by cost, speed, quality, and capabilities.skills/run-models/SKILL.md— predictions, polling, webhooks, streaming, file I/O, concurrency, multi-model workflows.skills/build-models/SKILL.md— packaging custom models with Cog: cog.yaml, predict.py, weights loading, cold-boot tricks.skills/publish-models/SKILL.md— pushing models to Replicate with cog push and cog-safe-push, and CI/CD for releases.skills/prompt-images/SKILL.md— prompting techniques for image generation and editing models.skills/prompt-videos/SKILL.md— prompting techniques for video generation models.script/lint— validates the skills..mcp.json— points to the remote MCP server..claude-plugin/— marketplace metadata for Claude Code.
Editing guidelines
- Keep each
SKILL.mdconcise and practical. Prefer bullet lists over long prose. - Every code snippet must be runnable. The test runner executes them all.
- Treat
https://api.replicate.com/openapi.jsonas the source of truth for API details. - Do not add language-specific client guidance unless explicitly requested.
Linting
script/lint skills/find-models
script/lint skills/compare-models
script/lint skills/run-models
script/lint skills/build-models
script/lint skills/publish-models
script/lint skills/prompt-images
script/lint skills/prompt-videos