Agent skill

Comfyui Manager

by ShiroEirin in ShiroEirin/comfyui-good-anima

Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue.

GPL-3.0Auto-check passedAI & LLM Engineering

Install Comfyui Manager

skills CLI
$ npx skills add ShiroEirin/comfyui-good-anima --skill comfyui-manager -a claude-code

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

GitHub CLI
$ gh skill install ShiroEirin/comfyui-good-anima comfyui-manager --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/ShiroEirin/comfyui-good-anima.git skills-src && mkdir -p .claude/skills && cp -r skills-src/comfyui-manager .claude/skills/comfyui-manager && 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
comfyui-manager
GitHub stars
481
Token cost
~1.4k tokens
SKILL.md length
316 words
Files
22
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue.

  • Works in 10 steps: 工作目录 → 执行前置 → Workflow → …
  • Tasks that involve Diffusion and image models
  • SKILL.md covers Hard Constraints, 1. 工作目录, 2. 执行前置 and 3. Workflow, plus 8 more sections
  • Runs JavaScript scripts from its folder; calls node

What it does

Comfyui Manager is an agent skill from ShiroEirin/comfyui-good-anima. Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue. Never write prompt, never choose artist, never decide composition.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 27 other files (for example `workspace/cache_anima_outputs.js`, `workspace/config.json` and `workspace/data/anima-txt2img-aesthetic-lora-artist-mixer.json`).

It sits in AI & LLM Engineering, covering Diffusion and image models. It works with ComfyUI. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Diffusion and image models

Example prompts

  • “/comfyui-manager”

Requirements

  • Node.js

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. 工作目录
  2. 执行前置
  3. Workflow
  4. 执行模式
  5. Args 格式
  6. JSON 规则
  7. 批量
  8. 排障
  9. 缓存输出
  10. 文件名规则

What it can do on your machine

Read from SKILL.md and the folder at commit 77fba84. 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

    Ships script files (JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    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

Comfyui Manager loads about 1.4k tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 316 words of instructions outside code blocks.

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

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 ShiroEirin/comfyui-good-anima at commit 77fba84, republished under its GPL-3.0 licence (© ShiroEirin). 316 words, ~1,397 tokens.

Download SKILL.mdSave it as .claude/skills/comfyui-manager/SKILL.md (or your agent's skills folder). This skill also uses 21 other files; get the full folder from GitHub.
name
comfyui-manager
description
Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue. Never write prompt, never choose artist, never decide composition.

comfyui-manager

Hard Constraints

  • Always execute only workflow_id + complete args from comfyui-animatool.
  • Never write or rewrite prompt_11 or prompt_12.
  • Never choose artist, composition, canvas, steps, or filename_prefix.
  • Never use run when user only asked to submit.
  • Never poll or cache outputs unless user explicitly asks.
  • Never pass fls_* unless fixing a failed output or the user explicitly asks.

1. 工作目录

powershell
$SKILLS_ROOT = $env:COMFYUI_GOOD_ANIMA_SKILLS_DIR
if (-not $SKILLS_ROOT) { throw "COMFYUI_GOOD_ANIMA_SKILLS_DIR is required" }
$WORKSPACE = Join-Path $SKILLS_ROOT "comfyui-manager/workspace"
$RUNTIME_ROOT = Join-Path (Split-Path -Parent $SKILLS_ROOT) "runtime"
$RUNTIME = Join-Path $RUNTIME_ROOT "comfyui-manager"
Set-Location -LiteralPath $WORKSPACE
$env:COMFYUI_MANAGER_RUNTIME_DIR = $RUNTIME
New-Item -ItemType Directory -Force -Path $RUNTIME | Out-Null
New-Item -ItemType Directory -Force -Path (Join-Path $RUNTIME "args") | Out-Null
  • Runtime 写到 skills 父目录的 runtime/comfyui-manager/。
  • 不写回 skill 源目录。
  • 无法确定路径时停止。

2. 执行前置

Only execute when ALL conditions met:

  1. 已有 workflow_id
  2. 已有 prompt_11(非空)
  3. 已有 prompt_12(非空)
  4. 已有 width
  5. 已有 height
  6. 已有 batch_size
  7. 已有 steps
  8. seed 可省略;省略时 run_workflow_args.js 自动生成随机整数并写回实际 args
  9. 已有 rtx_vsr_quality
  10. 已有 filename_prefix

缺任一 → 停止,要求补齐。不补写 prompt,不自选画师/构图/steps/画布。

3. Workflow

workflow用途
local/anima-txt2img-aesthetic-lora默认双 LoRA 文生图
local/anima-txt2img-aesthetic-lora-artist-mixer画师融合(artist_chain)
local/anima-txt2img-base裸模型、对比测试、排障

不要根据文件名猜 workflow。用 animatool 准备好的 workflow_id。

4. 执行模式

submit(默认,非阻塞)
powershell
Push-Location "$WORKSPACE"
$result = node ./run_workflow_args.js submit local/anima-txt2img-aesthetic-lora "$RUNTIME/args/args_anima.json" | ConvertFrom-Json
Pop-Location

返回:prompt_id, args 路径, filename_prefix。停止,不自动轮询。

run(用户明确要求等待/看图时)
powershell
node ./run_workflow_args.js run local/anima-txt2img-aesthetic-lora "$RUNTIME/args/args_anima.json"
validate
powershell
node ./run_workflow_args.js validate local/anima-txt2img-aesthetic-lora "$RUNTIME/args/args_anima.json"

验证失败 → 停止,不提交。

5. Args 格式

纯参数对象,不包 workflow 外壳:

json
{
  "prompt_11": "...positive...",
  "prompt_12": "...negative...",
  "width": 1024,
  "height": 1536,
  "batch_size": 1,
  "steps": 30,
  "rtx_vsr_quality": "ULTRA",
  "filename_prefix": "anima/%year%-%month%-%day%/anima_base_v1_0-none-character"
}

参数边界:

  • 只检查字段是否符合 schema,不解释语义。
  • seed 缺省时,run_workflow_args.js 会补 1~4294967295 的随机整数并写回 args 文件;传入 seed 时原值固定不改。
  • artist_chain 只允许 Artist Mixer workflow。
  • 默认不传 rtx_vsr_scale。
  • rtx_vsr_quality: LOW / MEDIUM / HIGH / ULTRA。
  • teacache_version: v1 (Legacy Fast) 或 v2 (Standard Precise),不写短的 v1 / v2。
  • FLSampler / TeaCache / AnimaBoosterLoader 高级字段默认不传。

FLSampler 排障:

  • 普通生图不传 fls_*。
  • 失败后一次只调一个 fls_*。
  • 主体发糊:小幅提高 fls_sharpness。
  • 纹理不足:小幅提高 fls_fovea_strength。
  • 过锐、噪点、伪影:降低 fls_sharpness 或 fls_fovea_strength。
  • 焦点跳动、局部忽清忽糊:提高 fls_mask_inertia。
  • 调参后必须重新 validate。

6. JSON 规则

必须 UTF-8 without BOM:

powershell
function Write-JsonForCli($Path, $Value) {
  $json = $Value | ConvertTo-Json -Depth 30
  [System.IO.File]::WriteAllText($Path, $json, [System.Text.UTF8Encoding]::new($false))
}

Windows PowerShell 5.x 不要用 Set-Content -Encoding utf8。

7. 批量

  • 同一 prompt 多变体:batch_size=N,提交一次。
  • 多 prompt:每个单独 submit。
  • 批量提交后只返回编号、简短主题、prompt_id、args 路径。

8. 排障

连接失败 / connection refused / timeout
powershell
comfyui-skill --json --dir "$WORKSPACE" server status
400 / Bad Request
  1. 先 validate
  2. 再 deps check
  3. 检查 node_errors
  4. 核对 enum: teacache_version, rtx_vsr_quality
  5. 核对核心字段
缺模型 / value_not_in_list
powershell
comfyui-skill --json --dir "$WORKSPACE" models list diffusion_models
comfyui-skill --json --dir "$WORKSPACE" models list text_encoders
comfyui-skill --json --dir "$WORKSPACE" models list vae
comfyui-skill --json --dir "$WORKSPACE" models list loras

核对:AnimaBoosterLoader.model_name, CLIPLoader.clip_name, VAELoader.vae_name, LoraLoaderModelOnly.lora_name

模型文件参考:

  • anima-base-v1.0.safetensors → diffusion_models/
  • qwen_3_06b_base.safetensors → text_encoders/
  • qwen_image_vae.safetensors → vae/
  • anima-highres-aesthetic-boost.safetensors → loras/
  • anima-base-1-masterpiece-v51.safetensors → loras/
缺自定义节点
powershell
comfyui-skill --json --dir "$WORKSPACE" deps check local/anima-txt2img-aesthetic-lora
  • 默认 workflow 使用 FLS_SamplerV4 + beta57。
  • 缺 FLSampler、RES4LYF、sampler 或 scheduler 依赖时停止。
  • 不用 prompt 修改补救 workflow 依赖缺失。

9. 缓存输出

只在用户要求看图 / 补缓存 / 整理批量结果时:

powershell
node cache_anima_outputs.js --workflow-id local/anima-txt2img-aesthetic-lora

批量:使用 manifest。

10. 文件名规则

anima/%year%-%month%-%day%/<model>-<artist|none>-<subject>

  • model: anima_base_v1_0(按 workflow base model,不按 LoRA 名)。
  • ComfyUI 自动追加 _00001_ 等序号,不手写。

按需参考

服务器管理、排障与非 Anima 生图操作,参见本文件第 8 节「排障」。本 skill 不依赖外部 references 文件。

© ShiroEirin, GPL-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 21 other files in comfyui-manager of ShiroEirin/comfyui-good-anima.

  • SKILL.md
  • workspace/cache_anima_outputs.js
  • workspace/config.json
  • workspace/data/anima-txt2img-aesthetic-lora-artist-mixer.json
  • workspace/data/anima-txt2img-aesthetic-lora-enhancer.json
  • workspace/data/anima-txt2img-aesthetic-lora-fixed.json
  • workspace/data/anima-txt2img-aesthetic-lora.json
  • workspace/data/anima-txt2img-base.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-artist-mixer/schema.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-artist-mixer/workflow.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-enhancer/schema.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-enhancer/workflow.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-fixed/schema.json
  • workspace/data/local/anima-txt2img-aesthetic-lora-fixed/workflow.json
  • workspace/data/local/anima-txt2img-aesthetic-lora
  • … and 7 more

Open the folder on GitHubat commit 77fba84

Compare with similar skills

Comfyui Manager 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.

Comfyui Manager compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Comfyui Manager this skillShiroEirin/comfyui-good-anima481—~1.4kAutomated safety check: PassGPL-3.0
Comfyui Agent Skill MieMieMieeeee/comfyui-agent-skill116—~3.9kAutomated safety check: PassApache-2.0
Importing SubgraphsComfy-Org/workflow_templates1.3k—~1.5kAutomated safety check: PassMIT
Comfyui Node Addernixified-ai/flake841—~806Automated safety check: PassAGPL-3.0
Managing BundlesComfy-Org/workflow_templates1.3k—~1.2kAutomated safety check: PassMIT
Headroommomori777/Artemis378—~562Automated safety check: PassMIT

Similar skills

  • Comfyui Agent Skill Mie

    MieMieeeee/comfyui-agent-skill

    Agent skill for running registered ComfyUI workflows through a stable CLI, and for importing a user's own ComfyUI workflow into their private registry after review.

    116 GitHub stars~3.9k tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check passed
  • Importing Subgraphs

    Comfy-Org/workflow_templates

    Imports and registers subgraph blueprints into the ComfyUI workflowtemplates repository.

    1.3k GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Comfyui Node Adder

    nixified-ai/flake

    Adds new custom nodes to the ComfyUI Nix project, including npins fetching, dependency resolution in package.nix, disabling impure pip installs, and verifying the Nix build.

    841 GitHub stars~806 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Managing Bundles

    Comfy-Org/workflow_templates

    Manages template bundles, categories, and ordering in the ComfyUI template repository.

    1.3k GitHub stars~1.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Headroom

    momori777/Artemis

    SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens.

    378 GitHub stars~562 tokensUpdated 9 days ago
    AI & LLM EngineeringAuto-check passed
  • Add Comfy Workflow Template

    peteromallet/VibeComfy

    Add a durable VibeComfy ready workflow/template from a ComfyUI source workflow.

    150 GitHub stars~700 tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed

More from ShiroEirin/comfyui-good-anima

All 8 skills in this repo
  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    Route ALL Anima image generation: validate Danbooru hard anchors, form visual brief, assemble English prompts and args, then load comfyui-manager for workflow execution.

    481 GitHub stars~4.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Comfyui Animatool

    ShiroEirin/comfyui-good-anima

    A skill your agent uses for Anima / ComfyUI-AnimaTool image generation.

    481 GitHub stars~3.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Danbooru Tags

    ShiroEirin/comfyui-good-anima

    Search and validate Anima-compatible Danbooru tags, artists, characters, series, appearance, clothing, pose, scene, lighting, and prompt anchors.

    481 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Anima Composition Director

    ShiroEirin/comfyui-good-anima

    Convert Anima image-generation intent, tags, references, or rough prompts into concrete composition decisions.

    481 GitHub stars~2.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Anima Random Gen

    ShiroEirin/comfyui-good-anima

    Generate randomized but Anima-compliant image parameters after comfyui-animatool confirms random-image generation intent.

    481 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Danbooru Tags

    ShiroEirin/comfyui-good-anima

    Validate Danbooru hard anchors for Anima generation: artists, characters, series/IP, appearance, clothing, props, poses, expressions, scenes, and random candidates.

    481 GitHub stars~1.5k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Comfyui Manager

What does Comfyui Manager do?

Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue. Comfyui Manager is an agent skill from ShiroEirin/comfyui-good-anima. Execute prepared ComfyUI workflows — submit/run/validate Anima args, check server/model/deps, manage queue.

When should I use Comfyui Manager?

Comfyui Manager fits situations like: tasks that involve Diffusion and image models.

How do I install Comfyui Manager in Claude Code?

Run `npx skills add ShiroEirin/comfyui-good-anima --skill comfyui-manager -a claude-code`. Or copy the skill folder (comfyui-manager in ShiroEirin/comfyui-good-anima) into .claude/skills/comfyui-manager in your project. Claude Code loads it when a task matches its description.

How do I install Comfyui Manager in Codex?

Run `npx skills add ShiroEirin/comfyui-good-anima --skill comfyui-manager -a codex`. Or copy the skill folder (comfyui-manager in ShiroEirin/comfyui-good-anima) into .agents/skills/comfyui-manager in your project. Codex loads it when a task matches its description.

Can I use Comfyui Manager 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 ShiroEirin/comfyui-good-anima --skill comfyui-manager -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/comfyui-manager, .gemini/skills/comfyui-manager, .github/skills/comfyui-manager and .opencode/skills/comfyui-manager in your project.

What does Comfyui Manager need to run?

Going by SKILL.md and its folder, Comfyui Manager needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Comfyui Manager 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 Comfyui Manager 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 Comfyui Manager use?

Comfyui Manager is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Comfyui Manager use?

About 1.4k tokens (SKILL.md is roughly 5.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 Comfyui Manager?

Skills that share tags, products or a category with Comfyui Manager: Comfyui Agent Skill Mie (MieMieeeee/comfyui-agent-skill, 116 stars), Importing Subgraphs (Comfy-Org/workflow_templates, 1.3k stars), Comfyui Node Adder (nixified-ai/flake, 841 stars) and Managing Bundles (Comfy-Org/workflow_templates, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Comfyui Manager?

ShiroEirin (a GitHub user) maintains it in ShiroEirin/comfyui-good-anima, which has 481 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on June 15, 2026.

Source: ShiroEirin/comfyui-good-anima on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.