[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVQVMPB7K6JF3QKWP2EQV2":3,"skill-same:01M7EVQVMPB7K6JF3QKWP2EQV2":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EVQVMPB7K6JF3QKWP2EQV2","replicate-guide",null,"Ship ML models as APIs with Replicate — run open models, deploy custom models, and pay per use.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-replicate-guide\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: replicate-guide\ndescription: Ship ML models as APIs with Replicate — run open models, deploy custom models, and pay per use.\ncategory: ai-research\n---\n\n## Overview\n\nReplicate is a platform for running machine-learning models in the cloud: a vast\npublic catalog of open models (LLMs, image, video, audio) runnable via API, plus\nthe ability to package and deploy your own models (including fine-tunes) as\nversioned, scalable endpoints. The core abstraction is the model version —\nevery model is pinned, reproducible, and callable via a uniform API with\npay-per-use billing.\n\nThe distinctive strengths: enormous model variety (if an open model exists,\nsomeone has probably put it on Replicate), dead-simple custom deployment\n(package your model with Cog, push, get an API), and hardware flexibility (pick\nGPU types per workload). For builders who need \"run this model\" without \"manage\nthis infrastructure,\" across modalities, Replicate is the pragmatic default.\n\nThink of it as: the app store model for ML compute. Browse, pin a version, call\nthe API, pay for what you run.\n\n## When to use\n\n- Running open models (any modality) via API without infrastructure.\n- Deploying a custom or fine-tuned model as a scalable endpoint quickly.\n- Multimodal products needing image\u002Fvideo\u002Faudio models alongside LLMs.\n- Batch\u002Foffline processing: predictions API for bulk jobs.\n- Prototyping with many different models before committing to one.\n- Teams that want version-pinned, reproducible model execution.\n\n## Core concepts\n\n- **Models and versions**: every model has immutable versions; you call a\n  specific version. Pin versions in production — \"latest\" moves and behavior\n  changes with it.\n- **Predictions API**: async-first — create a prediction, poll or webhook for\n  completion. Designed for models with variable runtimes (seconds to minutes).\n  Handle the async pattern properly in your client.\n- **Cog**: the open-source tool for packaging models into containers. Define the\n  environment and predict function; Cog builds a reproducible image. Your custom\n  deployments start here.\n- **Custom deployments**: push a Cog package to get a private scalable endpoint.\n  Autoscaling, hardware selection, and per-deployment configuration.\n- **Hardware selection**: choose GPU types per model\u002Fworkload. Bigger GPUs cost\n  more per second but finish faster — the cost-optimal choice is workload-specific.\n- **Fine-tunes on the platform**: train supported model types on Replicate\n  directly, then run the resulting version like any other model. Keeps the\n  train→serve loop in one place.\n- **Webhooks**: get notified on prediction completion instead of polling. Use\n  webhooks for production; poll only in scripts and prototypes.\n- **Pay-per-use billing**: billed for compute time per prediction. Cold starts\n  and queue times are part of the latency picture — measure end-to-end.\n\n## Practical workflow\n\n1. **Browse and test in the playground.** Find candidate models, test with your\n   inputs in the web UI, inspect outputs and runtimes before writing code.\n2. **Pin a version.** Choose a specific model version for your integration. Record\n   it; never ship against a floating tag.\n3. **Integrate the async API.** Create prediction → webhook\u002Fpoll → handle result.\n   Build timeout and retry handling around the async pattern from the start.\n4. **Measure the full latency picture.** Queue time + cold start + compute, at\n   your expected concurrency. Replicate latency is spikier than dedicated\n   serving — verify against your SLOs.\n5. **Package custom models with Cog.** For fine-tunes or custom models: write the\n   Cog config, test locally with `cog predict`, then push for deployment.\n6. **Choose hardware deliberately.** Benchmark your model on candidate GPU types;\n   pick the cost-optimal option for your latency target, not just the biggest.\n7. **Monitor spend per model version.** Pay-per-use across many models needs\n   attribution. Track cost per prediction and per feature.\n\nChecklist for production on Replicate:\n- Model versions pinned, not floating.\n- Async handling (webhooks) implemented with timeouts.\n- End-to-end latency measured at expected concurrency.\n- Hardware choice benchmarked for cost\u002Flatency.\n- Spend tracked per model and feature.\n\n## Common pitfalls\n\n- **Floating versions.** Shipping against \"latest\" and getting surprised by a\n  model update. Pin everything.\n- **Polling in production.** Poll loops are fine for scripts; production needs\n  webhooks. Polling at scale is wasteful and slow to react.\n- **Ignoring cold starts.** First prediction after idle takes longer (container\n  spin-up, model load). If latency matters, measure cold vs. warm and plan\n  accordingly.\n- **Synchronous assumptions.** Treating predictions like instant API calls.\n  Design the UX around async from the start (progress states, notifications).\n- **Wrong hardware economics.** Defaulting to the biggest GPU \"to be safe.\"\n  Benchmark — smaller GPUs often win on cost per prediction.\n- **No timeout handling.** Predictions can hang or queue long. Timeouts with\n  graceful degradation beat infinite waits.\n- **Cog packaging surprises.** \"Works on my machine\" models failing in Cog\n  containers. Test with `cog predict` locally — it runs the same container.\n- **Cost blindness across models.** Trying dozens of models in dev, then being\n  surprised by the bill. The catalog invites experimentation; track the spend.\n","## Overview\n\nReplicate is a platform for running machine-learning models in the cloud: a vast\npublic catalog of open models (LLMs, image, video, audio) runnable via API, plus\nthe ability to package and deploy your own models (including fine-tunes) as\nversioned, scalable endpoints. The core abstraction is the model version —\nevery model is pinned, reproducible, and callable via a uniform API with\npay-per-use billing.\n\nThe distinctive strengths: enormous model variety (if an open model exists,\nsomeone has probably put it on Replicate), dead-simple custom deployment\n(package your model with Cog, push, get an API), and hardware flexibility (pick\nGPU types per workload). For builders who need \"run this model\" without \"manage\nthis infrastructure,\" across modalities, Replicate is the pragmatic default.\n\nThink of it as: the app store model for ML compute. Browse, pin a version, call\nthe API, pay for what you run.\n\n## When to use\n\n- Running open models (any modality) via API without infrastructure.\n- Deploying a custom or fine-tuned model as a scalable endpoint quickly.\n- Multimodal products needing image\u002Fvideo\u002Faudio models alongside LLMs.\n- Batch\u002Foffline processing: predictions API for bulk jobs.\n- Prototyping with many different models before committing to one.\n- Teams that want version-pinned, reproducible model execution.\n\n## Core concepts\n\n- **Models and versions**: every model has immutable versions; you call a\n  specific version. Pin versions in production — \"latest\" moves and behavior\n  changes with it.\n- **Predictions API**: async-first — create a prediction, poll or webhook for\n  completion. Designed for models with variable runtimes (seconds to minutes).\n  Handle the async pattern properly in your client.\n- **Cog**: the open-source tool for packaging models into containers. Define the\n  environment and predict function; Cog builds a reproducible image. Your custom\n  deployments start here.\n- **Custom deployments**: push a Cog package to get a private scalable endpoint.\n  Autoscaling, hardware selection, and per-deployment configuration.\n- **Hardware selection**: choose GPU types per model\u002Fworkload. Bigger GPUs cost\n  more per second but finish faster — the cost-optimal choice is workload-specific.\n- **Fine-tunes on the platform**: train supported model types on Replicate\n  directly, then run the resulting version like any other model. Keeps the\n  train→serve loop in one place.\n- **Webhooks**: get notified on prediction completion instead of polling. Use\n  webhooks for production; poll only in scripts and prototypes.\n- **Pay-per-use billing**: billed for compute time per prediction. Cold starts\n  and queue times are part of the latency picture — measure end-to-end.\n\n## Practical workflow\n\n1. **Browse and test in the playground.** Find candidate models, test with your\n   inputs in the web UI, inspect outputs and runtimes before writing code.\n2. **Pin a version.** Choose a specific model version for your integration. Record\n   it; never ship against a floating tag.\n3. **Integrate the async API.** Create prediction → webhook\u002Fpoll → handle result.\n   Build timeout and retry handling around the async pattern from the start.\n4. **Measure the full latency picture.** Queue time + cold start + compute, at\n   your expected concurrency. Replicate latency is spikier than dedicated\n   serving — verify against your SLOs.\n5. **Package custom models with Cog.** For fine-tunes or custom models: write the\n   Cog config, test locally with `cog predict`, then push for deployment.\n6. **Choose hardware deliberately.** Benchmark your model on candidate GPU types;\n   pick the cost-optimal option for your latency target, not just the biggest.\n7. **Monitor spend per model version.** Pay-per-use across many models needs\n   attribution. Track cost per prediction and per feature.\n\nChecklist for production on Replicate:\n- Model versions pinned, not floating.\n- Async handling (webhooks) implemented with timeouts.\n- End-to-end latency measured at expected concurrency.\n- Hardware choice benchmarked for cost\u002Flatency.\n- Spend tracked per model and feature.\n\n## Common pitfalls\n\n- **Floating versions.** Shipping against \"latest\" and getting surprised by a\n  model update. Pin everything.\n- **Polling in production.** Poll loops are fine for scripts; production needs\n  webhooks. Polling at scale is wasteful and slow to react.\n- **Ignoring cold starts.** First prediction after idle takes longer (container\n  spin-up, model load). If latency matters, measure cold vs. warm and plan\n  accordingly.\n- **Synchronous assumptions.** Treating predictions like instant API calls.\n  Design the UX around async from the start (progress states, notifications).\n- **Wrong hardware economics.** Defaulting to the biggest GPU \"to be safe.\"\n  Benchmark — smaller GPUs often win on cost per prediction.\n- **No timeout handling.** Predictions can hang or queue long. Timeouts with\n  graceful degradation beat infinite waits.\n- **Cog packaging surprises.** \"Works on my machine\" models failing in Cog\n  containers. Test with `cog predict` locally — it runs the same container.\n- **Cost blindness across models.** Trying dozens of models in dev, then being\n  surprised by the bill. The catalog invites experimentation; track the spend.\n",{"name":5,"category":24,"description":7},"ai-research","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-replicate-guide",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill replicate-guide",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill replicate-guide",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill replicate-guide","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-replicate-guide\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]