/wtfb-story-harness:format-exportfrom Words To Film By — Story Harness
Exports screenplays from Fountain format to PDF, FDX, and HTML using Better Fountain VS Code extension, afterwriting CLI, or Highland. Useful for preparing scripts for delivery.
Ships in Words To Film By — Story Harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Apply this skill when:
The simplest export method uses the Better Fountain VS Code extension:
| Format | Command Palette Action |
|---|---|
Fountain: Export to PDF | |
| FDX | Fountain: Export to FDX |
| HTML | Fountain: Export to HTML |
Steps:
.fountain file in VS CodeCtrl+Shift+P (or Cmd+Shift+P on macOS)Extension: Better Fountain on VS Code Marketplace
| Format | Extension | Purpose | Tools |
|---|---|---|---|
| Industry standard delivery | Better Fountain, afterwriting, Highland | ||
| FDX | .fdx | Final Draft import | Better Fountain, screenplain, Highland |
| HTML | .html | Web preview/sharing | Better Fountain, afterwriting |
| Plain Text | .txt | Accessibility, archival | direct copy |
In VS Code: Ctrl+Shift+P → "Fountain: Export to PDF"
# Install
npm install -g afterwriting
# Basic PDF export
afterwriting --source screenplay.fountain --pdf
# With configuration
afterwriting --source screenplay.fountain --pdf --config pdf-config.json
# Output to specific file
afterwriting --source screenplay.fountain --pdf --output script.pdf
{
"print_title_page": true,
"print_profile": "default",
"print_header": "",
"print_footer": "",
"print_watermark": "",
"print_dialogue_numbers": false,
"print_notes": false,
"print_sections": false,
"print_synopses": false,
"scenes_numbers": "none",
"each_scene_on_new_page": false
}
In VS Code: Ctrl+Shift+P → "Fountain: Export to FDX"
# One-time installation (requires Python 3.8+ and pipx)
pipx install screenplain
# Export to FDX
screenplain --format fdx screenplay.fountain output.fdx
Note:
afterwritingdoes NOT support FDX export. Use Better Fountain, screenplain, or Highland.
Highland 2 offers native FDX export:
.fountain file in Highland 2In VS Code: Ctrl+Shift+P → "Fountain: Export to HTML"
afterwriting --source screenplay.fountain --html
{
"html_use_paper_size": true,
"html_scenes_numbers": "none",
"html_print_dialogue_numbers": false
}
For custom styling, process Fountain to JSON then apply template:
afterwriting --source screenplay.fountain --fountain --output screenplay.json
# Then apply custom HTML template to JSON
1. Validate Fountain file
2. Run export command
3. Verify output file created
4. Open and review output
5. Check page count
6. Verify title page
7. Sample check formatting
8. Package for delivery
[Title]_v[Major].[Minor]_[YYYYMMDD].[ext]
Seoul_Identity_v1.0_20251227.pdf
Seoul_Identity_v1.1_20251228.pdf
Seoul_Identity_v2.0_20260115.pdf
Seoul_Identity_v2.0_20260115.fdx
| Problem | Solution |
|---|---|
| Wrong fonts | Check PDF config, ensure Courier |
| Bad margins | Verify config matches standards |
| Missing title page | Enable in config |
| Notes appearing | Disable print_notes |
| Problem | Solution |
|---|---|
| Elements misformatted | Review in Final Draft, adjust |
| Notes missing | Expected - FDX doesn't support all |
| Dual dialogue broken | May need manual fix in FD |
| Problem | Solution |
|---|---|
| Print looks wrong | Use paper size option |
| Styling off | Use default CSS or customize |
Note: For manual exports, use the Better Fountain extension. The scripts below are for CI/CD automation.
#!/bin/bash
SCRIPT="screenplay.fountain"
NAME="Seoul_Identity"
DATE=$(date +%Y%m%d)
VERSION="1.0"
# PDF export (afterwriting)
afterwriting --source $SCRIPT --pdf --output "${NAME}_v${VERSION}_${DATE}.pdf"
# FDX export (screenplain - requires pipx install screenplain)
screenplain --format fdx $SCRIPT "${NAME}_v${VERSION}_${DATE}.fdx"
# HTML export (afterwriting)
afterwriting --source $SCRIPT --html --output "${NAME}_v${VERSION}_${DATE}.html"
echo "Export complete:"
ls -la ${NAME}_v${VERSION}_${DATE}.*
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
24 skills in this plugin
/action-descriptionThis skill provides screenplay action and description writing techniques.
Covers present tense formatting, visual storytelling, action sequences,
and paragraph structure for scene descriptions.
Use when: writing scene descriptions, crafting action sequences, describing
visual storytelling, or formatting action paragraphs in Fountain format.
/arc-checkThis skill validates character arc development throughout a screenplay.
Covers positive, negative, transformational, and flat arc types with
examples from classic films like Tootsie, The Godfather, and Empire of the Sun.
Use when: tracking character development, ensuring meaningful transformation,
validating emotional journeys, or identifying flat or static characters.
/character-arcsThis skill provides character arc development frameworks and techniques.
Covers the core arc formula (flaw to strength, want to need, lie to truth),
positive change arcs, negative arcs, and supporting character development.
Use when: developing character transformations, tracking character growth,
analyzing protagonist journeys, or building supporting character arcs.
/character-dialogueThis skill provides Fountain format character and dialogue formatting rules.
Covers character name formatting, extensions (V.O., O.S., CONT'D), dual
dialogue, parentheticals, and proper dialogue block structure.
Use when: introducing characters, writing dialogue blocks, formatting
character names, handling dual dialogue, or using character extensions.
/character-interviewThis skill provides the 80-question character interview framework for
deep character development. Covers background, psychology, relationships,
habits, and motivations to build comprehensive character backstories.
Use when: creating new characters, deepening existing character understanding,
building backstory and motivation, or developing character voice and mannerisms.
/continuity-trackingThis skill provides screenplay continuity tracking systems and templates.
Covers character registry, timeline registry, location registry, prop
registry, and wardrobe registry for maintaining story consistency.
Use when: setting up tracking systems, checking consistency, managing
timelines, or tracking characters, props, and locations across scenes.
Other plugins' skills for the same job