Expand npc-visualization with progression-first production guidance

What changed: updated SKILL and workflow docs to support both named NPC and pool production modes, added in-flight rerender retrofit guidance, and introduced a new craftsmen-progression-locks reference covering crafting/adornment ladders plus hospitality and healthcare progression frameworks.\n\nWhy: recent rerender waves need stricter, reusable progression constraints so tiers read clearly in goods, service quality, and environments across both pool and named-location outputs.
This commit is contained in:
Dolon (Agent)
2026-04-02 19:40:19 +00:00
parent 84a7ff2137
commit aac08856ba
3 changed files with 321 additions and 81 deletions
+22 -23
View File
@@ -1,38 +1,37 @@
---
name: npc-visualization
description: Generate non‑nudity Norse‑themed NPC visuals using a reference‑first workflow. Use when asked to create photorealistic medieval Norse NPC images with stable identity/outfit references before final interaction‑framed renders.
description: Generate non-nudity Norse-themed NPC visuals for both pool batches and named/specific NPCs. Use for reference-first identity locking, interaction-framed final renders, and profession/trade rerenders where goods-quality progression across wealth tiers must be visible (e.g., armorers, bladesmiths, bowyers, fletchers).
---
# NPC Visualization
## Overview
Create **stable reference visuals first**, then produce final interaction‑framed NPC portraits and ambience/location‑context renders. This skill is **non‑nudity** focused and enforces Norse/anti‑modern style constraints.
Create non-nudity, photorealistic medieval Norse NPC visuals with anti-modern constraints.
Use this skill for both:
- **Pool NPC batches** (high-volume, retrieval-first production)
- **Named/specific NPCs** (identity-lock/reference-first production)
## Quick start
1) Read **references/workflow.md** for the full workflow, gates, and storage layout.
2) Default model: **grok‑imagine‑image** (users may override).
3) **Reference images (face/body)** should use **grok‑imagine‑image‑pro** by default for fidelity.
4) Generate **reference set** first; wait for human keeper selection before any final renders.
1) Read **references/workflow.md**.
2) If task is crafts/trade-oriented, read **references/craftsmen-progression-locks.md**.
3) Default render model: **grok-imagine-image** (user can override).
4) For named/specific NPC identity references (face/body): default to **grok-imagine-image-pro**.
## Workflow (summary)
1) **Reference set** (neutral framing)
- Build consistent **face/body/outfit** reference images per NPC.
- **Face refs:** default to **split‑and‑stitch** (left/front/right generated separately → stitched) to prevent mirrored right‑view errors.
- **Minors:** body refs must be **fully clothed** (modest medieval attire).
- **Outfits:** use **body + face refs** as inputs to lock identity.
- Add `npc.json` profile file (identity, role, visual traits, refs).
- No interaction framing yet; focus on identity + materials + lighting consistency.
2) **Gate: human selects keeper references**
3) **Final renders**
- **NPCs:** interaction framing (subject faces camera), 16:9, photorealistic.
- **Ambience/contexts:** keep the chosen reference style (key locations handled in a separate skill).
## Workflow summary
1) Choose mode:
- **Named/specific NPC:** run full reference-first flow (face/body/outfit keepers before final renders).
- **Pool batch:** prioritize in-shop readability, category/tier progression, and roster diversity.
2) Enforce style defaults (Norse, medieval, photorealistic, anti-modern, 16:9).
3) For crafts/trades, make progression visible in the **goods themselves** (not only room quality).
4) Keep interaction framing for final player-facing portraits.
## Style constraints (defaults)
- **Norse, medieval, photorealistic**, 16:9.
- **Anti‑modern:** no electric/fluorescent lighting, no modern fixtures/fabrics.
- **Interaction framing** only for final images (not for references).
- Norse, medieval, photorealistic, 16:9.
- No electric/fluorescent/modern artifacts.
- No modern fabrics/cuts/signage/UI.
## Resources
### references/
- **references/workflow.md** — full workflow, gates, storage layout, and quality checks.
- **references/wealth-tiers-10-70-signals.md** — wealth ladder (`10-Village`…`70-Elite`, optional `80/90`) plus overlay system (settlement scale, security, condition, and optional modifiers) for scene tuning.
- **references/workflow.md** — core workflow, mode selection, gates, storage layout.
- **references/wealth-tiers-10-70-signals.md** — wealth ladder + overlay system.
- **references/craftsmen-progression-locks.md** — progression locks for craftsmen/trade rerenders plus service-category progression frameworks (crafting baselines, adornment ladders, and Food/Hospitality + Healthcare progression guidance).
+230
View File
@@ -0,0 +1,230 @@
# Craftsmen Progression Locks (Pool + Specific NPCs)
Use this file whenever a non-nudity crafts/trade render or rerender needs stronger tier readability.
## 1) Global progression rules (all craftsmen)
Apply these to both pool batches and named/specific NPC scenes:
1. **In-shop visit context is mandatory**
- for-sale inventory clearly visible
- repair intake/queue visible
- trade tools/materials visible
2. **Comfortable+ staffing lock**
- Comfortable: assistants/apprentices visible in background
- Wealthy/Elite: multiple assistants clearly in-frame
3. **Tools/stations progression lock**
- rough/limited -> refined/redundant -> bespoke/master tools
4. **Display progression lock**
- rough racks -> organized counters -> curated boutique/gallery presentation
5. **Goods-first lock**
- tier progression must be visible in the **goods themselves**, not only decor
6. **Clothing progression lock**
- Village/Poor: patched/frayed workwear
- Modest/Comfortable: whole, clean, practical garments
- Prosperous+: visibly finer weaves, tailoring, trim, and premium materials
## 2) Canonical progression sheets (Northlands)
- Armorer: `/home/rick/.openclaw/workspace/northlands/armorer-quality-progression.md`
- Bladesmith: `/home/rick/.openclaw/workspace/northlands/bladesmith-quality-progression.md`
- Bowyer: `/home/rick/.openclaw/workspace/northlands/bowyer-quality-progression.md`
- Fletcher: `/home/rick/.openclaw/workspace/northlands/fletcher-quality-progression.md`
- Blacksmith: `/home/rick/.openclaw/workspace/northlands/blacksmith-quality-progression.md`
- Leather/Wood/Textiles block: `/home/rick/.openclaw/workspace/northlands/leather-wood-textiles-quality-progression.md`
- Precision & Luxury block: `/home/rick/.openclaw/workspace/northlands/precision-luxury-quality-progression.md`
- Stonemason exception: `/home/rick/.openclaw/workspace/northlands/stonemason-quality-progression.md`
- Food & Drink, Hospitality framework: `/home/rick/.openclaw/workspace/northlands/food-drink-hospitality-progression-framework.md`
- Tavern/Bar/Restaurant interiors (named locations): `/home/rick/.openclaw/workspace/northlands/tavern-bar-restaurant-interior-progression.md`
- Healthcare framework: `/home/rick/.openclaw/workspace/northlands/healthcare-progression-framework.md`
## 3) Profession-specific locks (current)
## Armorer (goods progression emphasis)
Default goods families: helmets, leather, chain, scale, shields, plate.
Material add-ons currently in use:
- Chain (Mithril), Plate (Mithril), Ceremonial (Mithril) at 60/70/80
- Chain (Adamantine), Plate (Adamantine), Ceremonial (Adamantine) at 60/70/80
Read from canonical armorer sheet. Keep tier progression visible in:
- join/rivet/lacing precision,
- articulation and fit,
- consistency across displayed sets,
- finish discipline and material quality.
Plate adornment ladder (plain -> expensive):
- 40 Comfortable: almost plain serviceable plate (minimal decoration)
- 50 Prosperous: restrained premium decoration appears
- 60 Wealthy: unmistakably expensive coordinated ornament
- 70 Elite: ornate/masterwork heraldic language
- 80 Elite XL: gallery-grade cohesive commission-level ornament
Chain adornment ladder (plain -> expensive):
- 20–30: mostly utilitarian, minimal decorative signal
- 40: subtle decorative refinement begins
- 50: clear restrained premium ornament
- 60: distinctly expensive coordinated decoration
- 70: ornate heraldic masterwork read
- 80: commission-level gallery coherence
Scale adornment ladder (plain -> expensive):
- 30: mostly plain practical stock
- 40: subtle decorative refinement
- 50: restrained premium ornament
- 60: clearly expensive coordinated decoration
- 70: ornate/masterwork heraldic read
- 80: gallery-grade commission cohesion
### Adamantine lock (armor)
Model adamantine as tungsten-carbide analog:
- very dark gunmetal-to-near-black charcoal body (target ~80-90% dark read)
- micro-grain matte/satin finish
- only restrained narrow polished wear edges/accents
- non-emissive, no magical glow, no full chrome mirror, avoid bright silver overall read
## Bladesmith
Category baseline:
- Knife & Dagger
- Axe (Battle)
- Sword
- Polearms (Bladed)
- Knife & Dagger (Mithril)
- Sword (Mithril)
- Knife & Dagger (Adamantine)
- Sword (Adamantine)
### Mithril brightsteel lock
For mithril blades:
- main blade body: cool silver-gray satin/brushed
- cutting edge + immediate bevel: near-white ultra-polished **brightsteel**
- non-emissive (no glow)
- edge-localized polish only (no full-blade chrome)
### Adamantine lock (blades)
Model adamantine as tungsten-carbide analog:
- very dark gunmetal-to-near-black charcoal body (target ~80-90% dark read)
- micro-grain matte/satin base
- selectively polished cutting edge + immediate bevel highlights only (keep them narrow/restrained)
- non-emissive, no magical glow, no full-blade chrome mirror, avoid bright silver overall read
## Blacksmith
Use canonical sheet:
- `/home/rick/.openclaw/workspace/northlands/blacksmith-quality-progression.md`
Focus progression visibility in:
- forge precision and consistency,
- hardware/tool finish discipline,
- decorative sophistication scaling from utilitarian -> commission-grade.
## Leather, Wood, Textiles (block)
Use canonical sheet:
- `/home/rick/.openclaw/workspace/northlands/leather-wood-textiles-quality-progression.md`
Professions covered:
- Carpenters/Woodworkers, Clothiers/Tailors, Cobblers, Dyers, Leatherworkers, Mercers, Weavers.
Progression emphasis:
- material grade,
- finish precision,
- inventory organization depth,
- ornament sophistication,
- consistency across displayed goods.
## Precision & Luxury (block)
Use canonical sheet:
- `/home/rick/.openclaw/workspace/northlands/precision-luxury-quality-progression.md`
Professions covered:
- Glassblowers, Jewelcutters, Jewelers, Luthiers, Minters/Coiners.
Progression emphasis:
- tolerance/precision,
- polish/finish control,
- repeatability,
- curated premium and commission lines.
## Construction & Heavy (exception)
Use stonemason-only progression sheet when relevant:
- `/home/rick/.openclaw/workspace/northlands/stonemason-quality-progression.md`
Rule: do not assume all Construction & Heavy professions need full appearance ladders by default; stonemasons are the current exception because ornament quality is core.
## Food & Drink, Hospitality (service + goods progression)
Use framework:
- `/home/rick/.openclaw/workspace/northlands/food-drink-hospitality-progression-framework.md`
For named-location interiors (taverns/bars/restaurants), also use:
- `/home/rick/.openclaw/workspace/northlands/tavern-bar-restaurant-interior-progression.md`
Rule: track progression across three axes simultaneously:
1) goods/menu quality,
2) service process quality,
3) environment quality.
For tavern/bar/restaurant interiors, explicitly enforce four-axis progression:
1) food presentation,
2) drink presentation,
3) service choreography,
4) interior material/spatial quality.
## Healthcare (service progression)
Use framework:
- `/home/rick/.openclaw/workspace/northlands/healthcare-progression-framework.md`
Rule: track progression in:
1) treatment capability,
2) tool/remedy quality,
3) hygiene/process discipline,
4) patient experience environment.
## Bowyer
Category baseline:
- Bow
- Crossbow (Handheld)
- Crossbow Emplacements (Mounted, 1-person)
- Ballistae (Siege Emplacements)
Tier-range baseline:
- Bow: 10 Village -> 80 Elite XL
- Crossbow (Handheld): 20 Poor -> 80 Elite XL
- Mounted 1-person emplacements: 40 Comfortable -> 80 Elite XL
- Ballistae: 60 Wealthy -> 80 Elite XL
Policy lock:
- no default mithril bowyer categories (mithril archery/siege is exception-only)
## Fletcher
Approved fletcher subskills / goods families:
- Arrows
- Bolts (handheld crossbows)
- Heavy bolts (mounted 1-person emplacements)
- Siege bolts (ballistae)
Tier-range baseline:
- Arrows: 10 Village -> 80 Elite XL
- Bolts (handheld): 20 Poor -> 80 Elite XL
- Heavy bolts (mounted): 40 Comfortable -> 80 Elite XL
- Siege bolts (ballistae): 60 Wealthy -> 80 Elite XL
Goods-progression cues:
- 10 Village: rough shafts, mixed feather lengths, basic nocks, crude heads
- 20 Poor: straighter shafts, cleaner binding/pitch, entry bolt lines
- 30 Modest: reinforced nocks, more uniform head weights, cleaner fletch alignment
- 40 Comfortable: clearer spine grouping, dependable weatherproofing, stable bolt lines
- 50 Prosperous: matched dozens, tighter tolerances, premium feather stock, specialized head mixes
- 60 Wealthy: boutique consistency, premium materials/finish, heavy emplacement bolts as standard line
- 70 Elite: masterwork batch consistency and aerodynamic repeatability
- 80 Elite XL: pinnacle bespoke and ceremonial lines while retaining combat credibility
## 4) In-flight retrofit pattern (when queue already running)
1. Patch active statuses (`pending|dispatched|in_progress`) with a clear marker clause.
2. Verify counts by category/tier and by status.
3. Frontload probe jobs when user wants quick visual QA.
4. Call out caveat: already-dispatched jobs may have old prompt text.
+69 -58
View File
@@ -1,82 +1,93 @@
# NPC Visualization Workflow (non‑nudity)
# NPC Visualization Workflow (non-nudity)
## 1) Scope & triggers
Use this workflow for:
- **Named NPC portraits** (non‑nudity) with stable identity across iterations.
- **Named ambience / NPC‑context visuals** that preserve the NPC reference style.
- **Key locations** are covered by a separate skill (but can reuse these NPC references).
- **Named/specific NPC portraits** that need stable identity across rerenders.
- **Pool NPC batches** for fast at-table retrieval.
- **Craft/trade rerenders** where quality progression must be visible in sold goods.
Example triggers:
- “I need a new NPC and need to figure out what they look like.”
- “Create stable references for NPC X before we place them in scenes.”
- “Create stable references for NPC X before scene renders.”
- “Rerender this profession pool with clearer tier progression.”
- “Fix in-flight prompts so higher tiers visibly look better.”
## 2) Storage layout (current)
## 2) Choose mode first
### Mode A — Named/specific NPC (reference-first)
Use when continuity for one character matters most.
### Mode B — Pool NPC batch (production-first)
Use when breadth and retrieval speed matter most.
- Focus on clear category/tier read, roster diversity, and in-shop player-facing utility.
- Full face/body reference staging is optional unless the user asks.
## 3) Storage layout (current)
Root: `~/output/to-dnd-session/Reference Visuals/`
- `Reference Visuals/NPCs/<NPC Name>/`
- `00-face.jpg` — face reference (neutral expression; **1/3 left + front + 1/3 right**). **Default method:** generate three separate single‑view panels (left/front/right) and **stitch** into a single 16:9 image to avoid mirrored right‑view failures.
- **Mark fidelity:** generate **front** first from the original. Then generate **left/right** using the **front as primary reference** and the original as secondary (`image_2`), with explicit “preserve all scars/marks; do not add/remove; no mirroring.”
- `01-body.jpg` — body reference (**front + back** views; neutral A‑pose; white). Default: underwear. **If NPC is a minor, use modest fully‑clothed medieval attire instead.**
- `02-marks/` — close‑ups of tattoos/scars/unique marks.
- `npc.json` — structured profile (identity, role, visual traits, refs).
- `Outfits/`
- `<Outfit Name>.jpg` — **single 16:9 image** containing **front + back** neutral A‑poses on white (side‑by‑side) to reduce reference‑image count.
- `00-face.jpg` — neutral face reference (left/front/right stitched in one 16:9 image)
- `01-body.jpg` — front/back neutral body reference (A-pose)
- `02-marks/` — close-ups of unique marks
- `npc.json` — profile metadata
- `Outfits/<Outfit Name>.jpg` — front/back outfit reference
- `Reference Visuals/Locations/` (reserved for the separate locations skill)
- `Reference Visuals/Locations/` (reserved for location workflows)
## 3) Reference‑first pipeline (required)
**Goal:** lock identity/style before final renders.
## 4) Named/specific NPC pipeline (required when Mode A)
1) Collect brief (name, age, role, vibe, attire, setting).
2) Generate reference set (face/body/outfit) under anti-modern constraints.
3) Preserve asymmetry and identity details; do not mirror.
4) Gate: human picks keeper references.
5) Render finals with interaction framing and keeper-consistent materials/lighting.
1) **Collect brief**
- NPC: name, age, vibe, attire, role, setting.
## 5) Pool batch pipeline (Mode B)
1) Lock category + tier matrix up front.
2) Keep each scene clearly “in-shop visit”:
- for-sale inventory visible,
- repair intake visible,
- trade-specific tools/materials visible.
3) Keep roster freshness (do not recycle same face/name sets across professions).
4) Keep tier distinctions legible in <3 seconds.
2) **Generate reference set**
- **No interaction framing yet** (neutral framing acceptable).
- Enforce **Norse + anti‑modern** style.
- If the source image is non‑photorealistic, explicitly request **photorealistic conversion** while preserving facial structure.
- Preserve **asymmetric details** (e.g., a single earring); do **not** mirror. If the detail isn’t visible in a view, **don’t add it**.
- Keep composition/lighting consistent across refs.
## 6) Crafts/service progression lock (critical)
For craftsmanship-heavy renders, progression must be visible in:
- **Goods themselves** (not only decor),
- **Tool/station sophistication**,
- **Display quality and quantity**,
- **Staffing and space scaling**,
- **Clothing/material progression**.
3) **Gate: human selects keeper references**
- Do **not** proceed until keepers are chosen.
For service-heavy categories (e.g., Food & Drink, Hospitality; Healthcare), progression must be visible in:
- **Goods/menu/remedy quality**,
- **Service/process discipline**,
- **Environment quality and trust signals**.
4) **Final renders**
- NPCs: **interaction framing** (subject faces camera) + 16:9.
- Ambience/context: preserve keeper materials/lighting/mood.
Use:
- `references/craftsmen-progression-locks.md`
## 4) Style constraints (defaults)
- **Norse, medieval, photorealistic**, 16:9.
- **Anti‑modern:** no electric/fluorescent lighting, no modern fixtures, no modern fabrics/cuts.
- **Interaction framing** only for final NPC images.
## 7) Style constraints (always-on)
- Norse, medieval, photorealistic, 16:9.
- No electric/fluorescent lighting.
- No modern materials/furniture/signage/UI overlays.
- Final portraits should be interaction-facing (subject oriented to viewer/camera).
## 4.5) Tier + overlay composition (for environment realism)
Use wealth tier as the base layer, then apply overlays as orthogonal modifiers.
- Wealth tier controls: material quality, grooming polish, prestige signaling.
- Settlement overlay controls: footprint, stock depth, staffing scale, crowd throughput.
- Security overlay controls: guards/checkpoints, weapon visibility, defensibility cues.
- Condition overlay controls: maintenance level, wear, cleanliness, repair signals.
Recommended expression in prompt notes:
- `Tier=<label-key>` (e.g., `50-Prosperous`)
## 8) Tier + overlay composition
Use wealth tier as base and overlays as modifiers:
- `Tier=<10-Village..70-Elite (optional 80/90)>`
- `Settlement=<Village|Town|City|Capital>`
- `Security=<Open|Guarded|Fortified>`
- `Condition=<Worn|Standard|Pristine>`
Reference details live in:
Reference:
- `references/wealth-tiers-10-70-signals.md`
## 5) Consistency rules
- Use **the same identity description + name** across all passes.
- For outfit refs, **use both body + face references** (image + image_2) to lock identity.
- If outfit continuity matters, prefer **image‑edit** workflows for final renders.
- Avoid modern artifacts (lighting, furniture, textiles).
## 9) In-flight rerender retrofit pattern (when jobs already queued)
When user asks for progression fixes mid-run:
1) Patch active rows in queue states (`pending|dispatched|in_progress`) with a marker clause.
2) Verify patch counts by category/tier and status.
3) If user asks for spot-checks, frontload one-or-more probe jobs per requested tier.
4) Report evidence paths and caveats for already-dispatched rows.
## 6) Gate checkpoints (human actions)
- **After reference set:** human picks keepers.
- **After final A–E batch:** human picks keepers; then clean filenames.
## 7) Model guidance
- **Reference images (face/body):** default to **grok‑imagine‑image‑pro** for higher fidelity.
- **Other renders:** default to **grok‑imagine‑image** (fast/cheap).
- Allow users to override model as desired.
## 10) Model guidance
- Named/specific NPC references (face/body): default to **grok-imagine-image-pro**.
- Most production renders: default to **grok-imagine-image**.
- Allow explicit user overrides.