Creates and maintains visual frame groupings on a filmmaking canvas — scene clusters, character-reference sets, act beats, and production-state groupings. Proposes frame layouts when 3+ semantically related nodes appear.
Ships in pai-pro. 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.
Skip if fewer than 3 members or the tie is just generation order.
canvas_layout.js to write member positions and groupFrames in one atomic sidecar update.workflow.json; never put x / y into node data.x, y, width, height) is a bounding box computed from the final member positions.frameId: frame_<unix_ms>. Titles ≤30 chars recommended.Pick the one that fits. Grouping is current canvas state; read workflow.json per the project PROJECT_AGENT.md § "Choosing context" to verify ids.
Scene <N> — <location or beat>.A character card + its reference images.
<Character name> — references.image_result nodes depicting the same character.Act <N> or beat name.Read ./workflow.json + ./canvas_positions.json. workflow.json gives you node ids + labels + subtypes; canvas_positions.json gives you each node's x / y AND the existing groupFrames map. Reads are unrestricted; writes go through canvas_layout.js.
Pick members. Identify which nodes belong in the proposed frame by looking at their ids, labels, prompts, and subtypes. Keep only ids that actually exist in nodes.
Plan positions. Preserve existing positions when they already read well. Otherwise move the selected nodes into a compact layout for the chosen pattern. Use these default gaps:
Evict existing frame members in the same layout JSON:
groupFrames.upsert with memberIds minus the evictee.groupFrames.delete.Compute frame bboxes from final member positions with 24px padding. Fallback sizes:
note: 280 × 420 (width hardcoded; height = NOTE_CARD_FALLBACK_HEIGHT for first paint)image_result: 290 × 220 (16:9 default; if data.metadata.aspect_ratio is present, scale accordingly)video_result: 290 × 220 (same caveat; check data.aspect or data.metadata.aspect_ratio)audio_result: 240 × 64pending / pending_generation / pending_attachment: 260 × 200If measured heights appear in canvas_positions.json, prefer them.
minX = min(node.x for each member)
minY = min(node.y for each member)
maxX = max(node.x + node.w for each member)
maxY = max(node.y + node.h for each member)
x = minX - 24
y = minY - 24
width = (maxX - minX) + 48
height = (maxY - minY) + 48
Decide title + hue. Default hue 200 if you have no signal.
Apply one layout update with all node moves and frame changes:
node "$PAI_REPO_ROOT/server/cli/canvas_layout.js" \
--layout-json '{"positions":{"note_2":{"x":120,"y":80},"image_3":{"x":440,"y":80},"video_1":{"x":760,"y":80}},"groupFrames":{"upsert":{"frame_1716579123456":{"memberIds":["note_2","image_3","video_1"],"x":96,"y":56,"width":978,"height":468,"hue":200,"title":"Scene 1 — Causeway"}},"delete":[]}}'
Extending an existing frame — same CLI/frameId, full new memberIds, recomputed bbox.
Confirm to the user in one sentence. Example: "Grouped the three Morris reference shots under their own frame."
canvas_positions.json directly. Use canvas_layout.js so positions and frames apply together.addGroup, updateGroup, deleteGroup).memberIds).What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/image-composeGenerates/edits filmmaking canvas images via generate_image.js and generate_image_pro.js. Use before image CLIs for character/location design, refs, starting frames, storyboards, stills, edits, variations, and downstream video anchors. Video-bound characters default to Pattern 7 4-panel sheets; one-off static portraits use Pattern 1. Story/script breakdowns should create detailed location anchors plus material character/location variants. Storyboards use Pattern 6: one pro composite mosaic per clip/<=15s shot note./script-composeHandles explicit screenplay/story work on the filmmaking canvas. Triages screenplay (use verbatim), story/concept (iterate then rewrite), or neither (defer). Captures the final script note/title; on explicit command, splits into <=15s shot notes and extracts characters, variants, locations, and speaking/VO needs. Use for writing, adapting, rewriting, splitting, analyzing, or breaking down scripts/stories. Preserves dialogue verbatim and returns multi-stage planning to story-to-video-workflow before media generation. Does not split/analyze on file drop or without explicit intent./story-to-video-workflowOrchestrates story, script, screenplay, concept, product promo, and multi-shot idea work into finished video. Use first when the user asks to make a video from a story or script; asks what next in a story video project; or needs a decision spanning script splitting, image refs, voices or VO, video clips, render strategy, Timeline ordering, or final Timeline handoff. Routes execution to script-compose, image-compose, voice-compose, and video-compose before those skills' CLIs are used./utopai-research-pai-pro:groups-composefrom pai-pro
Claude Code refuses to install this plugin
This plugin's marketplace entry is invalid: skills: Invalid input
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.
Other plugins' skills for the same job