Image analyser

From event4u-app/agent-config · View interactive version

Image analyser is an AI agent skill from the GitHub repository event4u-app/agent-config. Use to analyse a character image down to the smallest mole and diff against a canon — per-feature spec, OCR-reads tattoo text, flags drift. Triggers 'analyse this image', 'match the canon'.

How to use this skill

Skill file

image-analyser

Read a character image, extract every feature (face marks, per-location

tattoos incl. lettered text, exact hair split, per-eye colour, jewelry,

asymmetry), and diff it against the character's canon so drift is caught

before it ships. Output feeds CODE0

and the fidelity loop. Schema + rubric + loop: CODE0.

When to use

character accuracy", "find what's wrong with this render".

over the text*).

NOT for: scene/motion review (→ video-director), non-character art

(→ canvas-design), cross-scene token locking (→ character-consistency,

which consumes this skill's output).

Input

agents/reference/ai-video/<project>/characters/<id>.json) to diff against.

/ unreadable inputs with a clear reason rather than guessing.

Procedure

  1. Read the image. A vision-capable model views it directly. No new

dependency; if a cloud-vision/OCR backend is wanted, ask first

(missing-tool-handling).

  1. Section-by-section extraction (the "down to the smallest mole" pass) —

one pass per section: physique, face (+ marks/scars/moles), hair

(colour, split line, length, braids, shaved areas), eyes (per-eye colour,

heterochromia, ring, kohl), tattoos (per body location: motif, style,

and text if lettered), jewelry, outfit, cross-feature asymmetry.

  1. OCR sub-pass for lettered tattoos — read runic/block text exactly

(knuckle runes, S-U-S-I, scalp runes, mic glyph), never approximate.

  1. Hard-feature enhancement — for a faint mole, an unclear hair-split line,

or heterochromia in shadow: re-pass on a crop/zoom of that region before

marking it. Only then mark genuinely unresolvable features unverifiable.

  1. Emit the observation layer (Layer 2 in canon-spec.md): observed value

lives here, never written back onto the canon (Layer 1).

  1. If a reference is given — diff + score per the rubric: per-feature

match|partial|miss, the canon-breaking hard gate, per-section scores,

advisory roll-up, and low-confidence misses flagged needs-better-image

(not a hard fail). Emit concrete correction directives per miss.

The one rule that overrides everything

The image wins over the text. When extracting from an authoritative portrait

and the canon text disagrees, record what is visible. When verifying a

candidate against the canon, the canon's identity is the truth. Never invent a

feature the image does not show (per direct-answers — no invented facts); mark

it unverifiable instead.

Output format

  1. Observation JSON (Layer 2) — observed features + per-feature confidence + unverifiable[].
  2. Diff table (only if a reference was given): feature · severity · expected · observed · verdict (match/partial/miss) · confidence · fix.
  3. Verdict line: GATE: pass|FAIL (canon-breaking misses: …) + per-section scores + advisory roll-up.

Example (safe vs unsafe)

Gotchas

per-section, not one number.

the left/right invariant explicitly for the Loki-marked character.

Do NOT

unresolvable, mark it unverifiable (per direct-answers, no invented facts).

are the analyser's epistemic state (Layer 2) and never mutate the truth layer.

canon-breaking hair/eye miss; scores stay per-section with a hard gate.

media-governance-routing first.

Policies

Character images can carry a real person's likeness. Before analysing a

real-person likeness, route through media-governance-routing and consult

agents/settings/policies/media/likeness.md + public-figures.md. Fictional

characters (e.g. the odins-beard trio) are exempt; the routing decision is the

agent's, in-session.

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.