mcpbeat Sign in

Replicate Agent Skill

Read and write Replicate: look up model versions and input schemas, run predictions, poll status, cancel runs. Trigger phrases: replicate, ai models.

577 tokens
context cost
SKILL.md, read when the skill is used
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
1 052
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Anil-matcha/awesome-muse-connectors --skill replicate

What comes with it

5 362 bytes besides the instruction
bin/replicate.py

The instruction itself

7 sections, as written by the author

Replicate

Purpose

Run AI models on Replicate: look up a model to get its version ID and input schema, create an async prediction, poll its status, and cancel runs. Use when the user wants to run a specific model by owner/name.

Tooling

All commands go through bin/replicate.py:

bin/replicate.py auth                                                  # verify the API key
bin/replicate.py model --name stability-ai/sdxl                        # get version ID and input schema
bin/replicate.py predict --version <version-id> --input-json '{"prompt": "..."}'  # start a prediction
bin/replicate.py status --id <prediction-id>                           # poll prediction status
bin/replicate.py cancel --id <prediction-id>                           # cancel a running prediction

Always call model first: copy the latest_version_id and match your --input-json to its input_schema before calling predict.

Auth

  • Provider id: replicate (credential is collected as custom.replicate)
  • Collection: API token via the secure credential flow (credentials.request_api_access); created in the Replicate account settings
  • Allowed hosts: api.replicate.com
  • Status check: bin/replicate.py auth (must return "ok": true)

Operating Rules

  • predict and cancel are writes: confirm the model, version, and input with the user before running, unless standing permission exists. Predictions cost money per run, so warn about cost too.
  • Predictions are async: after predict, poll status until the status reads succeeded or failed.
  • Output file URLs in a prediction expire after 1 hour; download anything worth keeping right away.
  • Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/replicate.py). Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/replicate.py

Maturity

🧪 Draft: written from Replicate's public API docs; not yet live-tested end-to-end.

How to use it

Copy the folder

Take anil-matcha/replicate from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.