← NimCONTENT HISTORY

Update to Nim

Snapshot Nov 18, 2026 · 18:12 UTC · version 1.0.2

Collection source: downloaded plugin package.

WHAT CHANGED

Instructions updated for nim-quality-prompts

Full description — Now says: 2.6 Sunburst, Nano Banana 2.1,

Observed in instructions or declared skills. Runtime behavior has not been tested.

Save Nim and check future changes in Following.

Up to 3 plugins free · no card required.

All fields and original values.

Full description

Before

Nov 17, 2026 · 12:11 UTC

2, Nano Banana Pro,

After

Nov 18, 2026 · 18:12 UTC

2.6 Sunburst, Nano Banana 2.1,

Skill instructions

Before

Nov 17, 2026 · 12:11 UTC

2, Nano Banana Pro, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar. - For video generation, prefer the best current Seedance 2 / Seedance image-to-video option returne...

After

Nov 18, 2026 · 18:12 UTC

2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar. > **Before any generation call:** tell the user the chosen model, resolution or mode (e....

Compare saved observations

Download comparison JSON

SKILL.md text changes

− removed · + added

--- before
+++ after
@@ -1,10 +1,12 @@
 ---
 name: nim-quality-prompts
-description: Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2, Nano Banana Pro, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.
+description: Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.
 ---
 
 # Nim Quality Prompts
 
+> **Before any generation call:** tell the user the chosen model, resolution or mode (e.g. draft 480p), aspect ratio and duration or batch size, plus the credit estimate when known, and start only after they confirm. See `nim-defaults` → Confirm before generating.
+
 ## Usage tracking
 
 Once per new user request that you handle with this skill, call the Nim tool `track_skill_activation` with `skill_name: "nim-quality-prompts"`. Do not call it again while polling, retrying, or continuing the same request. If the tool is unavailable or fails, continue without retrying and without mentioning it to the user.
@@ -49,9 +51,9 @@
 
 Default quality preference:
 
-- For video generation, prefer the best current Seedance 2 / Seedance image-to-video option returned by Nim for the request.
-- For reference still generation, prefer `GPT Image 2 medium 2K` for controlled, polished, prompt-faithful anchors, or `Nano Banana Pro 2K` for fast high-quality exploration and identity/product reference work.
-- If the user explicitly names a model, search for that model and then adapt to its exact contract.
+- For video generation, prefer the best current Seedance 2.5 / Seedance image-to-video option returned by Nim for the request, in draft mode by default (`draft: true`, 480p; no `resolution`); 1080p / 4k only when the user asks.
+- For reference still generation, prefer `GPT Image 2.6 Sunburst medium 2K` for controlled, polished, prompt-faithful anchors, or `Nano Banana 2.1 2K` for fast high-quality exploration and identity/product reference work.
+- If the user explicitly names a model (including Nano Banana Pro), search for that model and then adapt to its exact contract; an explicit choice overrides these defaults.
 
 ## Pre-Generation Quality Plan
 
@@ -64,7 +66,7 @@
 - selected visual grammar and why it fits the brief;
 - intended shot scale, camera angle, camera movement, transition logic, and continuity risk;
 - whether reference frames are required before video generation;
-- which reference-frame model to use: `GPT Image 2 medium 2K` or `Nano Banana Pro 2K`;
+- which reference-frame model to use: `GPT Image 2.6 Sunburst medium 2K` or `Nano Banana 2.1 2K`;
 - which Nim model family will be discovered for final video, without hardcoding a stale model id.
 
 For scene, storyboard, shot-list, montage, sequence, or camera-angle requests, do not jump straight to final prompts. First check that angles are meaningfully chosen, transitions are edit-safe, screen direction and eyeline are plausible, and no camera move contradicts the scene physics.
@@ -90,7 +92,7 @@
 ```json
 {
   "purpose": "identity/product/location/beat/transition/angle",
-  "model": "GPT Image 2 medium 2K | Nano Banana Pro 2K",
+  "model": "GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K",
   "size": "2K",
   "prompt": "...",
   "used_by_video_prompt": "segment/shot id"
@@ -265,7 +267,7 @@
   "reference_frames": [
     {
       "purpose": "identity/product/location/beat/transition/angle",
-      "model": "GPT Image 2 medium 2K | Nano Banana Pro 2K",
+      "model": "GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K",
       "size": "2K",
       "prompt": "...",
       "used_by_video_prompt": "shot id"
@@ -291,7 +293,7 @@
   "bridge_shots_needed": ["..."],
   "do_not_do": ["..."],
   "nim_generation_notes": {
-    "discover_model_target": "Seedance 2 / image-to-video / text-to-video as required",
+    "discover_model_target": "Seedance 2.5 / image-to-video / text-to-video as required",
     "required_fileInputs": ["@image1 role", "@image2 role"],
     "contract_sensitive_params": ["requestedAspectRatio", "mediaLength", "resolution", "fps", "keepSound"]
   },
Full technical diff · 2 changed fields

changed /description

BEFORE
"Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2, Nano Banana Pro, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar."
AFTER
"Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar."

changed /skill_md_contents

BEFORE
"---\nname: nim-quality-prompts\ndescription: Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2, Nano Banana Pro, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.\n---\n\n# Nim Quality Prompts\n\n## Usage tracking\n\nOnce per new user request that you handle with this skill, call the Nim tool `track_skill_activation` with `skill_name: \"nim-quality-prompts\"`. Do not call it again while polling, retrying, or continuing the same request. If the tool is unavailable or fails, continue without retrying and without mentioning it to the user.\n\n## Overview\n\nCreate copy-ready English AI video prompts and reference-frame prompts for Seedance/Nim workflows. Use the bundled LUT bank, camera-quality style database, camera-angle rulebook, and prompt orchestrator to improve both the still references that anchor a video and the final video prompt.\n\nFor requests that mention a prompt database, ideal prompt assembly, multi-bank prompt research, artist/style enrichment, or \"analyze first, then improve\", use the bundled orchestrator:\n\n```bash\npython scripts/prompt_quality_orchestrator.py index\npython scripts/prompt_quality_orchestrator.py build --prompt \"<user prompt>\"\n```\n\nThe orchestrator reads `references/prompt_database_registry.json`, builds `references/prompt_quality_index.db`, retrieves from all enabled databases/skills, analyzes the prompt, selects improvement directions, and returns the final prompt. If the user says not to improve (`--no-improve`, \"do not improve\", \"keep unchanged\", \"leave as is\"), return the prompt unchanged.\n\n## Mode Routing\n\n| User request | Mode | References to load |\n| --- | --- | --- |\n| Single prompt, prompt rewrite, video prompt, one-shot Seedance/Higgsfield/Nim improvement | Normal video prompt | `references/LUT.json`, `references/Camera_quality.json` |\n| Reference image, image prompt, character/product/location still, image-to-video anchor, first frame, keyframe | Reference-frame prompt | Normal references plus this skill's Reference Frame Planning section |\n| Same character/person/product/object in different scenes, recurring avatar, identity lock, transferable refs | Character consistency | Reference-frame prompt plus Character/Subject Consistency section |\n| Cinematic clip, filmic shot, lens/camera move/lighting/grade direction | Cinematic video | Normal references plus Cinematic Video Prompting section |\n| UGC ad, TikTok/Reels, creator talking to camera, selfie, iPhone, testimonial, hook, VO/lip sync | UGC video prompt | Use `nim-ugc-prompts` when available; otherwise use the UGC notes in this skill |\n| Scene, script/stsenariy, shot list, storyboard, beats, montage, sequence, multi-shot, camera angles, visual grammar | Scene prompt | Normal references plus `references/camera_angle_rulebook.md`, `references/camera_angle_system_prompt.md`, `references/camera_angle_knowledge_dataset_500.json` |\n| Prompt database, ideal prompt, artist/style enrichment, multi-bank retrieval, prompt quality DB, structured prompt improvement | Database orchestrator | Run `scripts/prompt_quality_orchestrator.py`; it loads `references/prompt_database_registry.json` and indexes all enabled sources |\n\nIf a request is ambiguous, choose Normal video prompt for one continuous shot and Scene prompt for multiple beats, edits, angles, or transitions.\n\n## Nim MCP Execution Rules\n\nWhen the user asks to actually generate images or video through Nim, follow Nim MCP behavior exactly:\n\n1. Discover the live model with `models_explore` using `action: \"recommend\"`, `\"search\"`, or `\"list\"` for the user's intent.\n2. Call `models_explore` with `action: \"get\"` on the chosen `model_id` and treat its `generationContract` as the source of truth.\n3. Pass only fields listed by the contract. Do not guess parameter names, resolutions, duration values, `fileInputs`, or audio fields.\n4. For edits, references, image-to-video, or uploaded assets, call `media_upload` first and pass only the returned Nim `file_url` values in `fileInputs`.\n5. Never pass local file paths directly to `generate_image` or `generate_video`.\n6. Poll `get_generation_status` until the job is `finished`, `failed`, or `cancelled`; do not claim completion before a real media URL is returned.\n\nDefault quality preference:\n\n- For video generation, prefer the best current Seedance 2 / Seedance image-to-video option returned by Nim for the request.\n- For reference still generation, prefer `GPT Image 2 medium 2K` for controlled, polished, prompt-faithful anchors, or `Nano Banana Pro 2K` for fast high-quality exploration and identity/product reference work.\n- If the user explicitly names a model, search for that model and then adapt to its exact contract.\n\n## Pre-Generation Quality Plan\n\nBefore high-quality video output, create a short plan that proves the visual logic is correct before execution.\n\nThe plan must identify:\n\n- final output goal, platform, aspect ratio, duration, and generator;\n- whether the request is one shot, a scene sequence, or a multi-clip series;\n- selected visual grammar and why it fits the brief;\n- intended shot scale, camera angle, camera movement, transition logic, and continuity risk;\n- whether reference frames are required before video generation;\n- which reference-frame model to use: `GPT Image 2 medium 2K` or `Nano Banana Pro 2K`;\n- which Nim model family will be discovered for final video, without hardcoding a stale model id.\n\nFor scene, storyboard, shot-list, montage, sequence, or camera-angle requests, do not jump straight to final prompts. First check that angles are meaningfully chosen, transitions are edit-safe, screen direction and eyeline are plausible, and no camera move contradicts the scene physics.\n\nIf the plan exposes weak or random angles, revise the plan before writing final prompts.\n\n## Reference Frame Planning\n\nPlan still reference frames before video generation when identity, product appearance, location continuity, composition, or multi-shot coherence matters.\n\nUse reference frames for:\n\n- product or brand hero frames;\n- character identity, wardrobe, pose, makeup, or body-proportion locks;\n- location plates and lighting anchors;\n- opening/ending frames for image-to-video;\n- important story beats or angle changes;\n- transition anchors between shots;\n- any shot where text-only prompting is likely to drift.\n\nFor each required reference frame, output:\n\n```json\n{\n  \"purpose\": \"identity/product/location/beat/transition/angle\",\n  \"model\": \"GPT Image 2 medium 2K | Nano Banana Pro 2K\",\n  \"size\": \"2K\",\n  \"prompt\": \"...\",\n  \"used_by_video_prompt\": \"segment/shot id\"\n}\n```\n\nReference still prompts should follow this order:\n\n1. Subject identity and permanent details.\n2. Wardrobe/product/location details to lock.\n3. Camera/lens/framing and aspect ratio.\n4. Real lighting and texture cues from `Camera_quality.json`.\n5. LUT/color treatment from `LUT.json` only when it helps the video.\n6. Negative constraints that protect anatomy, text, logos, and material details.\n\nIf the user asks for actual generation, generate or request the reference frames before video generation when the runtime supports it. If reference frame generation is unavailable, blocked by credits, or requires a missing source image, state the blocker and continue with prompt-only planning only when the user accepts that fallback.\n\n## Character/Subject Consistency\n\nUse this when references must travel across scenes. The goal is not \"similar vibe\"; it is the same person, character, product, object, mascot, or branded item with stable identity.\n\nIntake:\n\n- Required: one or more identity reference images plus the new scene/action.\n- Optional: secondary references for outfit, pose, location, lighting, product, audio, or styling.\n- If a required reference is missing, ask only for that missing reference before generation.\n\nPrompt pattern:\n\n```text\nThe identical <subject> from @image1, reimagined in <new scene/action>. Preserve <defining identity traits> exactly: <face/product geometry/logo placement/silhouette/material/color blocking/accessories>. Change only <allowed changes>. Do not alter identity, proportions, permanent markings, or product structure.\n```\n\nFor multiple references, assign roles clearly and preserve upload order:\n\n```text\n@image1 = main identity. @image2 = outfit/body proportions. @image3 = location. @image4 = product/object. The video must preserve each reference role exactly.\n```\n\nWhen a character moves between scenes, write an identity lock before the scene prompt:\n\n- face shape, hair shape/color, makeup, skin texture, proportions, body type;\n- wardrobe pieces, accessories, tattoos, product geometry, logo placement;\n- forbidden drift: age shift, face swap, wardrobe merge, material change, product redesign, extra logos.\n\n## Cinematic Video Prompting\n\nUse compact shot language. Lead with the camera phrase, then add only the elements that control the shot.\n\nScaffold:\n\n```text\nFraming + camera motion: [wide establishing / tight close-up] + [slow push-in / pan right / rack focus / dolly zoom / oner]\nStyle: [cinematic photorealism / documentary realism / shallow depth of field / film grain]\nLighting: [golden-hour backlit / cool window fill / single warm practical / mixed practicals]\nLocation: [specific place, in a few words that carry the decor by world knowledge]\nAction: [one small thing the subject does, bounded by what is visible in frame]\n```\n\nRules:\n\n- Speak camera vocabulary directly: push-in, pull-back, pan, tilt, dolly, crane, orbit, rack focus, locked-off, handheld, selfie, POV.\n- Pace the move: slow, gradual, steady, sudden, urgent, tiny wrist shake.\n- For image-to-video, direct motion only; the source still already fixes the look.\n- Bound motion to visible evidence. A tight portrait cannot walk away unless the full body exists in the source or a wider reference is created first.\n- Use the selected LUT and camera-quality style as controlled finishing language, not as a wall of adjectives.\n\n## UGC Notes\n\nFor UGC prompts, realism comes from ordinary recording behavior, not polished cinematography.\n\nUse:\n\n- vertical `9:16`, social-media ad, TikTok/Reels/Shorts;\n- iPhone/front-camera/rear-camera/mirror/selfie/tripod language;\n- natural HDR, autofocus breathing, auto-exposure adaptation, subtle handheld wrist movement;\n- real skin pores, natural blinking, breathing, tiny expression changes, imperfect framing;\n- direct-to-camera delivery, FaceTime feeling, casual pauses, slight glances away and back;\n- explicit audio/VO/lip-sync instructions only when the model supports them.\n\nAvoid:\n\n- cinematic lighting, stylized color grading, beauty filter, skin smoothing, subtitles unless requested, text overlays, CGI, fake logos;\n- random camera movement when the brief asks for tripod/static framing;\n- impossible phone handling, impossible mirror geometry, or outfit/product morphing.\n\nFor deeper UGC construction, use the separate `nim-ugc-prompts` skill when available.\n\n## Database Orchestrator Workflow\n\nUse this workflow when the user asks to improve a rough prompt through databases or wants an explicit analysis-to-final pipeline:\n\n1. Run `python scripts/prompt_quality_orchestrator.py index` after adding or changing databases.\n2. Run `python scripts/prompt_quality_orchestrator.py build --prompt \"<prompt>\"`.\n3. Read the output in order: Prompt Analysis, Improvement Directions, Selected Database Records, Final Prompt.\n4. If the user asked not to improve, run with `--no-improve` or return the original prompt unchanged.\n\nTo add a new prompt database or skill, edit `references/prompt_database_registry.json`:\n\n- Add a `sources[]` entry for a known adapter: `seedance_lut`, `seedance_camera_quality`, `seedance_camera_angles`, `universal_prompt_skills`, `markdown_sections`, `generic_json`, `legacy_prompt_python`, or `codex_skill`.\n- Add a `skill_roots[]` entry when new Codex skill folders should be auto-discovered by `SKILL.md`.\n- Re-run `python scripts/prompt_quality_orchestrator.py index`.\n\nThe SQLite index is disposable generated state. The registry and source files are authoritative.\n\n## Reference Use\n\n- Use `LUT.json` to select one LUT by `best_for`, `look_goal`, and `copy_paste_suffix_en`; include its suffix in the final prompt.\n- Use `LUT.json` `usage.global_negative_prompt` as the negative prompt unless the user supplies stricter negatives.\n- Use `Camera_quality.json` to select one style prompt by category, style name, camera, optics, lighting, and look. Extract the relevant camera/quality language; do not paste a full 500-word style prompt unless the user asked for a long master prompt.\n- For Scene prompt mode, use `camera_angle_system_prompt.md` as the operating behavior, `camera_angle_rulebook.md` for hard transition rules, and `camera_angle_knowledge_dataset_500.json` as the pattern bank.\n- When using the dataset, retrieve 3-8 relevant `reference_items` by product category, mood, format, or scene logic. Extract transition and angle logic only; generate original shots.\n\n## Normal Video Prompt Workflow\n\n1. Identify subject, product/category, platform, duration, aspect ratio, mood, location, action, and fixed user constraints.\n2. Select the closest LUT and one camera-quality style. If several fit, prefer the least stylized option that preserves realism.\n3. Decide whether reference frames should be generated first. If yes, write those still prompts before the video prompt.\n4. Build one copy-ready English prompt with this order: references and identity locks, scene/action, camera and movement, optics/focus, lighting, selected Quality style language, selected LUT suffix, constraints.\n5. Keep the prompt physically plausible: one readable action, one camera logic, preserved identity/props/location, no impossible movement.\n\nReturn:\n\n```markdown\n## Reference Frames\n[only when needed]\n\n## Final Video Prompt\n[copy-ready English prompt]\n\n## Selected LUT\n[id] - [name]\n[copy_paste_suffix_en]\n\n## Selected Quality Style\n[id] - [style_name_en]\n[short reason and extracted camera/quality language]\n\n## Nim Generation Notes\n[model discovery target, required fileInputs, aspect ratio, duration, resolution only if supported by contract]\n\n## Negative Prompt\n[global or user-adjusted negative prompt]\n```\n\n## Scene Prompt Workflow\n\n1. Break the script or concept into 5-9 beats unless the user specifies another count.\n2. Assign each beat a story function: hook, problem, context, proof, reveal, reaction, CTA, or scene-specific equivalent.\n3. Choose a base visual grammar and one contrast grammar only if it marks a turning point.\n4. Create reference-frame requirements for recurring character/product/location/transition anchors.\n5. For each beat, specify shot scale, angle, movement, transition in/out, audio bridge, and why the angle changes meaning.\n6. Validate adjacent beats against the rulebook: 180-degree axis, eyeline, screen position, scale jumps, light direction, lens continuity, and bridge-shot needs.\n7. Attach LUT + Quality language to every generated beat prompt, keeping each prompt copy-ready in English.\n\nReturn:\n\n```json\n{\n  \"concept\": \"...\",\n  \"visual_grammar\": \"...\",\n  \"selected_lut\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"selected_quality_style\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"reference_frames\": [\n    {\n      \"purpose\": \"identity/product/location/beat/transition/angle\",\n      \"model\": \"GPT Image 2 medium 2K | Nano Banana Pro 2K\",\n      \"size\": \"2K\",\n      \"prompt\": \"...\",\n      \"used_by_video_prompt\": \"shot id\"\n    }\n  ],\n  \"reference_logic\": [\"3-8 brief notes from the dataset/rulebook, without copying a source scene\"],\n  \"shot_list\": [\n    {\n      \"beat\": 1,\n      \"duration_sec\": 1.5,\n      \"story_function\": \"hook/problem/proof/reveal/reaction/CTA\",\n      \"shot_scale\": \"CU/MS/ELS/INSERT/POV/etc.\",\n      \"angle\": \"eye_level/top_down/OTS/low_angle/etc.\",\n      \"movement\": \"locked/push_in/pan/reveal/handheld/etc.\",\n      \"transition_in\": \"straight_cut/J_cut/match_action/etc.\",\n      \"transition_out\": \"...\",\n      \"audio_bridge\": \"...\",\n      \"why_this_angle\": \"...\",\n      \"risk_check\": \"...\",\n      \"copy_ready_prompt_en\": \"...\"\n    }\n  ],\n  \"bridge_shots_needed\": [\"...\"],\n  \"do_not_do\": [\"...\"],\n  \"nim_generation_notes\": {\n    \"discover_model_target\": \"Seedance 2 / image-to-video / text-to-video as required\",\n    \"required_fileInputs\": [\"@image1 role\", \"@image2 role\"],\n    \"contract_sensitive_params\": [\"requestedAspectRatio\", \"mediaLength\", \"resolution\", \"fps\", \"keepSound\"]\n  },\n  \"negative_prompt\": \"...\",\n  \"edit_validation\": {\n    \"emotion_story_rhythm_ok\": true,\n    \"reference_roles_clear\": true,\n    \"identity_lock_ok\": true,\n    \"eye_trace_ok\": true,\n    \"axis_180_ok\": true,\n    \"scale_jumps_justified\": true,\n    \"screen_direction_ok\": true,\n    \"bridge_shots_ok\": true\n  }\n}\n```\n\n## Quality Bar\n\n- Prompts must be copy-ready in English. Use Russian only for short notes, assumptions, or user-facing explanation when useful.\n- Improve both the reference still prompts and the final video prompt when reference frames affect quality.\n- Prefer specific DOP/operator language over vague phrases like \"cinematic\" or \"high quality.\"\n- Do not mix random camera grammars in one short sequence.\n- Do not add unsupported product claims, false before/after transformations, fake readable text, random logos, or impossible camera moves.\n- Do not generate through Nim until required references have real Nim `file_url` values.\n- If information is missing, make a reasonable assumption and label it briefly instead of blocking on extra questions.\n"
AFTER
"---\nname: nim-quality-prompts\ndescription: Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.\n---\n\n# Nim Quality Prompts\n\n> **Before any generation call:** tell the user the chosen model, resolution or mode (e.g. draft 480p), aspect ratio and duration or batch size, plus the credit estimate when known, and start only after they confirm. See `nim-defaults` → Confirm before generating.\n\n## Usage tracking\n\nOnce per new user request that you handle with this skill, call the Nim tool `track_skill_activation` with `skill_name: \"nim-quality-prompts\"`. Do not call it again while polling, retrying, or continuing the same request. If the tool is unavailable or fails, continue without retrying and without mentioning it to the user.\n\n## Overview\n\nCreate copy-ready English AI video prompts and reference-frame prompts for Seedance/Nim workflows. Use the bundled LUT bank, camera-quality style database, camera-angle rulebook, and prompt orchestrator to improve both the still references that anchor a video and the final video prompt.\n\nFor requests that mention a prompt database, ideal prompt assembly, multi-bank prompt research, artist/style enrichment, or \"analyze first, then improve\", use the bundled orchestrator:\n\n```bash\npython scripts/prompt_quality_orchestrator.py index\npython scripts/prompt_quality_orchestrator.py build --prompt \"<user prompt>\"\n```\n\nThe orchestrator reads `references/prompt_database_registry.json`, builds `references/prompt_quality_index.db`, retrieves from all enabled databases/skills, analyzes the prompt, selects improvement directions, and returns the final prompt. If the user says not to improve (`--no-improve`, \"do not improve\", \"keep unchanged\", \"leave as is\"), return the prompt unchanged.\n\n## Mode Routing\n\n| User request | Mode | References to load |\n| --- | --- | --- |\n| Single prompt, prompt rewrite, video prompt, one-shot Seedance/Higgsfield/Nim improvement | Normal video prompt | `references/LUT.json`, `references/Camera_quality.json` |\n| Reference image, image prompt, character/product/location still, image-to-video anchor, first frame, keyframe | Reference-frame prompt | Normal references plus this skill's Reference Frame Planning section |\n| Same character/person/product/object in different scenes, recurring avatar, identity lock, transferable refs | Character consistency | Reference-frame prompt plus Character/Subject Consistency section |\n| Cinematic clip, filmic shot, lens/camera move/lighting/grade direction | Cinematic video | Normal references plus Cinematic Video Prompting section |\n| UGC ad, TikTok/Reels, creator talking to camera, selfie, iPhone, testimonial, hook, VO/lip sync | UGC video prompt | Use `nim-ugc-prompts` when available; otherwise use the UGC notes in this skill |\n| Scene, script/stsenariy, shot list, storyboard, beats, montage, sequence, multi-shot, camera angles, visual grammar | Scene prompt | Normal references plus `references/camera_angle_rulebook.md`, `references/camera_angle_system_prompt.md`, `references/camera_angle_knowledge_dataset_500.json` |\n| Prompt database, ideal prompt, artist/style enrichment, multi-bank retrieval, prompt quality DB, structured prompt improvement | Database orchestrator | Run `scripts/prompt_quality_orchestrator.py`; it loads `references/prompt_database_registry.json` and indexes all enabled sources |\n\nIf a request is ambiguous, choose Normal video prompt for one continuous shot and Scene prompt for multiple beats, edits, angles, or transitions.\n\n## Nim MCP Execution Rules\n\nWhen the user asks to actually generate images or video through Nim, follow Nim MCP behavior exactly:\n\n1. Discover the live model with `models_explore` using `action: \"recommend\"`, `\"search\"`, or `\"list\"` for the user's intent.\n2. Call `models_explore` with `action: \"get\"` on the chosen `model_id` and treat its `generationContract` as the source of truth.\n3. Pass only fields listed by the contract. Do not guess parameter names, resolutions, duration values, `fileInputs`, or audio fields.\n4. For edits, references, image-to-video, or uploaded assets, call `media_upload` first and pass only the returned Nim `file_url` values in `fileInputs`.\n5. Never pass local file paths directly to `generate_image` or `generate_video`.\n6. Poll `get_generation_status` until the job is `finished`, `failed`, or `cancelled`; do not claim completion before a real media URL is returned.\n\nDefault quality preference:\n\n- For video generation, prefer the best current Seedance 2.5 / Seedance image-to-video option returned by Nim for the request, in draft mode by default (`draft: true`, 480p; no `resolution`); 1080p / 4k only when the user asks.\n- For reference still generation, prefer `GPT Image 2.6 Sunburst medium 2K` for controlled, polished, prompt-faithful anchors, or `Nano Banana 2.1 2K` for fast high-quality exploration and identity/product reference work.\n- If the user explicitly names a model (including Nano Banana Pro), search for that model and then adapt to its exact contract; an explicit choice overrides these defaults.\n\n## Pre-Generation Quality Plan\n\nBefore high-quality video output, create a short plan that proves the visual logic is correct before execution.\n\nThe plan must identify:\n\n- final output goal, platform, aspect ratio, duration, and generator;\n- whether the request is one shot, a scene sequence, or a multi-clip series;\n- selected visual grammar and why it fits the brief;\n- intended shot scale, camera angle, camera movement, transition logic, and continuity risk;\n- whether reference frames are required before video generation;\n- which reference-frame model to use: `GPT Image 2.6 Sunburst medium 2K` or `Nano Banana 2.1 2K`;\n- which Nim model family will be discovered for final video, without hardcoding a stale model id.\n\nFor scene, storyboard, shot-list, montage, sequence, or camera-angle requests, do not jump straight to final prompts. First check that angles are meaningfully chosen, transitions are edit-safe, screen direction and eyeline are plausible, and no camera move contradicts the scene physics.\n\nIf the plan exposes weak or random angles, revise the plan before writing final prompts.\n\n## Reference Frame Planning\n\nPlan still reference frames before video generation when identity, product appearance, location continuity, composition, or multi-shot coherence matters.\n\nUse reference frames for:\n\n- product or brand hero frames;\n- character identity, wardrobe, pose, makeup, or body-proportion locks;\n- location plates and lighting anchors;\n- opening/ending frames for image-to-video;\n- important story beats or angle changes;\n- transition anchors between shots;\n- any shot where text-only prompting is likely to drift.\n\nFor each required reference frame, output:\n\n```json\n{\n  \"purpose\": \"identity/product/location/beat/transition/angle\",\n  \"model\": \"GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K\",\n  \"size\": \"2K\",\n  \"prompt\": \"...\",\n  \"used_by_video_prompt\": \"segment/shot id\"\n}\n```\n\nReference still prompts should follow this order:\n\n1. Subject identity and permanent details.\n2. Wardrobe/product/location details to lock.\n3. Camera/lens/framing and aspect ratio.\n4. Real lighting and texture cues from `Camera_quality.json`.\n5. LUT/color treatment from `LUT.json` only when it helps the video.\n6. Negative constraints that protect anatomy, text, logos, and material details.\n\nIf the user asks for actual generation, generate or request the reference frames before video generation when the runtime supports it. If reference frame generation is unavailable, blocked by credits, or requires a missing source image, state the blocker and continue with prompt-only planning only when the user accepts that fallback.\n\n## Character/Subject Consistency\n\nUse this when references must travel across scenes. The goal is not \"similar vibe\"; it is the same person, character, product, object, mascot, or branded item with stable identity.\n\nIntake:\n\n- Required: one or more identity reference images plus the new scene/action.\n- Optional: secondary references for outfit, pose, location, lighting, product, audio, or styling.\n- If a required reference is missing, ask only for that missing reference before generation.\n\nPrompt pattern:\n\n```text\nThe identical <subject> from @image1, reimagined in <new scene/action>. Preserve <defining identity traits> exactly: <face/product geometry/logo placement/silhouette/material/color blocking/accessories>. Change only <allowed changes>. Do not alter identity, proportions, permanent markings, or product structure.\n```\n\nFor multiple references, assign roles clearly and preserve upload order:\n\n```text\n@image1 = main identity. @image2 = outfit/body proportions. @image3 = location. @image4 = product/object. The video must preserve each reference role exactly.\n```\n\nWhen a character moves between scenes, write an identity lock before the scene prompt:\n\n- face shape, hair shape/color, makeup, skin texture, proportions, body type;\n- wardrobe pieces, accessories, tattoos, product geometry, logo placement;\n- forbidden drift: age shift, face swap, wardrobe merge, material change, product redesign, extra logos.\n\n## Cinematic Video Prompting\n\nUse compact shot language. Lead with the camera phrase, then add only the elements that control the shot.\n\nScaffold:\n\n```text\nFraming + camera motion: [wide establishing / tight close-up] + [slow push-in / pan right / rack focus / dolly zoom / oner]\nStyle: [cinematic photorealism / documentary realism / shallow depth of field / film grain]\nLighting: [golden-hour backlit / cool window fill / single warm practical / mixed practicals]\nLocation: [specific place, in a few words that carry the decor by world knowledge]\nAction: [one small thing the subject does, bounded by what is visible in frame]\n```\n\nRules:\n\n- Speak camera vocabulary directly: push-in, pull-back, pan, tilt, dolly, crane, orbit, rack focus, locked-off, handheld, selfie, POV.\n- Pace the move: slow, gradual, steady, sudden, urgent, tiny wrist shake.\n- For image-to-video, direct motion only; the source still already fixes the look.\n- Bound motion to visible evidence. A tight portrait cannot walk away unless the full body exists in the source or a wider reference is created first.\n- Use the selected LUT and camera-quality style as controlled finishing language, not as a wall of adjectives.\n\n## UGC Notes\n\nFor UGC prompts, realism comes from ordinary recording behavior, not polished cinematography.\n\nUse:\n\n- vertical `9:16`, social-media ad, TikTok/Reels/Shorts;\n- iPhone/front-camera/rear-camera/mirror/selfie/tripod language;\n- natural HDR, autofocus breathing, auto-exposure adaptation, subtle handheld wrist movement;\n- real skin pores, natural blinking, breathing, tiny expression changes, imperfect framing;\n- direct-to-camera delivery, FaceTime feeling, casual pauses, slight glances away and back;\n- explicit audio/VO/lip-sync instructions only when the model supports them.\n\nAvoid:\n\n- cinematic lighting, stylized color grading, beauty filter, skin smoothing, subtitles unless requested, text overlays, CGI, fake logos;\n- random camera movement when the brief asks for tripod/static framing;\n- impossible phone handling, impossible mirror geometry, or outfit/product morphing.\n\nFor deeper UGC construction, use the separate `nim-ugc-prompts` skill when available.\n\n## Database Orchestrator Workflow\n\nUse this workflow when the user asks to improve a rough prompt through databases or wants an explicit analysis-to-final pipeline:\n\n1. Run `python scripts/prompt_quality_orchestrator.py index` after adding or changing databases.\n2. Run `python scripts/prompt_quality_orchestrator.py build --prompt \"<prompt>\"`.\n3. Read the output in order: Prompt Analysis, Improvement Directions, Selected Database Records, Final Prompt.\n4. If the user asked not to improve, run with `--no-improve` or return the original prompt unchanged.\n\nTo add a new prompt database or skill, edit `references/prompt_database_registry.json`:\n\n- Add a `sources[]` entry for a known adapter: `seedance_lut`, `seedance_camera_quality`, `seedance_camera_angles`, `universal_prompt_skills`, `markdown_sections`, `generic_json`, `legacy_prompt_python`, or `codex_skill`.\n- Add a `skill_roots[]` entry when new Codex skill folders should be auto-discovered by `SKILL.md`.\n- Re-run `python scripts/prompt_quality_orchestrator.py index`.\n\nThe SQLite index is disposable generated state. The registry and source files are authoritative.\n\n## Reference Use\n\n- Use `LUT.json` to select one LUT by `best_for`, `look_goal`, and `copy_paste_suffix_en`; include its suffix in the final prompt.\n- Use `LUT.json` `usage.global_negative_prompt` as the negative prompt unless the user supplies stricter negatives.\n- Use `Camera_quality.json` to select one style prompt by category, style name, camera, optics, lighting, and look. Extract the relevant camera/quality language; do not paste a full 500-word style prompt unless the user asked for a long master prompt.\n- For Scene prompt mode, use `camera_angle_system_prompt.md` as the operating behavior, `camera_angle_rulebook.md` for hard transition rules, and `camera_angle_knowledge_dataset_500.json` as the pattern bank.\n- When using the dataset, retrieve 3-8 relevant `reference_items` by product category, mood, format, or scene logic. Extract transition and angle logic only; generate original shots.\n\n## Normal Video Prompt Workflow\n\n1. Identify subject, product/category, platform, duration, aspect ratio, mood, location, action, and fixed user constraints.\n2. Select the closest LUT and one camera-quality style. If several fit, prefer the least stylized option that preserves realism.\n3. Decide whether reference frames should be generated first. If yes, write those still prompts before the video prompt.\n4. Build one copy-ready English prompt with this order: references and identity locks, scene/action, camera and movement, optics/focus, lighting, selected Quality style language, selected LUT suffix, constraints.\n5. Keep the prompt physically plausible: one readable action, one camera logic, preserved identity/props/location, no impossible movement.\n\nReturn:\n\n```markdown\n## Reference Frames\n[only when needed]\n\n## Final Video Prompt\n[copy-ready English prompt]\n\n## Selected LUT\n[id] - [name]\n[copy_paste_suffix_en]\n\n## Selected Quality Style\n[id] - [style_name_en]\n[short reason and extracted camera/quality language]\n\n## Nim Generation Notes\n[model discovery target, required fileInputs, aspect ratio, duration, resolution only if supported by contract]\n\n## Negative Prompt\n[global or user-adjusted negative prompt]\n```\n\n## Scene Prompt Workflow\n\n1. Break the script or concept into 5-9 beats unless the user specifies another count.\n2. Assign each beat a story function: hook, problem, context, proof, reveal, reaction, CTA, or scene-specific equivalent.\n3. Choose a base visual grammar and one contrast grammar only if it marks a turning point.\n4. Create reference-frame requirements for recurring character/product/location/transition anchors.\n5. For each beat, specify shot scale, angle, movement, transition in/out, audio bridge, and why the angle changes meaning.\n6. Validate adjacent beats against the rulebook: 180-degree axis, eyeline, screen position, scale jumps, light direction, lens continuity, and bridge-shot needs.\n7. Attach LUT + Quality language to every generated beat prompt, keeping each prompt copy-ready in English.\n\nReturn:\n\n```json\n{\n  \"concept\": \"...\",\n  \"visual_grammar\": \"...\",\n  \"selected_lut\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"selected_quality_style\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"reference_frames\": [\n    {\n      \"purpose\": \"identity/product/location/beat/transition/angle\",\n      \"model\": \"GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K\",\n      \"size\": \"2K\",\n      \"prompt\": \"...\",\n      \"used_by_video_prompt\": \"shot id\"\n    }\n  ],\n  \"reference_logic\": [\"3-8 brief notes from the dataset/rulebook, without copying a source scene\"],\n  \"shot_list\": [\n    {\n      \"beat\": 1,\n      \"duration_sec\": 1.5,\n      \"story_function\": \"hook/problem/proof/reveal/reaction/CTA\",\n      \"shot_scale\": \"CU/MS/ELS/INSERT/POV/etc.\",\n      \"angle\": \"eye_level/top_down/OTS/low_angle/etc.\",\n      \"movement\": \"locked/push_in/pan/reveal/handheld/etc.\",\n      \"transition_in\": \"straight_cut/J_cut/match_action/etc.\",\n      \"transition_out\": \"...\",\n      \"audio_bridge\": \"...\",\n      \"why_this_angle\": \"...\",\n      \"risk_check\": \"...\",\n      \"copy_ready_prompt_en\": \"...\"\n    }\n  ],\n  \"bridge_shots_needed\": [\"...\"],\n  \"do_not_do\": [\"...\"],\n  \"nim_generation_notes\": {\n    \"discover_model_target\": \"Seedance 2.5 / image-to-video / text-to-video as required\",\n    \"required_fileInputs\": [\"@image1 role\", \"@image2 role\"],\n    \"contract_sensitive_params\": [\"requestedAspectRatio\", \"mediaLength\", \"resolution\", \"fps\", \"keepSound\"]\n  },\n  \"negative_prompt\": \"...\",\n  \"edit_validation\": {\n    \"emotion_story_rhythm_ok\": true,\n    \"reference_roles_clear\": true,\n    \"identity_lock_ok\": true,\n    \"eye_trace_ok\": true,\n    \"axis_180_ok\": true,\n    \"scale_jumps_justified\": true,\n    \"screen_direction_ok\": true,\n    \"bridge_shots_ok\": true\n  }\n}\n```\n\n## Quality Bar\n\n- Prompts must be copy-ready in English. Use Russian only for short notes, assumptions, or user-facing explanation when useful.\n- Improve both the reference still prompts and the final video prompt when reference frames affect quality.\n- Prefer specific DOP/operator language over vague phrases like \"cinematic\" or \"high quality.\"\n- Do not mix random camera grammars in one short sequence.\n- Do not add unsupported product claims, false before/after transformations, fake readable text, random logos, or impossible camera moves.\n- Do not generate through Nim until required references have real Nim `file_url` values.\n- If information is missing, make a reasonable assumption and label it briefly instead of blocking on extra questions.\n"
Full snapshot data
{
  "description": "Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.",
  "included_files": [
    {
      "relative_path": "references/Camera_quality.json",
      "size_in_bytes": 317439
    },
    {
      "relative_path": "references/LUT.json",
      "size_in_bytes": 19546
    },
    {
      "relative_path": "references/camera_angle_knowledge_dataset_500.json",
      "size_in_bytes": 804520
    },
    {
      "relative_path": "references/camera_angle_rulebook.md",
      "size_in_bytes": 10317
    },
    {
      "relative_path": "references/camera_angle_system_prompt.md",
      "size_in_bytes": 4231
    },
    {
      "relative_path": "references/legacy_prompt_styles_en.json",
      "size_in_bytes": 11859
    },
    {
      "relative_path": "references/prompt_database_registry.json",
      "size_in_bytes": 3348
    },
    {
      "relative_path": "references/universal_prompt_companion_en.md",
      "size_in_bytes": 1722
    },
    {
      "relative_path": "references/universal_prompt_skills_database.json",
      "size_in_bytes": 44384
    },
    {
      "relative_path": "scripts/prompt_quality_orchestrator.py",
      "size_in_bytes": 41665
    }
  ],
  "name": "nim-quality-prompts",
  "skill_md_contents": "---\nname: nim-quality-prompts\ndescription: Use when improving, writing, rewriting, planning, or executing AI video prompts for Seedance, Higgsfield, Nim MCP, UGC, cinematic generation, image-to-video, reference frames, character consistency, GPT Image 2.6 Sunburst, Nano Banana 2.1, 2K stills, LUTs, camera quality, shot lists, storyboards, beats, montage, sequence, camera angles, or visual grammar.\n---\n\n# Nim Quality Prompts\n\n> **Before any generation call:** tell the user the chosen model, resolution or mode (e.g. draft 480p), aspect ratio and duration or batch size, plus the credit estimate when known, and start only after they confirm. See `nim-defaults` → Confirm before generating.\n\n## Usage tracking\n\nOnce per new user request that you handle with this skill, call the Nim tool `track_skill_activation` with `skill_name: \"nim-quality-prompts\"`. Do not call it again while polling, retrying, or continuing the same request. If the tool is unavailable or fails, continue without retrying and without mentioning it to the user.\n\n## Overview\n\nCreate copy-ready English AI video prompts and reference-frame prompts for Seedance/Nim workflows. Use the bundled LUT bank, camera-quality style database, camera-angle rulebook, and prompt orchestrator to improve both the still references that anchor a video and the final video prompt.\n\nFor requests that mention a prompt database, ideal prompt assembly, multi-bank prompt research, artist/style enrichment, or \"analyze first, then improve\", use the bundled orchestrator:\n\n```bash\npython scripts/prompt_quality_orchestrator.py index\npython scripts/prompt_quality_orchestrator.py build --prompt \"<user prompt>\"\n```\n\nThe orchestrator reads `references/prompt_database_registry.json`, builds `references/prompt_quality_index.db`, retrieves from all enabled databases/skills, analyzes the prompt, selects improvement directions, and returns the final prompt. If the user says not to improve (`--no-improve`, \"do not improve\", \"keep unchanged\", \"leave as is\"), return the prompt unchanged.\n\n## Mode Routing\n\n| User request | Mode | References to load |\n| --- | --- | --- |\n| Single prompt, prompt rewrite, video prompt, one-shot Seedance/Higgsfield/Nim improvement | Normal video prompt | `references/LUT.json`, `references/Camera_quality.json` |\n| Reference image, image prompt, character/product/location still, image-to-video anchor, first frame, keyframe | Reference-frame prompt | Normal references plus this skill's Reference Frame Planning section |\n| Same character/person/product/object in different scenes, recurring avatar, identity lock, transferable refs | Character consistency | Reference-frame prompt plus Character/Subject Consistency section |\n| Cinematic clip, filmic shot, lens/camera move/lighting/grade direction | Cinematic video | Normal references plus Cinematic Video Prompting section |\n| UGC ad, TikTok/Reels, creator talking to camera, selfie, iPhone, testimonial, hook, VO/lip sync | UGC video prompt | Use `nim-ugc-prompts` when available; otherwise use the UGC notes in this skill |\n| Scene, script/stsenariy, shot list, storyboard, beats, montage, sequence, multi-shot, camera angles, visual grammar | Scene prompt | Normal references plus `references/camera_angle_rulebook.md`, `references/camera_angle_system_prompt.md`, `references/camera_angle_knowledge_dataset_500.json` |\n| Prompt database, ideal prompt, artist/style enrichment, multi-bank retrieval, prompt quality DB, structured prompt improvement | Database orchestrator | Run `scripts/prompt_quality_orchestrator.py`; it loads `references/prompt_database_registry.json` and indexes all enabled sources |\n\nIf a request is ambiguous, choose Normal video prompt for one continuous shot and Scene prompt for multiple beats, edits, angles, or transitions.\n\n## Nim MCP Execution Rules\n\nWhen the user asks to actually generate images or video through Nim, follow Nim MCP behavior exactly:\n\n1. Discover the live model with `models_explore` using `action: \"recommend\"`, `\"search\"`, or `\"list\"` for the user's intent.\n2. Call `models_explore` with `action: \"get\"` on the chosen `model_id` and treat its `generationContract` as the source of truth.\n3. Pass only fields listed by the contract. Do not guess parameter names, resolutions, duration values, `fileInputs`, or audio fields.\n4. For edits, references, image-to-video, or uploaded assets, call `media_upload` first and pass only the returned Nim `file_url` values in `fileInputs`.\n5. Never pass local file paths directly to `generate_image` or `generate_video`.\n6. Poll `get_generation_status` until the job is `finished`, `failed`, or `cancelled`; do not claim completion before a real media URL is returned.\n\nDefault quality preference:\n\n- For video generation, prefer the best current Seedance 2.5 / Seedance image-to-video option returned by Nim for the request, in draft mode by default (`draft: true`, 480p; no `resolution`); 1080p / 4k only when the user asks.\n- For reference still generation, prefer `GPT Image 2.6 Sunburst medium 2K` for controlled, polished, prompt-faithful anchors, or `Nano Banana 2.1 2K` for fast high-quality exploration and identity/product reference work.\n- If the user explicitly names a model (including Nano Banana Pro), search for that model and then adapt to its exact contract; an explicit choice overrides these defaults.\n\n## Pre-Generation Quality Plan\n\nBefore high-quality video output, create a short plan that proves the visual logic is correct before execution.\n\nThe plan must identify:\n\n- final output goal, platform, aspect ratio, duration, and generator;\n- whether the request is one shot, a scene sequence, or a multi-clip series;\n- selected visual grammar and why it fits the brief;\n- intended shot scale, camera angle, camera movement, transition logic, and continuity risk;\n- whether reference frames are required before video generation;\n- which reference-frame model to use: `GPT Image 2.6 Sunburst medium 2K` or `Nano Banana 2.1 2K`;\n- which Nim model family will be discovered for final video, without hardcoding a stale model id.\n\nFor scene, storyboard, shot-list, montage, sequence, or camera-angle requests, do not jump straight to final prompts. First check that angles are meaningfully chosen, transitions are edit-safe, screen direction and eyeline are plausible, and no camera move contradicts the scene physics.\n\nIf the plan exposes weak or random angles, revise the plan before writing final prompts.\n\n## Reference Frame Planning\n\nPlan still reference frames before video generation when identity, product appearance, location continuity, composition, or multi-shot coherence matters.\n\nUse reference frames for:\n\n- product or brand hero frames;\n- character identity, wardrobe, pose, makeup, or body-proportion locks;\n- location plates and lighting anchors;\n- opening/ending frames for image-to-video;\n- important story beats or angle changes;\n- transition anchors between shots;\n- any shot where text-only prompting is likely to drift.\n\nFor each required reference frame, output:\n\n```json\n{\n  \"purpose\": \"identity/product/location/beat/transition/angle\",\n  \"model\": \"GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K\",\n  \"size\": \"2K\",\n  \"prompt\": \"...\",\n  \"used_by_video_prompt\": \"segment/shot id\"\n}\n```\n\nReference still prompts should follow this order:\n\n1. Subject identity and permanent details.\n2. Wardrobe/product/location details to lock.\n3. Camera/lens/framing and aspect ratio.\n4. Real lighting and texture cues from `Camera_quality.json`.\n5. LUT/color treatment from `LUT.json` only when it helps the video.\n6. Negative constraints that protect anatomy, text, logos, and material details.\n\nIf the user asks for actual generation, generate or request the reference frames before video generation when the runtime supports it. If reference frame generation is unavailable, blocked by credits, or requires a missing source image, state the blocker and continue with prompt-only planning only when the user accepts that fallback.\n\n## Character/Subject Consistency\n\nUse this when references must travel across scenes. The goal is not \"similar vibe\"; it is the same person, character, product, object, mascot, or branded item with stable identity.\n\nIntake:\n\n- Required: one or more identity reference images plus the new scene/action.\n- Optional: secondary references for outfit, pose, location, lighting, product, audio, or styling.\n- If a required reference is missing, ask only for that missing reference before generation.\n\nPrompt pattern:\n\n```text\nThe identical <subject> from @image1, reimagined in <new scene/action>. Preserve <defining identity traits> exactly: <face/product geometry/logo placement/silhouette/material/color blocking/accessories>. Change only <allowed changes>. Do not alter identity, proportions, permanent markings, or product structure.\n```\n\nFor multiple references, assign roles clearly and preserve upload order:\n\n```text\n@image1 = main identity. @image2 = outfit/body proportions. @image3 = location. @image4 = product/object. The video must preserve each reference role exactly.\n```\n\nWhen a character moves between scenes, write an identity lock before the scene prompt:\n\n- face shape, hair shape/color, makeup, skin texture, proportions, body type;\n- wardrobe pieces, accessories, tattoos, product geometry, logo placement;\n- forbidden drift: age shift, face swap, wardrobe merge, material change, product redesign, extra logos.\n\n## Cinematic Video Prompting\n\nUse compact shot language. Lead with the camera phrase, then add only the elements that control the shot.\n\nScaffold:\n\n```text\nFraming + camera motion: [wide establishing / tight close-up] + [slow push-in / pan right / rack focus / dolly zoom / oner]\nStyle: [cinematic photorealism / documentary realism / shallow depth of field / film grain]\nLighting: [golden-hour backlit / cool window fill / single warm practical / mixed practicals]\nLocation: [specific place, in a few words that carry the decor by world knowledge]\nAction: [one small thing the subject does, bounded by what is visible in frame]\n```\n\nRules:\n\n- Speak camera vocabulary directly: push-in, pull-back, pan, tilt, dolly, crane, orbit, rack focus, locked-off, handheld, selfie, POV.\n- Pace the move: slow, gradual, steady, sudden, urgent, tiny wrist shake.\n- For image-to-video, direct motion only; the source still already fixes the look.\n- Bound motion to visible evidence. A tight portrait cannot walk away unless the full body exists in the source or a wider reference is created first.\n- Use the selected LUT and camera-quality style as controlled finishing language, not as a wall of adjectives.\n\n## UGC Notes\n\nFor UGC prompts, realism comes from ordinary recording behavior, not polished cinematography.\n\nUse:\n\n- vertical `9:16`, social-media ad, TikTok/Reels/Shorts;\n- iPhone/front-camera/rear-camera/mirror/selfie/tripod language;\n- natural HDR, autofocus breathing, auto-exposure adaptation, subtle handheld wrist movement;\n- real skin pores, natural blinking, breathing, tiny expression changes, imperfect framing;\n- direct-to-camera delivery, FaceTime feeling, casual pauses, slight glances away and back;\n- explicit audio/VO/lip-sync instructions only when the model supports them.\n\nAvoid:\n\n- cinematic lighting, stylized color grading, beauty filter, skin smoothing, subtitles unless requested, text overlays, CGI, fake logos;\n- random camera movement when the brief asks for tripod/static framing;\n- impossible phone handling, impossible mirror geometry, or outfit/product morphing.\n\nFor deeper UGC construction, use the separate `nim-ugc-prompts` skill when available.\n\n## Database Orchestrator Workflow\n\nUse this workflow when the user asks to improve a rough prompt through databases or wants an explicit analysis-to-final pipeline:\n\n1. Run `python scripts/prompt_quality_orchestrator.py index` after adding or changing databases.\n2. Run `python scripts/prompt_quality_orchestrator.py build --prompt \"<prompt>\"`.\n3. Read the output in order: Prompt Analysis, Improvement Directions, Selected Database Records, Final Prompt.\n4. If the user asked not to improve, run with `--no-improve` or return the original prompt unchanged.\n\nTo add a new prompt database or skill, edit `references/prompt_database_registry.json`:\n\n- Add a `sources[]` entry for a known adapter: `seedance_lut`, `seedance_camera_quality`, `seedance_camera_angles`, `universal_prompt_skills`, `markdown_sections`, `generic_json`, `legacy_prompt_python`, or `codex_skill`.\n- Add a `skill_roots[]` entry when new Codex skill folders should be auto-discovered by `SKILL.md`.\n- Re-run `python scripts/prompt_quality_orchestrator.py index`.\n\nThe SQLite index is disposable generated state. The registry and source files are authoritative.\n\n## Reference Use\n\n- Use `LUT.json` to select one LUT by `best_for`, `look_goal`, and `copy_paste_suffix_en`; include its suffix in the final prompt.\n- Use `LUT.json` `usage.global_negative_prompt` as the negative prompt unless the user supplies stricter negatives.\n- Use `Camera_quality.json` to select one style prompt by category, style name, camera, optics, lighting, and look. Extract the relevant camera/quality language; do not paste a full 500-word style prompt unless the user asked for a long master prompt.\n- For Scene prompt mode, use `camera_angle_system_prompt.md` as the operating behavior, `camera_angle_rulebook.md` for hard transition rules, and `camera_angle_knowledge_dataset_500.json` as the pattern bank.\n- When using the dataset, retrieve 3-8 relevant `reference_items` by product category, mood, format, or scene logic. Extract transition and angle logic only; generate original shots.\n\n## Normal Video Prompt Workflow\n\n1. Identify subject, product/category, platform, duration, aspect ratio, mood, location, action, and fixed user constraints.\n2. Select the closest LUT and one camera-quality style. If several fit, prefer the least stylized option that preserves realism.\n3. Decide whether reference frames should be generated first. If yes, write those still prompts before the video prompt.\n4. Build one copy-ready English prompt with this order: references and identity locks, scene/action, camera and movement, optics/focus, lighting, selected Quality style language, selected LUT suffix, constraints.\n5. Keep the prompt physically plausible: one readable action, one camera logic, preserved identity/props/location, no impossible movement.\n\nReturn:\n\n```markdown\n## Reference Frames\n[only when needed]\n\n## Final Video Prompt\n[copy-ready English prompt]\n\n## Selected LUT\n[id] - [name]\n[copy_paste_suffix_en]\n\n## Selected Quality Style\n[id] - [style_name_en]\n[short reason and extracted camera/quality language]\n\n## Nim Generation Notes\n[model discovery target, required fileInputs, aspect ratio, duration, resolution only if supported by contract]\n\n## Negative Prompt\n[global or user-adjusted negative prompt]\n```\n\n## Scene Prompt Workflow\n\n1. Break the script or concept into 5-9 beats unless the user specifies another count.\n2. Assign each beat a story function: hook, problem, context, proof, reveal, reaction, CTA, or scene-specific equivalent.\n3. Choose a base visual grammar and one contrast grammar only if it marks a turning point.\n4. Create reference-frame requirements for recurring character/product/location/transition anchors.\n5. For each beat, specify shot scale, angle, movement, transition in/out, audio bridge, and why the angle changes meaning.\n6. Validate adjacent beats against the rulebook: 180-degree axis, eyeline, screen position, scale jumps, light direction, lens continuity, and bridge-shot needs.\n7. Attach LUT + Quality language to every generated beat prompt, keeping each prompt copy-ready in English.\n\nReturn:\n\n```json\n{\n  \"concept\": \"...\",\n  \"visual_grammar\": \"...\",\n  \"selected_lut\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"selected_quality_style\": {\n    \"id\": \"...\",\n    \"name\": \"...\",\n    \"reason\": \"...\"\n  },\n  \"reference_frames\": [\n    {\n      \"purpose\": \"identity/product/location/beat/transition/angle\",\n      \"model\": \"GPT Image 2.6 Sunburst medium 2K | Nano Banana 2.1 2K\",\n      \"size\": \"2K\",\n      \"prompt\": \"...\",\n      \"used_by_video_prompt\": \"shot id\"\n    }\n  ],\n  \"reference_logic\": [\"3-8 brief notes from the dataset/rulebook, without copying a source scene\"],\n  \"shot_list\": [\n    {\n      \"beat\": 1,\n      \"duration_sec\": 1.5,\n      \"story_function\": \"hook/problem/proof/reveal/reaction/CTA\",\n      \"shot_scale\": \"CU/MS/ELS/INSERT/POV/etc.\",\n      \"angle\": \"eye_level/top_down/OTS/low_angle/etc.\",\n      \"movement\": \"locked/push_in/pan/reveal/handheld/etc.\",\n      \"transition_in\": \"straight_cut/J_cut/match_action/etc.\",\n      \"transition_out\": \"...\",\n      \"audio_bridge\": \"...\",\n      \"why_this_angle\": \"...\",\n      \"risk_check\": \"...\",\n      \"copy_ready_prompt_en\": \"...\"\n    }\n  ],\n  \"bridge_shots_needed\": [\"...\"],\n  \"do_not_do\": [\"...\"],\n  \"nim_generation_notes\": {\n    \"discover_model_target\": \"Seedance 2.5 / image-to-video / text-to-video as required\",\n    \"required_fileInputs\": [\"@image1 role\", \"@image2 role\"],\n    \"contract_sensitive_params\": [\"requestedAspectRatio\", \"mediaLength\", \"resolution\", \"fps\", \"keepSound\"]\n  },\n  \"negative_prompt\": \"...\",\n  \"edit_validation\": {\n    \"emotion_story_rhythm_ok\": true,\n    \"reference_roles_clear\": true,\n    \"identity_lock_ok\": true,\n    \"eye_trace_ok\": true,\n    \"axis_180_ok\": true,\n    \"scale_jumps_justified\": true,\n    \"screen_direction_ok\": true,\n    \"bridge_shots_ok\": true\n  }\n}\n```\n\n## Quality Bar\n\n- Prompts must be copy-ready in English. Use Russian only for short notes, assumptions, or user-facing explanation when useful.\n- Improve both the reference still prompts and the final video prompt when reference frames affect quality.\n- Prefer specific DOP/operator language over vague phrases like \"cinematic\" or \"high quality.\"\n- Do not mix random camera grammars in one short sequence.\n- Do not add unsupported product claims, false before/after transformations, fake readable text, random logos, or impossible camera moves.\n- Do not generate through Nim until required references have real Nim `file_url` values.\n- If information is missing, make a reasonable assumption and label it briefly instead of blocking on extra questions.\n"
}

SHA-256 of public snapshot: 9403577690cb5437b89fc48a3516bf07e7585d6c0a252736db94e0ea1f1d2730