Agent skill

Workflow Template Builder

by Mooshieblob1 in Mooshieblob1/MooshieUI

Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

AGPL-3.0Auto-check passedAI & LLM Engineering

Install Workflow Template Builder

skills CLI
$ npx skills add Mooshieblob1/MooshieUI --skill workflow-template-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mooshieblob1/MooshieUI workflow-template-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mooshieblob1/MooshieUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/workflow-template-builder .claude/skills/workflow-template-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
workflow-template-builder
GitHub stars
207
Token cost
~640 tokens
SKILL.md length
172 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

  • Works in 4 steps: Read src-tauri/src/templates/mod.rs → Read txt2img.rs (reference pattern) → If new params needed →… → …
  • New generation modes
  • SKILL.md covers Before coding, Rules, WorkflowResult and Pipeline order (summary), plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Workflow Template Builder is an agent skill from Mooshieblob1/MooshieUI. Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates). Use for new generation modes, template nodes, LoRA chains, upscale append chains, or ComfyUI workflow wiring.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).

It sits in AI & LLM Engineering, covering Diffusion and image models, Image editing and Fine-tuning. It works with ComfyUI, Tauri, Rust and Stable Diffusion. The repository describes itself as: A front-end UI for ComfyUI made for beginner level users. The licence is AGPL-3.0.

When your agent uses it

  • New generation modes
  • Upscale append chains
  • ComfyUI workflow wiring

Example prompts

  • “Use the workflow-template-builder skill to build or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates)”
  • “/workflow-template-builder”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read src-tauri/src/templates/mod.rs
  2. Read txt2img.rs (reference pattern)
  3. If new params needed → add-generation-param skill first
  4. If a custom ComfyUI node is needed → add-comfyui-node skill first

What it can do on your machine

Read from SKILL.md and the folder at commit a9cb043. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Workflow Template Builder loads about 640 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 172 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~640

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mooshieblob1/MooshieUI at commit a9cb043, republished under its AGPL-3.0 licence (© Mooshieblob1). 172 words, ~640 tokens.

Download SKILL.mdSave it as .claude/skills/workflow-template-builder/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
workflow-template-builder
description
Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates). Use for new generation modes, template nodes, LoRA chains, upscale append chains, or ComfyUI workflow wiring.

Workflow Template Builder (MooshieUI)

Specialist workflow for src-tauri/src/templates/. Each template builds serde_json::Map<String, Value> for the ComfyUI API.

Before coding

  1. Read src-tauri/src/templates/mod.rs
  2. Read txt2img.rs (reference pattern)
  3. If new params needed → add-generation-param skill first
  4. If a custom ComfyUI node is needed → add-comfyui-node skill first

Rules

  1. Return WorkflowResult with all fields set
  2. Node IDs: next_id.to_string() after each node ("1", "2", …)
  3. Use json!{} for nodes
  4. Connections: [node_id, port] arrays from (String, u32) tuples
  5. Register: pub mod x; + build_workflow() match arm in mod.rs
  6. SaveImage is appended in mod.rs, not per-template

WorkflowResult

rust
pub struct WorkflowResult {
    pub workflow: serde_json::Map<String, Value>,
    pub next_id: u32,
    pub image_output: (String, u32),
    pub model_source: (String, u32),
    pub clip_source: (String, u32),
    pub positive_source: (String, u32),
    pub negative_source: (String, u32),
    pub vae_source: (String, u32),
    /// KSampler node ID — needed to rewire ± after ControlNet injection.
    pub sampler_id: String,
}

Pipeline order (summary)

ModeFlow
txt2imgCheckpoint → LoRAs → VAE? → CLIP×2 → EmptyLatent → KSampler → VAEDecode
img2img… → LoadImage → VAEEncode → KSampler (denoise < 1) → VAEDecode
inpainting… → LoadImage + Mask → VAEEncodeForInpaint → KSampler → VAEDecode
upscale appendIMAGE → upscale → VAEEncodeTiled → KSampler → VAEDecodeTiled

finish_workflow chain (mod.rs)

Post-process steps append to the template's final IMAGE in this fixed order:

template image → upscale? → facefix? → segment refinement? → MooshieSaveImage

Seed offsets per step: seed+2 facefix, seed+3+i per <segment> tag. New chains pick an unused offset.

New template checklist

- [ ] src-tauri/src/templates/new_mode.rs
- [ ] pub fn build(params: &GenerationParams, seed: i64) -> WorkflowResult
- [ ] mod.rs: pub mod + build_workflow match
- [ ] cargo check --manifest-path src-tauri/Cargo.toml

Reference

ComfyUI node tables, connection syntax, append-chain pattern: reference.md

© Mooshieblob1, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/workflow-template-builder of Mooshieblob1/MooshieUI.

  • SKILL.md
  • reference.md

Open the folder on GitHubat commit a9cb043

Compare with similar skills

Workflow Template Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Workflow Template Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Workflow Template Builder this skillMooshieblob1/MooshieUI207—~640Automated safety check: PassAGPL-3.0
Imageguaardvark/guaardvark251—~1.8kAutomated safety check: PassMIT
Comfyui Skill OpenclawHuangYuChuh/ComfyUI_Skills_OpenClaw411—~2.7kAutomated safety check: PassApache-2.0
Setupguaardvark/guaardvark2511 repos~1.2kAutomated safety check: PassMIT
Iibzanllp/infinite-image-browsing1.4k—~3.3kAutomated safety check: PassMIT
Stable Diffusion with DiffusersOrchestra-Research/AI-Research-SKILLs13k6 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Image

    guaardvark/guaardvark

    Generate or edit images on the user's own GPU through Guaardvark: single images, instruction edits, background cut-outs, inpaint and outpaint, consistent characters from the Cast Library, and batch…

    251 GitHub stars~1.8k tokensUpdated today
    Media & CreativeAuto-check passed
  • Comfyui Skill Openclaw

    HuangYuChuh/ComfyUI_Skills_OpenClaw

    Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities.

    411 GitHub stars~2.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Setup

    guaardvark/guaardvark

    Connect this agent to a running Guaardvark (self-hosted AI studio) and check what it can do right now.

    251 GitHub starsUsed in 1 repo~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Iib

    zanllp/infinite-image-browsing

    Interact with IIB (Infinite Image Browsing) service for searching, browsing, tagging, and organizing AI-generated images.

    1.4k GitHub stars~3.3k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Stable Diffusion with Diffusers

    Orchestra-Research/AI-Research-SKILLs

    Generates and edits images with Stable Diffusion through Hugging Face Diffusers, covering text-to-image, image-to-image, inpainting, SDXL and custom pipelines.

    13k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check passed
  • Anima Base

    artokun/comfyui-mcp

    Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT).

    793 GitHub stars~4k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed

More from Mooshieblob1/MooshieUI

All 9 skills in this repo
  • Add Comfyui Node

    Mooshieblob1/MooshieUI

    Adds a custom ComfyUI Python node to MooshieUI — Python class in mooshienodes.py, Rust required-class registration, and optional workflow template chain hookup.

    207 GitHub stars~936 tokensUpdated 2 days ago
    Auto-check passed
  • Add Tauri Command

    Mooshieblob1/MooshieUI

    Adds a MooshieUI Tauri command end-to-end — Rust handler, lib.rs registration, and TypeScript ipcInvoke wrapper.

    207 GitHub stars~467 tokensUpdated 2 days ago
    Auto-check passed
  • Cleanup

    Mooshieblob1/MooshieUI

    Runs branch hygiene and bot PR comment triage without cutting a release.

    207 GitHub stars~808 tokensUpdated 2 days ago
    Auto-check passed
  • Quickrelease

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release quickly, skipping bot reviews, pre-commit-checks, and local build validation.

    207 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Release

    Mooshieblob1/MooshieUI

    Cuts a MooshieUI semver release — bumps three version files, updates changelog and release notes, validates build, opens release PR, merges, tags, and triggers Build & Release CI.

    207 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Push

    Mooshieblob1/MooshieUI

    Commits MooshieUI working-tree changes and lands them on main via a squash-merged PR without version bump or release tag.

    207 GitHub stars~947 tokensUpdated 2 days ago
    Auto-check: warnings

Questions about Workflow Template Builder

What does Workflow Template Builder do?

Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates). Workflow Template Builder is an agent skill from Mooshieblob1/MooshieUI. Builds or modifies ComfyUI workflow JSON templates in MooshieUI's Rust backend (src-tauri/src/templates).

When should I use Workflow Template Builder?

Workflow Template Builder fits situations like: new generation modes; upscale append chains; comfyUI workflow wiring.

How do I install Workflow Template Builder in Claude Code?

Run `npx skills add Mooshieblob1/MooshieUI --skill workflow-template-builder -a claude-code`. Or copy the skill folder (.agents/skills/workflow-template-builder in Mooshieblob1/MooshieUI) into .claude/skills/workflow-template-builder in your project. Claude Code loads it when a task matches its description.

How do I install Workflow Template Builder in Codex?

Run `npx skills add Mooshieblob1/MooshieUI --skill workflow-template-builder -a codex`. Or copy the skill folder (.agents/skills/workflow-template-builder in Mooshieblob1/MooshieUI) into .agents/skills/workflow-template-builder in your project. Codex loads it when a task matches its description.

Can I use Workflow Template Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mooshieblob1/MooshieUI --skill workflow-template-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workflow-template-builder, .gemini/skills/workflow-template-builder, .github/skills/workflow-template-builder and .opencode/skills/workflow-template-builder in your project.

What does Workflow Template Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: Workflow Template Builder is instructions for the agent only.

Does Workflow Template Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Workflow Template Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Workflow Template Builder use?

Workflow Template Builder is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Workflow Template Builder use?

About 640 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Workflow Template Builder?

Skills that share tags, products or a category with Workflow Template Builder: Image (guaardvark/guaardvark, 251 stars), Comfyui Skill Openclaw (HuangYuChuh/ComfyUI_Skills_OpenClaw, 411 stars), Setup (guaardvark/guaardvark, 251 stars) and Iib (zanllp/infinite-image-browsing, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Workflow Template Builder?

Mooshieblob1 (a GitHub user) maintains it in Mooshieblob1/MooshieUI, which has 207 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 5, 2026.

Source: Mooshieblob1/MooshieUI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.