agentleFS
badgidsbadgids/Story-Film-Skills/skills/comfyui-handoff/SKILL.md

comfyui-handoff

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

Build a standalone, portable ComfyUI-ready generation manifest containing canon links, references, briefs, prompt files, selected workflow identities, input requirements, output IDs, stale scope, and unresolved requirements without hardcoded machine details.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the standalone contract, core contract, dependency rules, WORKFLOW_SELECTION.md, ComfyUI portable package contract, state, canon, …

    line 15
  2. Distinctive:

    Ensure model-neutral briefs exist for that scope.

    line 17
  3. Distinctive:

    Run the prompt adapter implied by the selected workflow only when prewritten model-specific prompts are part of the requested package.

    line 19
  4. Very specific:

    Write 04_generation/comfyui_handoff.json using project-relative paths only.

    line 20
  5. Distinctive:

    Never invent node class names, widget indices, personal model paths, or private custom-node schemas.

    line 22
  6. Very specific:

    Run prompt-qc on included prompt documents.

    line 23
  7. Very specific:

    If the user also requests execution, route next to comfyui: materialize the selected source, preserve a project-owned copy, validate …

    line 24
  8. Distinctive:

    If a selected workflow cannot run on the active ComfyUI server, record that as an unresolved blocker.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ComfyUI Handoff

This skill creates a portable generation package. It does not require ComfyUI or another skill pack to be installed for planning.

Workflow

  1. Read the standalone contract, core contract, dependency rules, WORKFLOW_SELECTION.md, ComfyUI portable package contract, state, canon, continuity, references, and generation briefs.
  2. Determine the smallest requested scope by sequence, scene, shot, cue, or stale asset.
  3. Ensure model-neutral briefs exist for that scope.
  4. For each generation task that will be executed through ComfyUI, use generation-workflow-setup to record the selected complete workflow. Do not run the retired model-resource interview.
  5. Run the prompt adapter implied by the selected workflow only when prewritten model-specific prompts are part of the requested package.
  6. Write 04_generation/comfyui_handoff.json using project-relative paths only.
  7. Include workflow_preferences, selected workflow identities or materialized workflow paths, prompt files, reference IDs and roles, required input media, expected output IDs, durations or dimensions when required, stale IDs, and unresolved requirements.
  8. Never invent node class names, widget indices, personal model paths, or private custom-node schemas. The portable manifest describes intent plus the explicit selected workflow identity.
  9. Run prompt-qc on included prompt documents.
  10. If the user also requests execution, route next to comfyui: materialize the selected source, preserve a project-owned copy, validate against live node schemas, stage inputs, submit, and collect outputs.

Workflow authority

The selected workflow owns the concrete checkpoint/model, VAE, text encoders, LoRAs, audio models, upscalers, node choices, and generation settings stored in its graph.

If a selected workflow cannot run on the active ComfyUI server, record that as an unresolved blocker. Do not silently choose another workflow or another model.

Done

The standalone package contains enough generation intent and workflow identity for ComfyUI, another workflow compiler, another agent, or a human operator to map each task without reading the originating conversation. When execution was also requested, each submitted task is traceable to a live-validated workflow and returned prompt ID.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.