replicate-runner

replicate-runner is a skill for Claude Code from oyi77/1ai-skills. It costs 40 tokens per session (3,537 once invoked), scanned A, original, MIT.

A guide for running AI models through Replicate, a cloud service that hosts models so you do not manage the hardware yourself.

In plain words
What is it for?
It helps connect to Replicate models, deploy custom models, and combine several model calls into one workflow.
Why use it?
It removes the need to set up and maintain GPU infrastructure when generating images, video, or audio, or when using custom models.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the 1ai-skills plugin — 212 skills, 4 commands shipped together

Good fit It helps connect to Replicate models, deploy custom models, and combine several model calls into one workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/replicate-runner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oyi77/1ai-skills --skill replicate-runner
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 212 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for replicate-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/replicate-runner/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/replicate-runner)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/replicate-runner"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/replicate-runner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for replicate-runner

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/replicate-runner"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/replicate-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.03537
Opus 5.5 $0.00016 $0.01415
Sonnet 5.5 $0.00008 $0.00707
Haiku 4.5 $0.00004 $0.00354

Measured 1mo ago against content hash e4e9d822e491, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

replicate-runner scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

img_bytes = requests.get(base_url).content
core/replicate-runner/SKILL.md · 464 lines

How it starts

The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Replicate Runner

When to Use

Trigger phrases:

  • "replicate runner"

  • "Run AI models on Replicate cloud API"

  • When running AI models without managing GPU infrastructure

  • When generating images, videos, or audio with state-of-the-art models

  • When deploying custom models to a cloud API

  • When chaining multiple AI models in a pipeline

Anti-Rationalization Table

Excuse Reality Rule
"I'll just use the API directly" Replicate API changes; runner abstraction insulates your code One integration point, not N scattered calls
"Docker is enough" Docker lacks model versioning, caching, cost tracking Runner adds observability and governance
"I don't need model routing" Different models excel at different tasks Route automatically; don't hardcode

Trigger phrases:

  • "replicate runner"

  • "Run AI models on Replicate cloud API"

  • When running AI models without managing GPU infrastructure

  • When generating images, videos, or audio with state-of-the-art models

  • When deploying custom models to a cloud API

  • When chaining multiple AI models in a pipeline

When NOT to Use

  • For local inference (use Ollama skills)
  • For OpenAI-compatible endpoints (use OpenAI skills)
  • For fine-tuning (use training-specific skills)

Overview

Access 1000+ AI models via Replicate API. Run Flux, Stable Diffusion, Whisper, and custom models with a single API call. Pay per second of compute.

Setup & Configuration

1. Get API Token

Sign up at replicate.com, then create an API token in your account settings.

2. Environment Variable

export REPLICATE_API_TOKEN=r8_xxxxxxxxxxxxxxxxxxxx

Or store in .env:

REPLICATE_API_TOKEN=r8_xxxxxxxxxxxxxxxxxxxx

3. Install SDK

Python:

pip install replicate

Node.js:

npm install replicate

4. SDK Initialization

Python:

import replicate
# Token auto-reads from REPLICATE_API_TOKEN env var

Read the full file on GitHub · 464 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 464 lines · 40 tokens per session scan A e4e9d822e491

Subscribe to this mod's changes

replicate-runner is a skill published in the GitHub repository oyi77/1ai-skills (16 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 3,537 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

together-ai-inference

Serverless inference, fine-tuning, embeddings, image generation, and batch processing on 200+ open-source models via an OpenAI-compatible API. Use when you need fast, cost-effective access to open-source LLMs without managing infrastructure.

synthetic-sciences/openscience · 55 tokens

execution-hygiene

Runs computations so they finish, reproduce and fit the machine that will re-execute them, detaching long jobs through computejob instead of blocking or sleeping shells, checkpointing so reruns resume, fixing seeds and capping BLAS and OpenMP threads, streaming large tables with explicit dtypes, writing outputs…

synthetic-sciences/openscience · 150 tokens

generate-image

Generates or edits images with the native generateimage tool (Nano Banana Pro through Ace or a Gemini key, GPT Image 2 through an OpenAI key), for illustrations, cover art, graphical abstracts, conceptual visuals, photo-style figures and edits of existing images, saved straight into the workspace and checked before…

synthetic-sciences/openscience · 103 tokens

audio-prompting

Use when crafting TTS, music, or bed prompts for any generative audio model — director style, song structure, and post-production layering.

PrunaAI/pruna-skills · 34 tokens

video-prompting

Use when crafting video or motion prompts for any generative model — dramaturgy, camera, physics-safe motion, frame anchors, and clip chaining.

PrunaAI/pruna-skills · 34 tokens

generation-diversity

Use when writing any generative prompt — ritual seed, explicit structure, scenario axes, and quality gates before paid API calls.

PrunaAI/pruna-skills · 30 tokens