comfyui-export
Export an AI-Video-Producer pipeline to ComfyUI workflow JSON — produce a workflow the user can load in ComfyUI to reproduce (or approximate) a hosted-API…
Skill by shotcowboystyle
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/shotcowboystyle-comfyui-export
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/comfyui-export
What's inside
- Skill name
comfyui-export- Description
- Export an AI-Video-Producer pipeline to ComfyUI workflow JSON — produce a workflow the user can load in ComfyUI to reproduce (or approximate) a hosted-API pipeline locally. Best-effort: maps fal/replicate model calls to equivalent ComfyUI checkpoints/LoRAs/samplers and flags stages that have no native ComfyUI equivalent. Use when the user wants to take a pipeline that's been working via APIs and bring it onto local hardware (cost reduction, offline work, fine-grained control).
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Pipeline → ComfyUI export
## Inputs
- A pipeline directory `pipelines/<name>/` with a complete `SPEC.md` and stage files.
- Target ComfyUI version assumption (default: current — flag if user hasn't updated recently).
- Optional: a checkpoint catalogue (`pipelines/_shared/checkpoints.md` or similar) so you can pick from models the user already has locally.
## Mapping
| Pipeline stage | ComfyUI nodes |
|----------------|---------------|
| Text-to-image (Flux) | `UNETLoader (flux)`, `DualCLIPLoader`, `CLIPTextEncode` ×2, `KSampler`, `VAEDecode`, `SaveImage` |
| Text-to-image (SDXL) | `CheckpointLoaderSimple`, `CLIPTextEncode` ×2, `KSampler`, `VAEDecode`, `SaveImage` |
| Image-to-video (SVD) | `ImageOnlyCheckpointLoader`, `SVD_img2vid_Conditioning`, `KSampler`, `VAEDecode`, `VHS_VideoCombine` |
| Image-to-video (Wan / Hunyuan) | corresponding loader + sampler + VHS combine |
| Upscale (Real-ESRGAN, 4x-UltraSharp) | `UpscaleModelLoader`, `ImageUpscaleWithModel` |
| Frame interpolation (RIFE / FILM) | `RIFE VFI` from `ComfyUI-Frame-Interpolation` |
| ControlNet | `ControlNetLoader`, `ControlNetApply` |
| LoRA | `LoraLoader` chained before sampler |
For stages that have **no native equivalent** (most lip-sync APIs, Runway Gen-3, Kling, Hailuo, Sora, Veo, ElevenLabs) — emit a placeholder Note node with the original API call documented, and tell the user this stage will still need to run via API even after the local move.
## Steps
1. Read `SPEC.md` and each `stages/NN-*.md`.
2. For each stage, look up the mapping. Use the local checkpoint catalogue if provided to pin specific filenames; otherwise emit `<choose checkpoint>` placeholders the user must fill.
3. Build the workflow as **API-format** JSON (flat `{node_id: {class_type, inputs}}`). Sequential numeric IDs starting from `1`. Wire `inputs` references as `[source_id, output_index]` pairs.
4. Set sampler params from the stage definitions (steps, cfg, sampler_name, scheduler, seed). API format has no "random" seed: `seed` must be an integer from 0 to 2^64−1, and `-1` fails validation. If the stage gives no seed, generate one (e.g. `python3 -c 'import secrets; print(secrets.randbelow(2**32))'`), write it into the workflow and record it in `manifest-export.md` so the run can be reproduced. Randomise-per-run is the UI's `control_after_generate` widget, which API format doesn't carry.
5. Write outputs:
- `pipelines/<name>/comfy/workflow-export.json` — the API-format workflow.
- `pipelines/<name>/comfy/manifest-export.md` — checkpoints, LoRAs, custom nodes the user needs (with `ComfyUI-Manager` install names where possible).
- Update `SPEC.md` with a "Local execution" section pointing at the export.
## Discipline
- Be honest about gaps. If three of five stages map cleanly and two are API-only, say so on the first line of `manifest-export.md`. Don't pretend a full local equivalent exists.
- Don't invent ComfyUI nodes that don't exist. Verify class names against ComfyUI core + the relevant custom-node packs.
- Where a hosted model's quality is hard to match locally (Sora, Veo, Kling), explicitly say "no comparable local model — closest approximation is X but quality drop is significant".
- Keep the workflow JSON minimal — only the nodes that are part of the pipeline. No stray reroute nodes or notes (other than the gap-flag note for API-only stages).From shotcowboystyle/ag-skills, MIT.
More from shotcowboystyle/ag-skills
- 0.570score
team-composition-patterns
shotcowboystyle
Design optimal agent team compositions with sizing heuristics, preset configurations, and agent type selection.
SkillAFreshness: AClaude Code +9 - 0.570score
ai-media-tools-index
shotcowboystyle
Curated index of agent-callable AI video and audio tooling on GitHub — ComfyUI integrations, MCP servers, agent skill packs, CLIs, agentic video frameworks…
SkillAFreshness: AClaude Code +9 - 0.570score
parallel-feature-development
shotcowboystyle
Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation.
SkillAFreshness: AClaude Code +9 - 0.570score
team-communication-protocols
shotcowboystyle
Structured messaging protocols for agent team communication including message type selection, plan approval, shutdown procedures, and anti-patterns to avoid.
SkillAFreshness: AClaude Code +9 - 0.565score
text-to-image-to-video
shotcowboystyle
Two-stage pipeline that generates a still image from a text prompt (Flux/SDXL/Imagen) then animates it into a video clip (Kling/Runway/Hailuo/Wan).
SkillAFreshness: AClaude Code +9 - 0.565score
upscale-and-interpolate
shotcowboystyle
Post-processing chain — upscale a clip's resolution and/or interpolate frames for smoother motion.
SkillAFreshness: AClaude Code +9 - 0.565score
video-workspace-conventions
shotcowboystyle
Reference for the AI video production workspace — lifecycle phases, folder layout, naming conventions, and working principles.
SkillAFreshness: AClaude Code +9 - 0.565score
budget-estimator
shotcowboystyle
Estimate API costs for a planned pipeline or for an entire script before any generation runs.
SkillAFreshness: AClaude Code +9 - 0.565score
comfyui-import
shotcowboystyle
Import a ComfyUI workflow JSON (the API-format export from ComfyUI's "Save (API Format)" option, or the UI-format graph JSON) and turn it into an…
SkillAFreshness: AClaude Code +9 - 0.565score
text-to-video-direct
shotcowboystyle
Single-step text-to-video generation (Sora, Veo, Kling text mode, Hailuo).
SkillAFreshness: AClaude Code +9 - 0.565score
model-researcher
shotcowboystyle
Research what fal.ai and Replicate (and optionally other providers — Runway, Kling, Pika, Hedra, ElevenLabs, OpenAI) currently offer for a given workload —…
SkillAFreshness: AClaude Code +9 - 0.565score
recommend-model
shotcowboystyle
Intelligent, preference-driven model recommendation across fal.ai, Replicate, WaveSpeedAI, and MiniMax (Hailuo).
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 29
- Last commit (this folder)
- Oct 18, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/shotcowboystyle/ag-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from shotcowboystyle
- 0.570score
ai-media-tools-index
shotcowboystyle
Curated index of agent-callable AI video and audio tooling on GitHub — ComfyUI integrations, MCP servers, agent skill packs, CLIs, agentic video frameworks…
SkillAFreshness: AClaude Code +9 - 0.570score
parallel-feature-development
shotcowboystyle
Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation.
SkillAFreshness: AClaude Code +9 - 0.570score
team-communication-protocols
shotcowboystyle
Structured messaging protocols for agent team communication including message type selection, plan approval, shutdown procedures, and anti-patterns to avoid.
SkillAFreshness: AClaude Code +9 - 0.570score
team-composition-patterns
shotcowboystyle
Design optimal agent team compositions with sizing heuristics, preset configurations, and agent type selection.
SkillAFreshness: AClaude Code +9 - 0.565score
text-to-video-direct
shotcowboystyle
Single-step text-to-video generation (Sora, Veo, Kling text mode, Hailuo).
SkillAFreshness: AClaude Code +9 - 0.565score
comfyui-import
shotcowboystyle
Import a ComfyUI workflow JSON (the API-format export from ComfyUI's "Save (API Format)" option, or the UI-format graph JSON) and turn it into an…
SkillAFreshness: AClaude Code +9
Cite this page
comfyui-export skill. Agent Mart. https://agentmart.dev/skills/shotcowboystyle-comfyui-export (last updated 2026-10-24)