zeke/replicate-local-workflow-skill

An agent skill for running Replicate models and organizing their outputs locally

★ 2Forks 0JavaScriptGitHub ↗Compare

README

replicate-local-workflow-skill

An Agent Skill for running Replicate models and keeping their outputs organized on a local machine.

It layers a local asset workflow on top of Replicate's official model skills:

  • Find, compare, prompt, and run models with replicate/skills.
  • Prefer Replicate MCP Code Mode when it is available.
  • Start independent predictions in parallel.
  • Download every file output before its URL expires.
  • Put prediction IDs, model names, and concise input slugs in filenames.
  • Embed prediction metadata in JPG, PNG, and WebP files with media-provenance.
  • Preserve prediction JSON, manifests, generation scripts, galleries, and contact sheets.
  • Never overwrite existing outputs.
  • Allow useful generated artifacts in Git when each file is under 100 MB.

Install

Install globally for all supported agents:

npx skills add zeke/replicate-local-workflow-skill --global --all --yes

Install Replicate's official skills too:

npx skills add replicate/skills --global --all --yes

Requirements

  • Node.js
  • A REPLICATE_API_TOKEN environment variable
  • Internet access
  • Deno, optional, for Replicate MCP Code Mode
  • FFmpeg and ImageMagick, optional, for local media processing and review assets

The included downloader invokes npx media-provenance automatically for supported image formats.

Development

See AGENTS.md.

More Skills

Browse more skills at zeke/skills.

Contributors

zeke

Issues