MI

milimo-storyboard-analyst

Converts scripts into JSON-based scene and shot structures using regex or AI parsing. Manages cinematic prompt generation and storyboard metadata.

Install

mkdir -p .claude/skills/milimo-storyboard-analyst && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11484" && unzip -o skill.zip -d .claude/skills/milimo-storyboard-analyst && rm skill.zip

Installs to .claude/skills/milimo-storyboard-analyst

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Expertise in the Milimo Video Storyboard pipeline, from script parsing (Regex vs AI via Gemma) to generating concept art thumbnails and handling the Smart Element Matching engine. Use this when debugging storyboard extraction, prompt generation for chained video chunks, or modifying the scene/shot hierarchy logic.
315 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Parse raw screenplay text into structured Scene and Shot JSON objects.
  • Utilize a Regex Parser for perfectly formatted standard screenplays.
  • Employ an AI Parser (Gemma 3) for complex narrative descriptions and implicit actions.
  • Auto-link newly discovered shots to existing Project Elements (characters, locations, items).
  • Generate 512x320 concept art thumbnails for shots using Flux 2.

How it works

The skill processes screenplays using either a Regex Parser for standard formats or an AI Parser for complex narratives, converting text into structured JSON. It then auto-links elements, generates concept art thumbnails, and ensures continuity between video chunks by pulling the last frame of the previous shot.

Inputs & outputs

You give it
Raw screenplay text.
You get back
Structured JSON objects for scenes and shots, enriched with context, matched elements, and concept art thumbnails.

When to use milimo-storyboard-analyst

  • Parse a screenplay into a JSON scene structure
  • Debug storyboard extraction logic
  • Generate shot-type metadata from action text
  • Modify the scene hierarchy in a video project

About this skill

Milimo Storyboard Analyst Skill

As the Milimo Storyboard Analyst, your domain is transforming plain text screenplays into generation-ready, strictly formatted data structures (Scene and Shot records), and enriching those structures with intelligent context.

1. Script Parsing Pipelines

The frontend StoryboardView.tsx accepts raw script text. The backend processes it through two main parsing methodologies:

A. The Regex Parser (services/script_parser.py)

  • Fast, deterministic. Good for perfectly formatted standard screenplays.
  • Uses regex to detect INT./EXT. (Scenes), ALL CAPS (Character Names), and action blocks.
  • Failures: Will miss non-standard formatting, prose descriptions, or poorly formatted text.

B. The AI Parser (services/ai_storyboard.py)

  • Dispatched via POST /storyboard/ai-parse when the brain icon is clicked.
  • Routes through the LTX-2 Text Encoder's chat completion interface (_enhance()), defaulting to Gemma 3.
  • Instructs the AI (via AI_STORYBOARD_SYSTEM_PROMPT) to act as a storyboard artist and build a cinematic [ { "scene_heading": "...", "shots": [ ... ] } ] JSON array.
  • Evaluates implicit action descriptions to generate varied, appropriate cinematic shot_types (close_up, wide, tracking, etc.).
  • Fallback: If Gemma unavailable, automatically routes back to Regex parser.

2. Smart Element Matching (services/element_matcher.py)

After a script is parsed but before it is committed to the database, the backend attempts to auto-link the newly discovered shots to existing Project Elements (characters, locations, items).

  • No LLM required: Evaluates 8 discrete signals deterministically.
  • Calculates a composite confidence score:
    • Exact character match: 1.0
    • Trigger word in action: 0.95
    • Name in action: 0.85, etc.
  • Matches with score >= 0.35 are linked into the shot.matched_elements JSON field.
  • Why it matters: StoryboardManager uses this data to inject visual conditioning (IP-Adapter reference images) into the generation pipeline for that shot.

3. Thumbnail Generation & The Job Queue

  • UI triggers thumbnail generation: POST /projects/{id}/storyboard/thumbnails.
  • Generates 512x320 concept art using Flux 2 (generate_image_task).
  • Creates a backend Job marked with is_thumbnail=True.
  • The BackgroundTasks worker fulfills the generation, saves to Shot.thumbnail_url, and fires an SSE "complete" event containing shot_id instead of lastJobId.
  • CRITICAL: The frontend ServerSlice deliberately ignores thumbnailUrl updates if they do not match shot.lastJobId unless is_thumbnail: true is set, ensuring video generation jobs and thumbnail generation jobs do not conflict in the UI state.

4. Continuity (The Pipeline Handoff)

  • To ensure flow across scenes, when StoryboardManager.prepare_shot_generation() is called on shot N, it attempts to pull the last frame of shot N-1.
  • Uses asyncio.create_subprocess_exec ffmpeg extraction (-sseof -0.1) to grab the frame without blocking the FastAPI event loop.
  • Modifies the generation request to include this extracted image as conditioning_image at frame_0.

When not to use it

  • When the user needs to debug storyboard extraction, prompt generation, or scene/shot hierarchy logic without providing a script.
  • When the AI Parser (Gemma) is unavailable, as it will route back to the Regex parser.

Limitations

  • The Regex Parser will miss non-standard formatting, prose descriptions, or poorly formatted text.
  • The AI Parser defaults to Gemma 3 and falls back to the Regex parser if Gemma is unavailable.
  • The Smart Element Matching engine evaluates 8 discrete signals deterministically and requires a score of `>= 0.35` for linking.

How it compares

This skill automates the complex process of transforming raw screenplay text into a generation-ready, structured data format with intelligent context and visual assets, which is more efficient and consistent than manual storyboard creation.

Compared to similar skills

milimo-storyboard-analyst side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
milimo-storyboard-analyst (this skill)05moNo flagsAdvanced
gemini-logo-remover98moReviewBeginner
data-engineering137moReviewAdvanced
crawl4ai218moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry