replicate-media-provider
Skill2 starsChanged 7 months agoMITView on GitHub
Author and execute supported Replicate image, video, or audio requests when selected by user direction or a saved Project provider preference. Do not choose it automatically as a replacement for another provider.
In this repository21 other files it gives its agents.
- blender-shot-plannerSkill
- casting-directorSkill
- comfy-router-media-providerSkill
- elevenlabs-media-providerSkill
- fal-ai-media-providerSkill
- inspiration-analyzerSkill
- location-world-producerSkill
- lookbook-designerSkill
- media-producerSkill
- model-researcherSkill
- movie-directorSkill
- pika-media-providerSkill
- previs-stagingSkill
- production-designerSkill
- scene-beat-designerSkill
- screenplay-analystSkill
- screenplay-drafterSkill
- screenplay-pdf-to-fdxSkill
- screenplay-supporting-material-importerSkill
- shot-plannerSkill
- wavespeed-media-providerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 3 are distinctive, and 17 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
17
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
When this skill comes from renku-cloud and the Renku tools are missing, the person has not signed in to Renku Cloud yet.
- Very specific: line 28
Run each renku ... command through renku_command, as a batch of args lists.
- Very specific: line 32
Read this skill's adapter and Media Producer's model guides from your installed plugin.
- Very specific: line 46
Keep the $file markers below in the review document.
- Very specific: line 63
After approval, get the exact request with generation native-request and the review's requestSha256.
- Very specific: line 66
Create a prediction with Replicate's MCP tools for the request's model, owner/model or the pinned owner/model:version, with its native …
- Very specific: line 72
Check the prediction until its status is succeeded, failed or canceled.
- Very specific: line 80
Write the receipt with the fields local Renku keeps: {"requestId": "<prediction id>", "status": "succeeded", "metrics": <the prediction's …
- Very specific: line 82
Leave out the output links, the API links under urls, logs and anything secret.
- Very specific: line 93
Keep every agent-created working file inside the current Project's categorized tmp/ tree.
- Very specific: line 97
Use tmp/operations/media-generation/ for review documents.
- Very specific: line 99
Use tmp/media/ for generated or downloaded media.
- Very specific: line 100
Use tmp/qa/ for review evidence.
- Very specific: line 101
Use tmp/scratch/ for other temporary inputs.
- Distinctive: line 103
Use Replicate when explicit user direction or a saved Project provider preference selects it.
- Distinctive: line 114
Read relevant provider guidance: reference inputs.
- Very specific: line 117
Use generation models show --provider replicate --model <apiId> --json to get personalGuidePath.
- Very specific: line 131
Use owner/model or the exact pinned owner/model:version recorded in the index.
- Very specific: line 134
Add promptMention only when the selected adapter establishes exact syntax.
- Distinctive: line 139
Follow Media Producer's shared review routing for panel Submit/consume or Preview/conversational confirmation, artifact review, and focused …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Replicate Media Provider
Renku Cloud
Renku runs in Renku Cloud when this skill comes from the renku-cloud
plugin (its folder is inside that plugin; Claude Code lists it as
renku-cloud:<skill>), or when the Renku tools renku_command,
renku_upload, renku_download, renku_view and renku_guide are
present. An app may show them with a prefix, such as
mcp__plugin_renku-cloud_renku__renku_command. In Renku Cloud, never run a
renku command on the computer, even when one is installed there.
When this skill comes from renku-cloud and the Renku tools are missing, the
person has not signed in to Renku Cloud yet. Tell them how, and stop until
they have: in Claude Code, type /mcp and sign in to
plugin:renku-cloud:renku; in the Claude app, open Renku Cloud's Connectors
tab in Customize → Plugins and select Add, then Connect; in the ChatGPT app,
select Connect on Renku Cloud; in the Codex CLI, run codex mcp login renku.
In Renku Cloud this section applies and takes precedence over any instruction
below to stop when renku is unavailable.
- Run each
renku ...command throughrenku_command, as a batch ofargslists. There is no shell: no pipes, redirects or$(...). Send the review document inline in the command'sfiles, undertmp/operations/media-generation/, and keep your own copy on your computer. - Read this skill's adapter and Media Producer's model guides from your
installed plugin. For
--route-index, passskill:replicate-media-provider/references/supported-routes.json. Read personal model notes withgeneration models guide show --provider replicate --model <apiId>instead of openingpersonalGuidePath. - Renku Cloud holds no Replicate token. Before preparing, check that Replicate's MCP server is connected in your AI app; its sign-in asks for the person's token, which Replicate keeps. If it is not connected, ask the person to connect it and wait; never ask for the token.
generation schema show,validate,prepareandestimatework without a token. When a schema cannot be read (ENGINE_CATALOG_KEY_REQUIRED), fetch it with Replicate's MCP tools and save it withgeneration schema record. Prices still come frommodel-researcher's price research, as locally.- Keep the
$filemarkers below in the review document. The native request carries them as links. - The host permission and local network rules below do not apply. Renku refuses its Execute and Recover steps: generate as Renku Cloud Generation describes.
Request Preparation And Recovery
Reuse verified command syntax and selected-route discovery within the current request preparation. Follow existing configuration-cache freshness; final native validation and execution remain live boundaries. Do not retry paid execution automatically or replay a successful mutation after CLI026. Provider metadata cache and output writes require host permission, and Preview notification requires local network access. Explain a known denial and use the authorized permission flow instead of repeating it or disabling persistence. Keep Preview, approval, concurrency, output review, and attachment ownership with Media Producer.
Renku Cloud Generation
In Renku Cloud, the person's AI app sends the request through Replicate's own MCP server, and their Replicate account pays for it. Media Producer's Renku Cloud guide has the whole flow; these are Replicate's parts.
- After approval, get the exact request with
generation native-requestand the review'srequestSha256. Its reference links stay readable for 24 hours. - Create a prediction with Replicate's MCP tools for the request's model,
owner/modelor the pinnedowner/model:version, with its native input exactly as given. Keep at mostworkflowPolicy.concurrencyLimitpredictions running at once. - Record the job with
generation job recordas soon as Replicate returns the prediction id; that id is theproviderJobId. - Check the prediction until its status is
succeeded,failedorcanceled. Check again rather than creating another prediction. End a failed or canceled one withgeneration job close --job <id> --reason failed|cancelled. - Replicate's output links expire after an hour, so upload and import as
soon as the prediction succeeds. When
outputlists several files, upload every link in onerenku_uploadcall and import them in onemedia import --filelist, each with the same job and receipt. - Write the receipt with the fields local Renku keeps:
{"requestId": "<prediction id>", "status": "succeeded", "metrics": <the prediction's metrics, only when present>}. Leave out the output links, the API links underurls, logs and anything secret. Renku refuses a receipt holding a secret or a signed link, naming the field. - Import with
media import --job <job id> --receipt <receipt file>.
Replicate's MCP server is the only way to reach Replicate here; never call its API with a token yourself. If its tools cannot send the native input exactly, stop and tell the person rather than sending a changed request.
Project Workspace
Keep every agent-created working file inside the current Project's categorized
tmp/ tree. Never create review JSON, provenance JSON, generated media, QA
evidence, downloads, or scratch files at the Project root.
- Use
tmp/operations/media-generation/for review documents. Execute/Recover saves provenance beside its media and returnsprovenancePathfor attachment. - Use
tmp/media/for generated or downloaded media. - Use
tmp/qa/for review evidence. - Use
tmp/scratch/for other temporary inputs.
Use Replicate when explicit user direction or a saved Project provider preference selects it. Do not switch to it automatically from another provider.
Reuse Media Producer's effective model list when already loaded. Otherwise use
renku generation models list --provider replicate --route-index <absolute-path-to-references/supported-routes.json> --json
for this provider's bundled and personal discovery choices. Select the exact
apiId; an explicitly requested unlisted route can proceed without installation.
Copy it verbatim into the review document's model field and every generation
command. Never substitute a model or rewrite its namespace.
Find model advice by name under Media Producer's references/model-guides/.
Read relevant provider guidance: reference inputs.
Missing advice does not block a supported request; the selected schema and
provider documentation describe its current inputs.
Use generation models show --provider replicate --model <apiId> --json to get
personalGuidePath. Read it if present. Current bundled guidance supplies the
curated default; personal notes add advice and explicit user preferences take
priority. A personal discovery label never suppresses bundled guidance.
Prepare the selected request from its live/cached schema and optional advice.
Consult current provider documentation when necessary. Do not add a separate
capability check or mandatory transport/output compatibility audit.
Media Producer supplies the exact deliberately chosen local files. Do not query
or reinterpret Renku Project relationships. The supported-route index is
routing guidance only; run renku generation schema show --provider replicate
--model <api_id> --json for the selected Replicate model's current native fields
and constraints.
Use owner/model or the exact pinned owner/model:version recorded in the
index. Author the provider-native prediction input as request, using $file
markers with Media Producer's exact reviewLabel at exact native media fields.
Add promptMention only when the selected adapter establishes exact syntax.
Engines retrieves the selected model's
live input schema, uploads local files, submits, polls, retries eligible
failures, downloads outputs, and returns safe provenance.
Follow Media Producer's shared review routing for panel Submit/consume or Preview/conversational confirmation, artifact review, and focused attachment. Never call Replicate directly or persist provider URLs, tokens, prediction state, or durable execution lifecycle records.
Renku estimates cost for reviews from cached provider prices. Do not write
prices into this Skill or the review document; a missing price
follows model-researcher's price research.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

