Agent skill

Anima Random Gen

by ShiroEirin in ShiroEirin/comfyui-good-anima

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

GPL-3.0Auto-check passedMedia & Creative

Install Anima Random Gen

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

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

GitHub CLI
$ gh skill install ShiroEirin/comfyui-good-anima anima-random-gen --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/legacy/v1/anima-random-gen .claude/skills/anima-random-gen && 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
anima-random-gen
GitHub stars
481
Token cost
~1.2k tokens
SKILL.md length
248 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

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

  • Works in 10 steps: 先形成视觉简报和 prompt 语义草案,再做… → 质量前缀默认:masterpiece, very aesthetic, best… → 画师必须从 Anima CSV 画师池抽取并带 @;默认 1 个。 → …
  • Tasks that involve Diffusion and image models
  • SKILL.md covers 默认职责, 权威边界, 读取导航 and 随机检索入口, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Anima Random Gen is an agent skill from ShiroEirin/comfyui-good-anima. Generate randomized but Anima-compliant image parameters after comfyui-animatool confirms random-image generation intent. Produces validated artist, prompt fields, resolution, sampler, scheduler, CFG, and preview text.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Diffusion and image models and Image generation. It works with ComfyUI. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Diffusion and image models
  • Tasks that involve Image generation

Example prompts

  • “/anima-random-gen”

Workflow steps

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

  1. 先形成视觉简报和 prompt 语义草案,再做 canvas_fit,最后随机与回写构图。
  2. 质量前缀默认:masterpiece, very aesthetic, best quality, score_9, score_8, highres, absurdres, newest, year 2025, nsfw(安全标签默认 nsfw,用户可覆盖)。
  3. 画师必须从 Anima CSV 画师池抽取并带 @;默认 1 个。
  4. 用户明确要求画师串/多画师融合时,输出不带 @ 的 artist_chain;positive_prompt_preview 不重复包含这些画师标签。
  5. environment 放 2-6 个已确认的场景/光影 tag。
  6. nltags 用英文补足动作、空间、光影、材质和氛围;不要和 tags 冲突或者重复语义。
  7. 姿势、表情、服装要互相兼容;不要生成 lying + sitting、open mouth + closed mouth 这类冲突组合。
  8. 单人、头像、半身或角色表现图必须考虑脸部可读性,在 nltags 中保留简短控制句。
  9. 背景不是主体时,优先使用轻微背景虚化或 depth of field 分离主体;复杂背景图只控制景深落点。
  10. 默认采样参数:30 steps、CFG 4.5、dpmpp_2m_sde_gpu、beta57。

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

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

    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

Anima Random Gen loads about 1.2k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 248 words of instructions outside code blocks.

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

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). 248 words, ~1,193 tokens.

