character-refs
Skill by eternityspring
Generates consistent reference images for story characters from a one-paragraph description. Suited to novel adaptations, original stories, or a single designed character. Outputs asset.json, a set of PNG files and an HTML report.
Install character-refs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/eternityspring/shuohao-skills /tmp/shuohao-skills && mkdir -p ~/.claude/skills && cp -r /tmp/shuohao-skills/skills/character-refs ~/.claude/skills/character-refsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/eternityspring/shuohao-skills /tmp/shuohao-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/shuohao-skills/skills/character-refs ~/.gemini/antigravity-cli/skills/character-refsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
character-refs is an agent skill that turns a short description of a character into a set of reference images. The user describes the character in one paragraph, and the assistant splits it into layered fields and asks for confirmation. It then generates one front full-body anchor image. The other views, including a close-up, 90 degree side, back, detail shots and an optional 45 degree close-up, are built only from that anchor. Each image is labeled and can be regenerated on its own. When an anchor or description changes, dependent images are marked as stale, and old versions are kept.
It supports Qwen Image through ComfyUI, codex built-in image generation, the OpenAI Images API (GPT Image 2) and custom commands. The main image and derived images can use different models. Output is asset.json, PNG files and an HTML report that opens by double-click. The skill uses only the Node.js standard library, so it has no npm dependencies. It is aimed at people who need character sheets for novels, original stories or video reference inputs.
Written from the project's SKILL.md and checked against it.
What it can do
- Character intakeSplits a one-paragraph description into layered fields and asks the user to confirm them before generating.
- Anchor imageGenerates one front full-body image as the root that every other view references.
- View tiersOffers close-up, 90 degree side, back, detail and optional 45 degree close-up views, chosen by tier.
- Single-image regenerationRegenerates one image on its own and marks dependent images as stale without deleting old versions.
- Model choiceWorks with Qwen Image via ComfyUI, codex built-in generation, the OpenAI Images API or a custom command.
- Quality checksChecks each image for size, aspect ratio, file size, background whiteness and matching proportions.
- Style presetsIncludes an anime default and a realistic photo preset, and allows custom styles.
What you need
- Node.js 18 or later
- A ComfyUI server for the Qwen model, with COMFY_URL set
- ChatGPT subscription quota for codex built-in generation
- OpenAI API key for the OpenAI Images API
Try asking
- Make a character reference sheet for my original hero from this description.
- Generate only the front full-body anchor image for this novel character.
- Regenerate the neck detail for character E03 using codex.
Good to know
- The OpenAI adapter was tested only against a local fake server, not with a real API key.
- Codex generation uses ChatGPT subscription quota and takes 80 to 160 seconds per image.
- Custom style presets have not been tested; check the anchor image first.
- Known weak spots include small scars that can look like new wounds and Qwen neck details that can look like velvet.
Security check
B- Allowed to use Write, Bash without limitsIn
SKILL.md
Checked automatically: skills/character-refs/SKILL.md, skills/character-refs/scripts/character-refs.mjs, skills/character-refs/scripts/core.mjs, skills/character-refs/scripts/i18n.mjs, skills/character-refs/scripts/looks.mjs, skills/character-refs/scripts/models.mjs, skills/character-refs/scripts/png.mjs, skills/character-refs/scripts/selftest.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteBash
-
README.en.md7 KB -
README.md8 KB -
SKILL.md13 KB -
assets/report.webp93 KB -
examples/阿禾-intake.json3 KB
Show all 17 files
-
examples/阿禾-描述.txt324 B -
references/intake.md6 KB -
references/models.md5 KB -
references/prompting.md8 KB -
references/schema.md4 KB -
scripts/character-refs.mjs34 KB -
scripts/core.mjs32 KB -
scripts/i18n.mjs11 KB -
scripts/looks.mjs5 KB -
scripts/models.mjs19 KB -
scripts/png.mjs7 KB -
scripts/selftest.mjs39 KB
Alternatives to character-refs
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
character-refs: common questions
Does it need the original novel text?
No. The source says it works for novel adaptations, original stories, or a single character designed from scratch.
Can the anchor and other views use different models?
Yes. The main and derived images can use different models, and a single image can be regenerated with another model.
What files does it produce?
It produces asset.json, a set of PNG files and an HTML report that opens by double-click.
How do I install character-refs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is character-refs free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is character-refs safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, bash without limits). Review the code before you install. How grades work.
What are alternatives to character-refs?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
