Skip to content
Back to skills

Character Visual Lock

ASecurity

Use when generating images of the same character more than once and they must look like the same person - recurring cast, mascots, book covers in a series, comic panels, game sprites, brand characters. Triggers include "keep this character consistent", "the face changed between renders", "same character different image", "character sheet", "lock the design", "why does she look different here". Produces a five-part lock (silhouette, hex palette, face, wardrobe, one tie-breaker mark) plus a man...

  • 51 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgonode

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add frankxai/claude-skills-library --skill character-visual-lock --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Character Visual Lock?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Character Visual Lock
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/frankxai-character-visual-lock/badge)](https://www.skillsdirectory.com/skills/frankxai-character-visual-lock)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: character-visual-lock
description: Use when generating images of the same character more than once and they must look like the same person - recurring cast, mascots, book covers in a series, comic panels, game sprites, brand characters. Triggers include "keep this character consistent", "the face changed between renders", "same character different image", "character sheet", "lock the design", "why does she look different here". Produces a five-part lock (silhouette, hex palette, face, wardrobe, one tie-breaker mark) plus a mandatory forbidden list, and validates it before any generation is spent.
---

# Character Visual Lock

Generated images drift. Ask for the same character twice and you get two people who share a
description and nothing else. The usual cause is not the model — it is the brief. Prose like
"warm tones" and "elegant" cannot hold an identity across generations; it is an adjective, not
a constraint.

A visual lock is the smallest set of facts that makes two images the same person. Five parts,
plus a list of what must never appear.

## When to use this

- A character appears in more than one image, cover, panel, sprite or thumbnail.
- A previous render "looked wrong" and you cannot say why in one sentence.
- You are about to spend money on a set of generations.
- You are writing the brief for someone else to generate.

Do **not** use this for one-off illustrations where the character will never recur. The lock
costs about ten minutes and only pays back on the second image.

## The five parts

Every lock fixes exactly these. Nothing outside them is fixed, and nothing inside may drift.

**1. Silhouette** — one sentence describing the outline in shadow. This is how the character
reads at thumbnail size, which is where most images are actually seen. If you cannot tell them
apart from another character in pure black, the lock is not finished.

**2. Palette — seven hex values minimum.** Not adjectives. `#8a4b12`, never "warm brown".
Seven is the floor because a character needs skin, hair, primary garment, secondary garment,
one accent, one metal or hardware, and one effect or glow colour. Fewer than seven and the
model fills the gaps with its own taste, which is the taste of the internet's average.

Each entry records the phrase it came from, so the derivation stays auditable:

```yaml
- hex: "#8a4b12"
  from: "deep amber eyes"
  used_for: iris at rest
```

**3. Face** — eyes, hair, skin, in concrete terms. "Dark amber, nearly gold" beats "warm eyes".

**4. Wardrobe** — the default state, not the formal one. Most images show the default.

**5. Mark** — the single tie-breaker detail. A scar in a specific place, a ring, a chip in a
tooth, a tattoo, a missing designation, scale patches, a permanent glow. This is what makes a
viewer *certain* two images are the same person when everything else changed.

The best marks are asymmetrical and slightly odd. A symmetric face is generic; a scar through
one eyebrow is a person.

## The forbidden list is not optional

A lock without a refusal list drifts within about five generations. Record what must never
appear:

- the drift you have already seen (loose hair when it is always tied, a clean ring when it is
  scratched, smiling when the character never smiles)
- anything the model adds by default that contradicts the character (halos, auras, armour,
  modern clothing, youth, symmetry)
- one "off-brand" guard for the setting

Three entries is the floor. Six is normal.

## Procedure

1. **Write the lock before generating anything.** Ten minutes here saves a set of bad renders.
2. **Validate it.** `node scripts/validate-lock.mjs <lock.yaml>` — or by hand against the
   checklist below. Fix what it refuses.
3. **Generate the reference sheet first**, not the illustration: 3/4 portrait, full body,
   silhouette test, palette swatch, mark close-up. That sheet is the asset.
4. **Attach the sheet as reference images** to every later generation (two minimum). A lock
   without reference images holds text, not identity.
5. **Check three substitutions after each render**: hair state, the mark, and any conditional
   effect. These account for most drift.

## Checklist before you spend a credit

- [ ] Silhouette readable in pure black
- [ ] Seven or more hex values, each with the phrase it came from
- [ ] No adjective anywhere a hex belongs
- [ ] Face described concretely, not flatteringly
- [ ] Wardrobe in the default state
- [ ] One mark, asymmetrical, specific
- [ ] Forbidden list has at least three real refusals
- [ ] Conditional effects named as conditional (eyes only change when X happens)
- [ ] Two reference images exist

## What good and bad look like

| Bad | Why | Good |
| --- | --- | --- |
| "warm brown skin" | an adjective, drifts | `#8a5a2b` |
| "elegant coat" | unmeasurable | "high-collar dark coat, minimal ornamentation, alloy clasps" |
| "beautiful, striking" | the model's taste, not yours | "gold-thread scar from left jaw to collarbone" |
| "glowing eyes" | always on, loses meaning | "gold lattice at the iris edge only while the ability is active" |
| "no hair out of place" | unclear | "hair in a severe knot; never loose in frame" |

## Where this fits with other skills

- `acos-visual-gen` and `canvas-design` decide *what* to make. This decides *who* it is.
- `brand-voice` does for words what this does for faces: it makes one thing recognisable
  across many artefacts.

## References

- [`references/TEMPLATE.yaml`](references/TEMPLATE.yaml) — empty lock to copy
- [`references/example.yaml`](references/example.yaml) — a filled lock, with a real mark

Files in this skill

  • SKILL.md5.5 KB
  • references/TEMPLATE.yaml1.9 KB
  • references/example.yaml2 KB
  • scripts/validate-lock.mjs2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.