generation-workflow-setup
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Discover complete ComfyUI workflows only from Story-Film's extension-local comfyui_workflows library, then let the user select each required task from an ordinary numbered list.
In this repository139 other files it gives its agents.
- 3d-animation-short-generatorSkill
- ace-step-xlSkill
- adapt-screenplaySkill
- asset-approvalSkill
- audience-simSkill
- audio-masterSkill
- batch-recoverySkill
- beat-sheetSkill
- book-planSkill
- brand-promo-video-generatorSkill
- campaign-brandSkill
- campaign-deliverySkill
- character-bibleSkill
- character-simSkill
- comfyui-api-v2Skill
- comfyui-assetsSkill
- comfyui-binding-auditSkill
- comfyui-cliSkill
- comfyui-discoverSkill
- comfyui-handoffSkill
- comfyui-mcpSkill
- comfyui-offline-batchSkill
- comfyui-runSkill
- comfyuiSkill
- comfyui-troubleshootSkill
- comfyui-workflowSkill
- content-repurposeSkill
- context-shardsSkill
- continuity-checkSkill
- co-op-game-intro-generatorSkill
- creative-pressure-testSkill
- creative-production-specSkill
- crew-reviewSkill
- decision-tree-interviewSkill
- delivery-qcSkill
- design-systemSkill
- dialogue-audio-authoritySkill
- dialogue-timing-preflightSkill
- dialogue-voiceSkill
- director-bookSkill
- documented-creative-discoverySkill
- edit-assistSkill
- editorial-packageSkill
- editorial-reconciliationSkill
- editor-project-exportSkill
- edit-planSkill
- evidence-researchSkill
- ffmpegSkill
- film-completenessSkill
- film-masterSkill
- generation-budgetSkill
- generation-model-setupSkill
- generation-packSkill
- guided-production-wizardSkill
- h3-prompt-writingSkill
- handdrawn-live-video-generatorSkill
- imagemagickSkill
- kdenlive-exportSkill
- krea-2Skill
- llm-model-lifecycleSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill before ComfyUI generation or whenever the user wants to change the workflow used for a generation task.
- Distinctive: line 19
When the selected playbook will use ComfyUI, workflow selection happens before story/canon creation.
- Distinctive: line 21
If a required category already has a durable selection and the user did not ask to change it, reuse that exact selection.
- Very specific: line 23
Only missing categories or an explicit user-requested workflow change open an interactive numbered catalog.
- Very specific: line 27
Check 00_project/workflow_preferences.json first.
- Very specific: line 30
Add --query <text> when the task needs a narrower subset.
- Very specific: line 32
Do not use ask_user_question or another TUI picker for workflow selection.
- Distinctive: line 33
Do not truncate the list. Story-Film imposes no maximum workflow count.
- Distinctive: line 35
Ask the user to reply with the number of the workflow to use.
- Very specific: line 36
After the user replies, record that exact choice with workflow_catalog.py choose.
- Distinctive: line 39
If the workflow names unavailable models or missing nodes, report the exact blocker.
- Distinctive: line 51
Do not prefer a source merely because it appears first.
- Very specific: line 55
Do not run a second adapter/checkpoint/VAE/text-encoder/LoRA questionnaire after workflow selection.
- Very specific: line 63
When checking whether resource names stored in the selected workflow are available, use the running ComfyUI server registry.
- Very specific: line 65
Use scripts/model_inventory.py scan only for low-level diagnostics and compatibility reporting.
- Very specific: line 79
Do not add a generate-new choice to every normal workflow catalog.
≈ “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.
Files
Generation Workflow Setup
Use this skill before ComfyUI generation or whenever the user wants to change the workflow used for a generation task.
Read
Read ../../references/WORKFLOW_SELECTION.md.
Playbook preflight and reuse
When the selected playbook will use ComfyUI, workflow selection happens before story/canon creation. Run ../../scripts/workflow_preflight.py set for the playbook/profile or explicit task categories, then resolve every missing category before creative production begins.
If a required category already has a durable selection and the user did not ask to change it, reuse that exact selection. Materialize or validate it as needed, but do not show the numbered list again. Do not ask again later.
Only missing categories or an explicit user-requested workflow change open an interactive numbered catalog. A later missing model/node/input is a blocker, not permission to reopen workflow selection.
Required behavior
- Check
00_project/workflow_preferences.jsonfirst. If the task already has a durable selection and no change was requested, reuse it without another user question. - Determine the generation task category that the current preflight or production step needs.
- For a missing category, run
../../scripts/workflow_catalog.py catalog <project-root> --category <task>. - Add
--query <text>when the task needs a narrower subset. - Show the command's complete ordinary numbered list to the user.
- Do not use
ask_user_questionor another TUI picker for workflow selection. - Do not truncate the list. Story-Film imposes no maximum workflow count. Show every built-in and package-custom workflow in the extension library regardless of how many choices exist. There is no four-choice limit for workflow selection. There is no higher Story-Film workflow-count limit.
- Ask the user to reply with the number of the workflow to use.
- After the user replies, record that exact choice with
workflow_catalog.py choose. - Materialize the selected extension source with
workflow_catalog.py materialize. - Inspect and live-validate the selected workflow before execution.
- If the workflow names unavailable models or missing nodes, report the exact blocker. Do not silently replace the workflow, model, VAE, encoder, LoRA, or other resource.
- Continue to the next required task category only after the current workflow choice is recorded.
Source types
The catalog can include only:
- bundled workflows under
../../comfyui_workflows/<task>/<model>/; - package custom workflows under
../../comfyui_workflows/custom/<task>/<model>/.
Project workflow/default folders, ComfyUI userdata, arbitrary external paths, and ComfyUI template catalogs are not discovery sources.
Do not prefer a source merely because it appears first. The user chooses from the numbered list.
Workflow owns the model stack
Do not run a second adapter/checkpoint/VAE/text-encoder/LoRA questionnaire after workflow selection.
The selected workflow owns the concrete model/resource values stored in its graph. Prompt adapters may still translate model-neutral production intent when the selected workflow requires model-specific prompt grammar.
model_preferences.json is legacy compatibility data. It does not override a selected workflow.
Live model registry validation
When checking whether resource names stored in the selected workflow are available, use the running ComfyUI server registry. Use /models and /models/{folder} through the bundled discovery helpers. These registry results include external model roots configured by extra_model_paths.yaml.
Use scripts/model_inventory.py scan only for low-level diagnostics and compatibility reporting. Do not run find / or another filesystem sweep to rediscover model files. Do not replace it with direct curl, wget, or one-off Python parsers. The running ComfyUI registry is runtime truth for model availability.
Custom workflow location
To add any custom, edited, exported, or newly authored workflow to Story-Film, copy its JSON file under:
comfyui_workflows/custom/<task>/<model>/Refresh the catalog after copying it. Story-Film never registers or scans an arbitrary external workflow path.
Explicit workflow creation
Do not add a generate-new choice to every normal workflow catalog. However, if the user explicitly asks Story-Film to create, build, author, or design a new ComfyUI workflow, route to comfyui-workflow and use its bounded live-schema authoring path.
The new candidate must be built from real live node/model schemas, validated before promotion, and must not invent node classes or silently install dependencies. If the new workflow should become reusable/selectable by Story-Film, save or copy the validated JSON into comfyui_workflows/custom/<task>/<model>/, refresh the catalog, and record that real workflow as the durable selection when appropriate.
Done
Done when each generation task required by the current production scope has a durable selection in 00_project/workflow_preferences.json, any active workflow preflight is complete, and the selected workflow has either passed its required validation or has a concrete unresolved blocker.
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.

