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.zipInstalls 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.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
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-parsewhen 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.
- Exact character match:
- Matches with score
>= 0.35are linked into theshot.matched_elementsJSON field. - Why it matters:
StoryboardManageruses 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
Jobmarked withis_thumbnail=True. - The
BackgroundTasksworker fulfills the generation, saves toShot.thumbnail_url, and fires an SSE"complete"event containingshot_idinstead oflastJobId. - CRITICAL: The frontend ServerSlice deliberately ignores
thumbnailUrlupdates if they do not matchshot.lastJobIdunlessis_thumbnail: trueis 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 shotN, it attempts to pull the last frame of shotN-1. - Uses
asyncio.create_subprocess_execffmpeg 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_imageatframe_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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| milimo-storyboard-analyst (this skill) | 0 | 5mo | No flags | Advanced |
| gemini-logo-remover | 9 | 8mo | Review | Beginner |
| data-engineering | 13 | 7mo | Review | Advanced |
| crawl4ai | 21 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
gemini-logo-remover
bear2u
Remove Gemini logos, watermarks, or AI-generated image markers using OpenCV inpainting. Use this skill when the user asks to remove Gemini logo, AI watermark, or any logo/watermark from images.
data-engineering
pluginagentmarketplace
ETL pipelines, Apache Spark, data warehousing, and big data processing. Use for building data pipelines, processing large datasets, or data infrastructure.
crawl4ai
basher83
This skill should be used when users need to scrape websites, extract structured data, handle JavaScript-heavy pages, crawl multiple URLs, or build automated web data pipelines. Includes optimized extraction patterns with schema generation for efficient, LLM-free extraction.
data-cleaning-pipeline
aj-geddes
Build robust processes for data cleaning, missing value imputation, outlier handling, and data transformation for data preprocessing, data quality, and data pipeline automation
pdf-processing-pro
davila7
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
paddle-ocr-validation
jgtolentino
PaddleOCR-based receipt and BIR form extraction with validation