artokun/comfyui-mcp/ltx-director
Claude Code and agent skill by artokun/comfyui-mcp
- community
Checking that the SKILL.md file is still in the repository.
Drive the LTX Director (Timeline) node. Its Add Image/Text/Audio buttons are DOM-only and cannot be clicked by an agent; edit the hidden timeline_data JSON widget instead. Load when a workflow contains LTXDirector / LTXDirectorGuide / PromptRelayEncodeTimeline, or when asked to add, move, retime, or remove timeline segments (image / text / audio / motion).
Install
npx vskill@latest install artokun/comfyui-mcp/ltx-directorSKILL.md
The same SKILL.md was published earlier as artokun/comfyui-mcp/ltx-director.
LTX Director (Timeline)
LTXDirector (pack: WhatDreamsCost-ComfyUI, category WhatDreamsCost) is a video timeline editor node. Its on-canvas UI has Add Image, Add Text and Add Audio buttons.
You cannot click those buttons. Don't try.
They are not node inputs. The pack builds them as raw DOM elements with JS handlers:
Panel/MCP tools drive the LiteGraph node model (widgets + inputs). They cannot invoke arbitrary DOM handlers, so "click Add Text" is impossible. This is a hard limitation, not flakiness. Say so plainly rather than retrying.
The real control surface: timeline_data
Everything those buttons do is serialized into ONE string widget, timeline_data. The pack's own code treats it as "the absolute source of truth". Set it and the editor renders it.
It is listed in the pack's HIDDEN_WIDGET_NAMES, so it does not appear in the node's visible widget list, but it is an ordinary input and is settable:
The value is a JSON string, not an object. Empty state is "{}".
Sibling hidden widgets: local_prompts, segment_lengths, guide_strength, audio_data, use_custom_audio, inpaint_audio, use_custom_motion, override_audio.
Schema (verified against a real production workflow)
Text segment (segments)
Image segment (segments)
`imageB64` is a misnomer. It holds a `/api/view` URL, not base64. So an image segment points at a file already in ComfyUI's input dir. Full agent-drivable recipe:
upload_image (action:"image")→ puts the file in the input dir (note itssubfolder/name)imageFile="<subfolder>/<name>.png"imageB64="/api/view?filename=<name>.png&type=input&subfolder=<subfolder>"
Audio segment (audioSegments)
waveformPeaks is the rendered waveform. It is cosmetic. Omit it or pass [] if you're writing a segment programmatically; the audio still plays. Don't fabricate plausible-looking peaks and imply they were measured.
Edges (get these wrong and it silently does nothing)
- Track gates. Pushing into
audioSegmentsdoes nothing while
audioTrackEnabled is false. Set the gate in the same edit. (The reference workflow ships an audio segment with the track OFF, which is easy to misread as broken.)
- Frame bookkeeping must agree.
normalDurationFrames==
duration_frames widget == segment_lengths widget (observed: all 4393), and normalStartFrame == start_frame. Change the timeline length and you must update all of them.
- Frames, not seconds.
start/lengthare pixel-space frames and may be
fractional (241.68). duration_seconds / frame_rate / time_units are display concerns.
- `global_prompt` exists twice, inside
timeline_dataand as aforceInput
socket on the node. In the reference workflow the socket is wired from a PrimitiveStringMultiline; prefer the wired source and keep them consistent.
- `guide_data` must go somewhere.
LTXDirector.guide_data→
LTXDirectorGuide. That partner node is what injects the keyframes.
- Unsupported by the pack. The widget tooltip says *"auto-managed; do not
edit by hand"*. Well-formed blobs load fine; malformed JSON will break the editor. Round-trip and re-read after writing, and tell the user this is unofficial.
Reference wiring (from a working LTX 2.3 Director graph)
Procedure
- Find the node:
get_workflow (action:"query")withtypes: ["LTXDirector"],fields: "detail"
(or panel_query_graph on the live canvas).
- Read the current
timeline_dataandJSON.parseit. Never hand-splice the string. - Mutate the parsed object (append a segment, flip a track gate, retime).
- Keep
normalStartFrame/normalDurationFramesin sync with the widgets (edge 2). - Write it back as a string via
set_input. - Re-read to confirm it round-trips, then
create_workflow (action:"validate").
Related
PromptRelayEncodeTimeline (pack: ComfyUI-PromptRelay) carries the same timeline_data hidden-widget pattern, so this skill's approach applies there too.
Any node whose controls are DOM widgets over hidden state is invisible to clicking and must be driven through its state widget. LTX Director is the clearest example.
Sources
- Official: none found.
- Empirical: timeline_data schema and edge rules from a working LTX 2.3 Director graph.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/ltx-director/SKILL.md
Popularity
- Repository stars
- 651
- Repository forks
- 101
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/artokun/comfyui-mcp/ltx-director)