1. Habit
  2. Skills
  3. Run Models skill
replicate · 2K installs

Run Models skill
Runs by itself, hourly job queue.

Queued generations done and saved.

Install the Run Models skill and make it a habit: follow https://gethabit.dev/skills/replicate/run-models.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs136 starsApache-2.0 licenceSource on GitHub ↗

Run Models

by replicate · 2K installs

The skill

The run models skill helps developers run AI models on Replicate with predictions, polling, webhooks and streaming, with schema-valid inputs and safe handling of expiring output URLs.

Only when you ask.

The habit

Queued generations done and saved.

↻ Runs by itselfhourly job queue

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 10 jobs per run, with one retry per failed job.

  1. 01

    Pick jobs

    Take queued jobs from the board.

  2. 02

    Get schemas

    Fetch each model's input and output schema.

  3. 03

    Create predictions

    POST to /v1/predictions for each job in parallel with a lifetime set.

  4. 04

    Poll

    Poll each prediction until it succeeds, fails or is canceled.

  5. 05

    Save outputs

    Download output files right away, since URLs expire after one hour.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Run Models skill helps.

Use it when

  • ✓ You run a model on Replicate
  • ✓ You chain models in a pipeline
  • ✓ You receive results by webhook

Skip it when

  • – You need to pick a model first
  • – You do not use Replicate

Questions

Run Models skill, answered.

Should I use Prefer: wait?

Only for very fast models; the skill caps it at 60 seconds.

Can I use webhooks instead of polling?

Yes. The skill suggests webhooks and says to validate their signatures.

How do I install the Run Models skill?

Copy the prompt at the top into your agent. It installs the skill from replicate/skills and sets up the habit. Or run npx skills add replicate/skills --skill run-models.

Is the Run Models skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Run Models. Now as a habit.

Install the Run Models skill and make it a habit: follow https://gethabit.dev/skills/replicate/run-models.md

  • Free
  • No account
  • Undo in one line

All replicate skills →More content skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by replicate, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.