Agent skill · Backend & API

replicate

Runs open-source ML models via Replicate API for image generation, LLMs, and audio. Use when calling Stable Diffusion, Llama, Whisper, or other models without infrastructure management.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill replicate --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/ai-ml/replicate/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Replicate Run open-source ML models in the cloud. Access Stable Diffusion, Llama, Whisper, and thousands of other models via API. ## Quick Start ```bash npm install replicate ``` ### Setup ```typescript import Replicate from 'replicate'; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, }); ``` ## Run Models ### Basic Prediction ```typescript const output = await replicate.run( 'stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf', { input: { prompt: 'A futuristic city at sunset', }, } ); console.log(output); // ['https://replicate.delivery/pbxt/...'] ``` ### With Options ```typescript const output = await replicate.run( 'stability-ai/sdxl:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b', { input: { prompt: 'A majestic lion in the savanna', negative_prompt: 'blurry, low quality', width: 1024, height: 1024, num_outputs: 1, scheduler: 'K_EULER', num_inference_steps: 50, guidance_scale: 7.5, }, } ); ``` ## Streaming (Language Models) ```typescript const output = await replicate.stream( 'meta/llama-2-70b-chat', { input: { prompt: 'Tell me a story about a robot', max_new_tokens: 500, }, } ); for await (

What's inside
Steps it walks through
  1. Quick Start
  2. Setup
  3. Run Models
  4. Basic Prediction
  5. With Options
  6. Streaming (Language Models)
  7. Stream Events
  8. Predictions API
  9. Create Prediction
  10. Wait for Completion
  11. Using wait()
  12. Webhooks
  13. Webhook Handler
  14. Popular Models
Ships with 1 file
  • metadata.json
Commands it runs
npm install replicate
More from claude-skill-registry
All skills →
About this skill
What does the replicate skill do?

Runs open-source ML models via Replicate API for image generation, LLMs, and audio. Use when calling Stable Diffusion, Llama, Whisper, or other models without infrastructure management.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill replicate --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going