Cinematic Script Writer
Create professional cinematic scripts for AI video generation with character consistency and cinematography knowledge.
Installation
# Install via npm
npm install -g cinematic-script-writer
# Or install via OpenClaw CLI
openclaw skills install cinematic-script-writer
CLI Usage
Context Management
Create and manage story contexts with characters, era, and settings:
# Create a new story context
cinematic-script create-context --name "My Story" --era "Ancient India" --period "Ramayana Era"
# List all saved contexts
cinematic-script list-contexts
# Get a specific context
cinematic-script get-context --id <context-id>
# Delete a context
cinematic-script delete-context --id <context-id>
Story Generation
Generate story ideas and create cinematic scripts:
# Generate story ideas for a context
cinematic-script generate-ideas --context-id <context-id> --count 3
# Create a full cinematic script from an idea
cinematic-script create-script --context-id <context-id> --idea-id <idea-id>
# Generate YouTube metadata for a script
cinematic-script generate-metadata --script-id <script-id>
Cinematography Reference
Access camera angles, lighting, and shot type databases:
# List all camera angles
cinematic-script list-angles
# List all camera movements
cinematic-script list-movements
# List all shot types
cinematic-script list-shots
# Get camera setup recommendation
cinematic-script suggest-camera --scene-type "dialogue" --mood "dramatic"
# Get lighting suggestions
cinematic-script suggest-lighting --scene-type "interior" --mood "mysterious"
# Get color grading suggestions
cinematic-script suggest-grading --genre "action"
# Search cinematography database
cinematic-script search --query "low angle lighting"
Character Consistency
Create character references and validate prompts:
# Create a character reference sheet
cinematic-script create-character-ref --character-id "char1" --name "Kutil" --visual "Purple rakshasa with golden eyes" --era "Ancient" --style "Pixar 3D"
# Create a voice profile for dialogue consistency
cinematic-script create-voice --character-id "char1" --name "Kutil" --personality "Mischievous, witty" --age "adult" --role "protagonist"
# Validate a prompt for anachronisms
cinematic-script validate-prompt --prompt "Your prompt here" --character-ids "char1,char2" --context-id <context-id>
Storage
Save projects to Google Drive or local storage:
# Connect to Google Drive
cinematic-script connect-drive
# Connect to local storage
cinematic-script connect-local
# Check storage connection status
cinematic-script storage-status
# Save project to storage
cinematic-script save --title "My Story" --context-id <context-id> --script-id <script-id>
Storage implementation details:
- Google Drive: Uses Google OAuth2 for authentication. Credentials are stored securely in memory.
- Local Storage: Saves to the user's downloads folder as fallback.
- Library: Uses
googleapis for Google Drive integration.
Export
Export scripts in various formats:
# Export as Markdown (default)
cinematic-script export --script-id <script-id> --format markdown
# Export as JSON
cinematic-script export --script-id <script-id> --format json
# Export as plain text
cinematic-script export --script-id <script-id> --format text
Features
- Story Context Management: Create and manage story settings, characters, and eras
- Story Idea Generation: Generate multiple story concepts with hooks and twists
- Cinematic Script Writing: Full scripts with camera angles, lighting, and shot types
- Character Consistency: Reference sheets and voice profiles for consistent characters
- Environment Consistency: Era-appropriate style guides and anachronism detection
- YouTube Metadata: Generate titles, descriptions, and SEO tags
- Storage Integration: Save to Google Drive or local storage
- Export Options: JSON, Markdown, or plain text formats
When to Use
- Writing cinematic scripts or screenplays
- Creating stories with characters for animation/video
- Generating image/video prompts for AI tools (Midjourney, Sora, Veo, Runway)
- Getting cinematography guidance (camera angles, lighting, color grading)
- Maintaining character consistency across scenes
- Saving script projects to Google Drive
Cinematography Reference
Camera Angles
| Angle |
Emotional Impact |
Best For |
| Eye-level |
Connection, equality, neutrality |
Dialogue, emotional moments |
| Low-angle |
Power, dominance, heroism |
Villain reveals, hero moments |
| High-angle |
Vulnerability, weakness, overview |
Defeat, establishing scale |
| Bird-eye |
Insignificance, detachment, patterns |
Epic scale, isolation |
| Worm-eye |
Awe, grandeur, overwhelming presence |
Monuments, giants, deities |
| Dutch angle |
Unease, disorientation, tension |
Chaos, dreams, horror |
| Overhead |
Omniscience, surveillance |
Table scenes, fight choreography |
| Shoulder-level |
Intimate, casual, documentary feel |
Walking conversations |
| Hip-level |
Cowboy feel, casual tension |
Westerns, standoffs |
| Knee-level |
Childlike perspective, grounding |
Children's stories, humility |
Camera Movements
| Movement |
Effect |
Use For |
| Static |
Stability, observation |
Contemplation, portraits |
| Pan |
Revealing space |
Following action horizontally |
| Tilt |
Revealing height |
Following vertical action |
| Dolly |
Immersion, intimacy |
Moving toward/away from subject |
| Truck |
Following action |
Side-to-side parallel movement |
| Crane |
Epic scale, drama |
Sweeping reveals, transitions |
| Handheld |
Urgency, realism |
Documentary, action, chaos |
| Steadicam |
Smooth floating |
Following through space, dreams |
| Zoom |
Sudden focus, surprise |
Dramatic emphasis, comedy |
| Rack-focus |
Revealing connections |
Shifting attention between subjects |
Shot Types
| Shot |
Framing |
Emotional Impact |
| Establishing |
Wide location |
Sets scene, geography, time |
| Wide/Full |
Subject + surroundings |
Context, environment, scale |
| Medium |
Waist up |
Dialogue, body language |
| Close-up |
Head/shoulders |
Emotion, reaction, intimacy |
| Extreme close-up |
Detail only (eyes, hands) |
Intense emotion, symbolism |
| Over-shoulder |
Past one subject to another |
Conversation, perspective |
| POV |
Character's view |
Immersion, subjectivity |
| Insert |
Object detail |
Plot info, symbolism |
| Two-shot |
Two subjects together |
Relationship, tension |
Lighting Techniques
| Technique |
Mood |
Best For |
| Three-point |
Professional, balanced |
Dialogue, interviews |
| High-key |
Happy, optimistic, bright |
Comedy, commercials |
| Low-key |
Dramatic, mysterious |
Drama, horror, noir |
| Golden-hour |
Romantic, nostalgic, magical |
Romance, emotional moments |
| Blue-hour |
Melancholic, mysterious |
Urban, cityscapes |
| Chiaroscuro |
Dramatic contrast |
Art films, period pieces |
| Rim/backlight |
Separation, ethereal |
Silhouettes, divine presence |
| Practical |
Realistic, natural |
Candles, fires, lamps |
| God-rays |
Divine, revelation |
Spiritual moments, forests |
| Neon |
Urban, futuristic |
Cyberpunk, nightlife |
Color Grading
| Style |
Look |
Genre |
| Teal-orange |
Blockbuster cinematic |
Action, sci-fi |
| Noir |
High-contrast desaturated |
Crime, mystery |
| Vintage/sepia |
Warm, nostalgic |
Period pieces, memory |
| Pastel |
Soft, dreamy |
Romance, coming-of-age |
| Bleach bypass |
Desaturated, gritty |
War, thriller |
| Cross-process |
Surreal colors |
Music videos, dreams |
Image Prompt Format
When generating image prompts for AI tools:
[Shot type] [camera angle] of [subject doing action], [visual style] style,
[lighting technique], [composition rule], [color grading],
[era-appropriate details], [mood keywords], highly detailed, cinematic
Example:
Low-angle close-up of Kutil the purple rakshasa with mischievous golden eyes,
Pixar 3D style, dramatic underlighting with rim light, rule-of-thirds composition,
warm golden color grading, ancient Lanka palace background with ornate pillars,
playful yet mysterious mood, highly detailed, cinematic, 8k
Output Structure
When saving a project, the following files are generated:
Story Title/
├── 00_INDEX.md # Navigation
├── 01_SCRIPT_README.md # Human-readable script
├── 02_IMAGE_PROMPTS.md # All AI generation prompts
├── 03_CHARACTER_REFS.md # Character design guides
├── 04_VOICE_GUIDES.md # Dialogue consistency guides
├── 05_YOUTUBE_META.md # Title, description, tags
└── 99_CONTEXT_INFO.md # Story context and background
Important Rules
- Always maintain character consistency - include character's full visual description in every image prompt
- Never include anachronisms - validate props, clothing, objects against the era
- Match cinematography to emotion - use low angles for power, high angles for vulnerability
- Include both image and video prompts - image prompts are static, video prompts describe motion
- Production-ready output - every script should include enough detail for a team to produce it
- Respect the tone - comedy needs comedic timing; drama needs longer holds on reactions
License
MIT
Author
Praveen Kumar
1---2name: cinematic-script-writer3description: Create professional cinematic scripts for AI video generation with character consistency and cinematography knowledge. Use when the user wants to write a cinematic script, create story contexts with characters, generate image prompts for AI video tools (Midjourney, Sora, Veo), or needs cinematography guidance (camera angles, lighting, color grading). Also use for character consistency sheets, voice profiles, anachronism detection, and saving scripts to Google Drive.4---56# Cinematic Script Writer78Create professional cinematic scripts for AI video generation with character consistency and cinematography knowledge.910## Installation1112```bash13# Install via npm14npm install -g cinematic-script-writer1516# Or install via OpenClaw CLI17openclaw skills install cinematic-script-writer18```1920## CLI Usage2122### Context Management2324Create and manage story contexts with characters, era, and settings:2526```bash27# Create a new story context28cinematic-script create-context --name "My Story" --era "Ancient India" --period "Ramayana Era"2930# List all saved contexts31cinematic-script list-contexts3233# Get a specific context34cinematic-script get-context --id <context-id>3536# Delete a context37cinematic-script delete-context --id <context-id>38```3940### Story Generation4142Generate story ideas and create cinematic scripts:4344```bash45# Generate story ideas for a context46cinematic-script generate-ideas --context-id <context-id> --count 34748# Create a full cinematic script from an idea49cinematic-script create-script --context-id <context-id> --idea-id <idea-id>5051# Generate YouTube metadata for a script52cinematic-script generate-metadata --script-id <script-id>53```5455### Cinematography Reference5657Access camera angles, lighting, and shot type databases:5859```bash60# List all camera angles61cinematic-script list-angles6263# List all camera movements64cinematic-script list-movements6566# List all shot types67cinematic-script list-shots6869# Get camera setup recommendation70cinematic-script suggest-camera --scene-type "dialogue" --mood "dramatic"7172# Get lighting suggestions73cinematic-script suggest-lighting --scene-type "interior" --mood "mysterious"7475# Get color grading suggestions76cinematic-script suggest-grading --genre "action"7778# Search cinematography database79cinematic-script search --query "low angle lighting"80```8182### Character Consistency8384Create character references and validate prompts:8586```bash87# Create a character reference sheet88cinematic-script create-character-ref --character-id "char1" --name "Kutil" --visual "Purple rakshasa with golden eyes" --era "Ancient" --style "Pixar 3D"8990# Create a voice profile for dialogue consistency91cinematic-script create-voice --character-id "char1" --name "Kutil" --personality "Mischievous, witty" --age "adult" --role "protagonist"9293# Validate a prompt for anachronisms94cinematic-script validate-prompt --prompt "Your prompt here" --character-ids "char1,char2" --context-id <context-id>95```9697### Storage9899Save projects to Google Drive or local storage:100101```bash102# Connect to Google Drive103cinematic-script connect-drive104105# Connect to local storage106cinematic-script connect-local107108# Check storage connection status109cinematic-script storage-status110111# Save project to storage112cinematic-script save --title "My Story" --context-id <context-id> --script-id <script-id>113```114115Storage implementation details:116- **Google Drive**: Uses Google OAuth2 for authentication. Credentials are stored securely in memory.117- **Local Storage**: Saves to the user's downloads folder as fallback.118- **Library**: Uses `googleapis` for Google Drive integration.119120### Export121122Export scripts in various formats:123124```bash125# Export as Markdown (default)126cinematic-script export --script-id <script-id> --format markdown127128# Export as JSON129cinematic-script export --script-id <script-id> --format json130131# Export as plain text132cinematic-script export --script-id <script-id> --format text133```134135## Features136137- **Story Context Management**: Create and manage story settings, characters, and eras138- **Story Idea Generation**: Generate multiple story concepts with hooks and twists139- **Cinematic Script Writing**: Full scripts with camera angles, lighting, and shot types140- **Character Consistency**: Reference sheets and voice profiles for consistent characters141- **Environment Consistency**: Era-appropriate style guides and anachronism detection142- **YouTube Metadata**: Generate titles, descriptions, and SEO tags143- **Storage Integration**: Save to Google Drive or local storage144- **Export Options**: JSON, Markdown, or plain text formats145146## When to Use147148- Writing cinematic scripts or screenplays149- Creating stories with characters for animation/video150- Generating image/video prompts for AI tools (Midjourney, Sora, Veo, Runway)151- Getting cinematography guidance (camera angles, lighting, color grading)152- Maintaining character consistency across scenes153- Saving script projects to Google Drive154155## Cinematography Reference156157### Camera Angles158159| Angle | Emotional Impact | Best For |160|-------|-----------------|----------|161| Eye-level | Connection, equality, neutrality | Dialogue, emotional moments |162| Low-angle | Power, dominance, heroism | Villain reveals, hero moments |163| High-angle | Vulnerability, weakness, overview | Defeat, establishing scale |164| Bird-eye | Insignificance, detachment, patterns | Epic scale, isolation |165| Worm-eye | Awe, grandeur, overwhelming presence | Monuments, giants, deities |166| Dutch angle | Unease, disorientation, tension | Chaos, dreams, horror |167| Overhead | Omniscience, surveillance | Table scenes, fight choreography |168| Shoulder-level | Intimate, casual, documentary feel | Walking conversations |169| Hip-level | Cowboy feel, casual tension | Westerns, standoffs |170| Knee-level | Childlike perspective, grounding | Children's stories, humility |171172### Camera Movements173174| Movement | Effect | Use For |175|----------|--------|---------|176| Static | Stability, observation | Contemplation, portraits |177| Pan | Revealing space | Following action horizontally |178| Tilt | Revealing height | Following vertical action |179| Dolly | Immersion, intimacy | Moving toward/away from subject |180| Truck | Following action | Side-to-side parallel movement |181| Crane | Epic scale, drama | Sweeping reveals, transitions |182| Handheld | Urgency, realism | Documentary, action, chaos |183| Steadicam | Smooth floating | Following through space, dreams |184| Zoom | Sudden focus, surprise | Dramatic emphasis, comedy |185| Rack-focus | Revealing connections | Shifting attention between subjects |186187### Shot Types188189| Shot | Framing | Emotional Impact |190|------|---------|-----------------|191| Establishing | Wide location | Sets scene, geography, time |192| Wide/Full | Subject + surroundings | Context, environment, scale |193| Medium | Waist up | Dialogue, body language |194| Close-up | Head/shoulders | Emotion, reaction, intimacy |195| Extreme close-up | Detail only (eyes, hands) | Intense emotion, symbolism |196| Over-shoulder | Past one subject to another | Conversation, perspective |197| POV | Character's view | Immersion, subjectivity |198| Insert | Object detail | Plot info, symbolism |199| Two-shot | Two subjects together | Relationship, tension |200201### Lighting Techniques202203| Technique | Mood | Best For |204|-----------|------|----------|205| Three-point | Professional, balanced | Dialogue, interviews |206| High-key | Happy, optimistic, bright | Comedy, commercials |207| Low-key | Dramatic, mysterious | Drama, horror, noir |208| Golden-hour | Romantic, nostalgic, magical | Romance, emotional moments |209| Blue-hour | Melancholic, mysterious | Urban, cityscapes |210| Chiaroscuro | Dramatic contrast | Art films, period pieces |211| Rim/backlight | Separation, ethereal | Silhouettes, divine presence |212| Practical | Realistic, natural | Candles, fires, lamps |213| God-rays | Divine, revelation | Spiritual moments, forests |214| Neon | Urban, futuristic | Cyberpunk, nightlife |215216### Color Grading217218| Style | Look | Genre |219|-------|------|-------|220| Teal-orange | Blockbuster cinematic | Action, sci-fi |221| Noir | High-contrast desaturated | Crime, mystery |222| Vintage/sepia | Warm, nostalgic | Period pieces, memory |223| Pastel | Soft, dreamy | Romance, coming-of-age |224| Bleach bypass | Desaturated, gritty | War, thriller |225| Cross-process | Surreal colors | Music videos, dreams |226227## Image Prompt Format228229When generating image prompts for AI tools:230231```232[Shot type] [camera angle] of [subject doing action], [visual style] style,233[lighting technique], [composition rule], [color grading],234[era-appropriate details], [mood keywords], highly detailed, cinematic235```236237Example:238```239Low-angle close-up of Kutil the purple rakshasa with mischievous golden eyes,240Pixar 3D style, dramatic underlighting with rim light, rule-of-thirds composition,241warm golden color grading, ancient Lanka palace background with ornate pillars,242playful yet mysterious mood, highly detailed, cinematic, 8k243```244245## Output Structure246247When saving a project, the following files are generated:248249```250Story Title/251├── 00_INDEX.md # Navigation252├── 01_SCRIPT_README.md # Human-readable script253├── 02_IMAGE_PROMPTS.md # All AI generation prompts254├── 03_CHARACTER_REFS.md # Character design guides255├── 04_VOICE_GUIDES.md # Dialogue consistency guides256├── 05_YOUTUBE_META.md # Title, description, tags257└── 99_CONTEXT_INFO.md # Story context and background258```259260## Important Rules2612621. **Always maintain character consistency** - include character's full visual description in every image prompt2632. **Never include anachronisms** - validate props, clothing, objects against the era2643. **Match cinematography to emotion** - use low angles for power, high angles for vulnerability2654. **Include both image and video prompts** - image prompts are static, video prompts describe motion2665. **Production-ready output** - every script should include enough detail for a team to produce it2676. **Respect the tone** - comedy needs comedic timing; drama needs longer holds on reactions268269## License270271MIT272273## Author274275Praveen Kumar