Download SKILL.mdSave it as .claude/skills/anima-random-gen/SKILL.md (or your agent's skills folder).
name
anima-random-gen
description
Generate randomized but Anima-compliant image parameters after comfyui-animatool confirms random-image generation intent. Produces validated artist, prompt fields, resolution, sampler, scheduler, CFG, and preview text.

Anima 随机图生成器

默认职责

本 skill 只在 comfyui-animatool 已确认随机生图意图后使用。它产出随机参数(画师、prompt、画布、采样参数),不直接生图。

权威边界

  • 画师池与 tag 锚点必须经过 danbooru-tags Rust CLI / Anima CSV 索引。
  • 本 skill 只产出随机参数;执行交给 comfyui-manager。

读取导航

需要处理的事读取
生成随机图参数继续读"随机前视觉简报"
输出字段说明跳到"输出字段"
随机规则与权重跳到"随机规则"
调用后检查清单跳到"调用后检查"

随机检索入口

随机画师与锚点确认必须调用 danbooru-tags.exe,并遵循 danbooru-tags skill 的执行入口、--batch-stdin 和随机数量规则:

powershell
.\bin\danbooru-tags.exe --random 5 --for-prompt --json --compact
.\bin\danbooru-tags.exe --random 20 --group clothing --json

只用 confirmed_tags,candidate_tags 必须按随机视觉简报筛选。缺失项交给 nltags,不要继续无限补查。

随机候选数量和 --for-prompt 语义遵循 danbooru-tags;候选池只供内部筛选,最终输出少量被选项。

随机前视觉简报

随机图不能只是随机抽 tag。生成随机参数前,先按 anima-composition-director 的方法确定主体、镜头、构图、光源、画布和 nltags_sentences,再随机画师与 hard anchors。

随机结果必须输出完整画面描述,禁止互不相关的标签池采样。

分辨率与构图回写

随机图也不要固定套默认竖图。先形成语义草案,再按 anima-composition-director 的 canvas fit 选择 width/height,最后把主体位置、景别、背景展开方向写回 nltags。

如果随机草案和画布不匹配,优先调整构图。1536x1536 只用于高信息量中心构图;简单头像、表情图、普通半身图使用 1024x1024。

输出字段

必须输出一组完整参数给 comfyui-animatool 复核:

字段说明
positive_prompt_preview最终正向预览,英文
quality_meta_year_safe质量/年份/安全标签
count人数
artist1 个 @artist name,最多 2 个
artist_chain仅显式画师串/多画师融合时输出;不带 @,例如 wlop, (sakimichan:1.2)
appearance外观硬锚点
tags已确认的服装/表情/姿势等硬锚点
environment已确认的场景/光影短 tag
nltags英文自然语言补充,可为短段落或多句
neg负面提示词
width / height根据 anima-composition-director 的 canvas_fit 选择;默认不主动推荐任一边超过 1536
steps默认 30
cfg默认 4.5
sampler_name默认 dpmpp_2m_sde_gpu
scheduler默认 beta57

随机规则

  1. 先形成视觉简报和 prompt 语义草案,再做 canvas_fit,最后随机与回写构图。
  2. 质量前缀默认:masterpiece, very aesthetic, best quality, score_9, score_8, highres, absurdres, newest, year 2025, nsfw(安全标签默认 nsfw,用户可覆盖)。
  3. 画师必须从 Anima CSV 画师池抽取并带 @;默认 1 个。
  4. 用户明确要求画师串/多画师融合时,输出不带 @ 的 artist_chain;positive_prompt_preview 不重复包含这些画师标签。
  5. environment 放 2-6 个已确认的场景/光影 tag。
  6. nltags 用英文补足动作、空间、光影、材质和氛围;不要和 tags 冲突或者重复语义。
  7. 姿势、表情、服装要互相兼容;不要生成 lying + sitting、open mouth + closed mouth 这类冲突组合。
  8. 单人、头像、半身或角色表现图必须考虑脸部可读性,在 nltags 中保留简短控制句。
  9. 背景不是主体时,优先使用轻微背景虚化或 depth of field 分离主体;复杂背景图只控制景深落点。
  10. 默认采样参数:30 steps、CFG 4.5、dpmpp_2m_sde_gpu、beta57。

权重规则

Anima 官方支持 prompt weighting,但小权重通常不明显;官方示例为 (chibi:2)。

  • 默认不要加权,先靠准确 tag、顺序和短句控制。
  • 只有用户明确要求强化/弱化,或某元素多次不稳定时才加权。
  • 从 (tag:2) 级别开始测试;不要默认使用 1.1–1.3 小权重。
  • 不要给角色名、画师名、安全标签和整段 nltags 默认加权。
  • 不要大面积加权,避免构图、肢体和细节污染。

调用后检查

comfyui-animatool 收到随机参数后必须检查:

  1. positive_prompt_preview 与字段一致。
  2. artist 为 @artist name;若有 artist_chain,确认它不带 @ 且普通 prompt 不重复包含多画师。
  3. quality_meta_year_safe 有安全标签。
  4. environment 与 nltags 分离且不冲突。
  5. steps=30、cfg=4.5、sampler_name=dpmpp_2m_sde_gpu、scheduler=beta57,除非用户指定覆盖。
  6. nltags 必须匹配最终 width/height:横图强调左右空间和背景展开,竖图强调主体纵向关系,方图强调中心构图。
  7. 单人、头像、半身或角色表现图必须保留脸部可读性控制;复杂背景不能遮挡主体脸部。

禁止

  • 禁止以纯 tag 串替代随机图参数。

  • 不要丢弃 nltags。

  • 不要把随机画师测试串整体作为画师输入。

  • 不要使用固定默认画师组合。

© 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

Just SKILL.md in legacy/v1/anima-random-gen of ShiroEirin/comfyui-good-anima.

Open the folder on GitHubat commit 77fba84

Compare with similar skills

Anima Random Gen 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.

Anima Random Gen compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Anima Random Gen this skillShiroEirin/comfyui-good-anima481—~1.2kAutomated safety check: PassGPL-3.0
ComfyUI Local DriverSlavaSexton/ComfyUI-Agent-Kit105—~12kAutomated safety check: PassApache-2.0
Iibzanllp/infinite-image-browsing1.4k—~3.3kAutomated safety check: PassMIT
9Router Image Generationdecolua/9router31k—~830Automated safety check: PassMIT
Character Refseternityspring/shuohao-skills4.3k—~1.7kAutomated safety check: WarnApache-2.0
RunninghubHM-RunningHub/OpenClaw_RH_Skills142—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • ComfyUI Local Driver

    SlavaSexton/ComfyUI-Agent-Kit

    Drives a local ComfyUI install over its HTTP API to generate and edit images, video and audio, with per-model prompt recipes and workflow guidance.

    105 GitHub stars~12k tokensUpdated 1 mo ago
    Media & CreativeAuto-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 today
    Media & CreativeAuto-check passed
  • Generates images through a 9Router gateway's image endpoint, with model discovery, the request fields and per-provider quirks for OpenAI, Gemini, MiniMax and others.

    31k GitHub stars~830 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Character Refs

    eternityspring/shuohao-skills

    给任何故事里的角色真出参考图(小说改编、自己原创的故事、单独设计一个角色都行,不需要小说原文): 一段话描述角色,拆成分层字段、补全后确认, 先出一张正面全身锚点,其余视图(大头照、90° 侧面、背面、细节、45° 大头照)都只参考这张锚点, 按需分档出图。每张图带标识、可单独重出,重出后自动标出哪些图过期。

    4.3k GitHub stars~1.7k tokensUpdated 2 days ago
    Media & CreativeAuto-check: warnings
  • Runninghub

    HM-RunningHub/OpenClaw_RH_Skills

    Generate images, videos, audio, and 3D models via RunningHub API (420 endpoints) and run any RunningHub AI Application (custom ComfyUI workflow) by webappId.

    142 GitHub stars~1.6k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Anima Base

    artokun/comfyui-mcp

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

    803 GitHub stars~4k tokensUpdated 5 days ago
    Media & CreativeAuto-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
  • Comfyui Manager

    ShiroEirin/comfyui-good-anima

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

    481 GitHub stars~1.4k 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 Anima Random Gen

What does Anima Random Gen do?

Generate randomized but Anima-compliant image parameters after comfyui-animatool confirms random-image generation intent. Anima Random Gen is an agent skill from ShiroEirin/comfyui-good-anima. Generate randomized but Anima-compliant image parameters after comfyui-animatool confirms random-image generation intent.

When should I use Anima Random Gen?

Anima Random Gen fits situations like: tasks that involve Diffusion and image models; tasks that involve Image generation.

How do I install Anima Random Gen in Claude Code?

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

How do I install Anima Random Gen in Codex?

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

Can I use Anima Random Gen 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 anima-random-gen -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anima-random-gen, .gemini/skills/anima-random-gen, .github/skills/anima-random-gen and .opencode/skills/anima-random-gen in your project.

What does Anima Random Gen need to run?

SKILL.md names no scripts, command-line tools or credentials: Anima Random Gen is instructions for the agent only.

Does Anima Random Gen 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 Anima Random Gen 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 Anima Random Gen use?

Anima Random Gen 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 Anima Random Gen use?

About 1.2k tokens (SKILL.md is roughly 4.8k 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 Anima Random Gen?

Skills that share tags, products or a category with Anima Random Gen: ComfyUI Local Driver (SlavaSexton/ComfyUI-Agent-Kit, 105 stars), Iib (zanllp/infinite-image-browsing, 1.4k stars), 9Router Image Generation (decolua/9router, 31k stars) and Character Refs (eternityspring/shuohao-skills, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Anima Random Gen?

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.