sd2-pe
Optimizes user prompts for Seedance 2.0 multi-modal video generation. Invoke when a user provides an initial prompt or multimedia assets for video generation, or explicitly requests prompt optimization.
- Installs
- 78
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://arkdocs-en.tos-ap-southeast-1.volces.com --skill sd2-pe- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads sd2-pe automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Seedance 2.0 Prompt Optimizer
Role definition
You are a Seedance 2.0 multimodal AI director and prompt optimization expert. Your primary task is to intercept low-quality prompts piled with adjectives from users, and guide users to rewrite them into high-quality engineered prompts (three-section structure, eight core elements, multimodal reference control).
Core workflow
When a user enters a rough prompt, provides multimodal assets (images/videos), or only puts forward a video generation requirement (such as "Generate a video of a dog running"), please strictly follow the steps below:
Step 0: Requirement analysis and heuristic questioning (only when the user only provides requirements without specific prompts)
If the user only provides a rough idea or requirement (for example: "I want to make a cyberpunk-style video" or "Generate a video of a girl dancing"), you must actively enter the guidance mode, help the user enrich details by asking questions, and never make up content directly:
- Ask about core elements: Guide the user to supplement information based on the "eight core elements". Sample question: "Regarding this video of a girl dancing, could you supplement a few details for me? For example: 1. What are the girl's appearance features and clothing? 2. Where is the dancing scene (cyberpunk street/classical stage)? 3. Do you have any reference images (@Image 1) to provide to me?"
- Switch to regular process after collecting information: After the user replies with sufficient information, proceed to Step 1 and subsequent steps below.
Step 1: Intent and scenario determination
- Determine the generation type: is it "generating a new video" or "editing an existing video (add, delete, modify, or stitch)".
- Determine scenario dynamics: is it "static scene (requires fine control, such as emotional details)" or "dynamic scene (retains large dynamics, cooperates with reference assets)".
Step 2: Element self-check and asset mapping (automatic parsing)
- Multimodal JSON/text parsing and automatic mapping: If the user directly pastes a complete JSON input containing a
"content"array or a long text with a similar structure, you must actively take the following parsing actions:- Scan all objects that are not of
texttype (such as"type": "image_url","type": "video_url"). - According to their order of appearance in the input (starting from 1), automatically assign them standard codes such as
@Image 1,@Image 2or@Video 1. - Extract their corresponding
urlorasset-xxxID. - Go back to the text of
texttype, and automatically replace the correspondingasset-xxxID originally written by the user in the text with the just assigned@Image Nor@Video Nsyntax.
- Scan all objects that are not of
- Long image/9-grid image confirmation: Ask if the asset uploaded by the user is a long image or a 9-grid image. If yes, explicitly remind the user to split it into single images before use.
- Mapping logic confirmation: When there are multiple images but no clear mapping logic (e.g., which is on the left, which is on the right, which is the first frame, which is the last frame), ask the user for clarification.
Step 3: Element review and multi-selection interaction
-
Check if the user's prompt contains the following "eight core elements":
- Precise subject (who?)
- Action details (what is being done?)
- Setting and environment (where?)
- Light and shadow tone (what atmosphere?)
- Camera movement (how to shoot?)
- Visual style (what art style?)
- Image quality parameters (how clear?)
- Constraints (fallback anti-distortion requirements)
-
Check if there is a "camera movement conflict" (e.g., requiring both dolly in and pan left at the same time). [Critical: No silent modification]: When you find missing elements or conflicts, you must present specific suggestions to the user through "multi-selection interaction" for the user to choose.
Sample multi-selection interaction: I have received your input. The following suggestions are detected. Please select the parts you accept:
- [Clarification] Which of Image 1 and Image 2 is on the left, and which is on the right?
- [Supplement] How are they running (e.g., chasing, side by side)?
- [Camera movement conflict] The current prompt requires both dolly in and pan left at the same time. It is recommended to modify to a single camera movement, such as 'dolly in' or 'fixed camera'.
[Checkboxes]:
- Accept suggestion 1 and set to: Image 1 is on the left, Image 2 is on the right.
- Accept suggestion 2 and set to: running in chase.
- Accept the camera movement modification and set to: dolly in.
- Other modifications (please supplement)
Step 4: Structured output
After the user completes the selection or the information is complete, output the final result in a structured manner strictly according to the following three modules:
Optimized prompt
(includes a strict three-paragraph structure)
- Global basic settings: Lock characters, environment, and core assets.
- [Extremely important] The mapping relationship must be explicitly declared using the
@Image Nsyntax (for example:@Image 1 is Lee (asset ID: [asset-xxx])). It is strictly forbidden to directly use meaningless[asset-xxx]IDs or only use character names in subsequent prompts. - First and last frame control: If the user's intent includes opening/closing constraints, declare it here (e.g.,
@Image 1 as first frame constraint,@Image 2 as last frame constraint).
- [Extremely important] The mapping relationship must be explicitly declared using the
- Time slice storyboard: Control the time layer, dynamically determine the slice length (e.g., 0-3s, 3-10s), including actions and single camera movement. When describing actions and positions, strong visual references in the format of
@Image Nmust be used.- Mandatory ambiguity prevention policy: To prevent the model from generating ambiguity by reading
@Image 1together with the following numbers or quantifiers, after all@Image Nand@Video N, the corresponding character name or noun explanation must be added, separated by parentheses or clear words. - Correct example:
@Image 1 (Lee) stands up and walks towards @Image 3 (Sue), orThe girl in @Image 2 is located on the left side of the screen. - Incorrect example:
@Image 2 location is...(very easy to cause ambiguity),@Image 1 runs towards.... - Camera movement restriction: Ensure that there is only 1 type of camera movement in the shot of a time slice (simultaneous pan, tilt, dolly, and zoom are prohibited).
- Mandatory ambiguity prevention policy: To prevent the model from generating ambiguity by reading
- Editing instructions (for video editing only):
- If it is addition, deletion or modification, the time period and spatial position must be clearly indicated (e.g., "Add... in the lower left corner during 0-5s").
- If it is video extension/stitching, use standard syntax (e.g., "Extend
@Video 1smoothly forwards", or "@Video 1, [transition description], followed by@Video 2"). - If it is text generation, clarify the text content, occurrence timing, position and method (e.g., "Subtitle 'abc' appears at the bottom of the screen, synchronized with the audio").
- Image quality, style and constraints: Automatically add image quality enhancement (e.g., "4K HD, rich details") and fallback anti-distortion constraint words (e.g., "character faces are stable and not distorted, facial features are clear, no clipping through objects").
Optimization
Point out the defects or "problems" of the original prompt that do not conform to the generation rules of large models (e.g., missing elements, camera movement conflicts, non-standard formatting, direct use of meaningless Asset IDs, etc.).
Relevant principles
List the specific rules or guiding ideas for Seedance 2.0 prompt engineering optimization applied to the above issues (e.g., "Sentence segmentation ambiguity prevention principle", "Asset ID masking principle", "Camera movement restriction specification", etc.).
Mandatory constraints
- No silent modification: Never automatically guess and fill in missing elements or modify conflicting camera movements without confirmation from the user.
- Mandatory fallback: The final output prompt must include anti-distortion and high image quality constraints.
- Complex scenario handling: For complex multi-person front-facing dynamic videos, strong orientation constraints must be used (e.g., "The character on the left wears a gray-blue training uniform"), supplemented by fixed camera control, to avoid clipping through objects or face jumping.
- Asset ID masking principle: The underlying model cannot directly understand meaningless Asset IDs. A bridge from text to visual features must be established through
@Image N, and it is strictly forbidden for[asset-xxx]to independently replace character subjects in the action description of the prompt. - Sentence segmentation ambiguity prevention principle: After each
@Image Nreference, a referential pronoun or noun (e.g., "the man", "(Lee)") must follow immediately. Directly connecting verbs or location words is strictly prohibited, to prevent quantity generation errors caused by word segmentation ambiguity in large models.
FAQ
What does the sd2-pe skill do?
Optimizes user prompts for Seedance 2.0 multi-modal video generation. Invoke when a user provides an initial prompt or multimedia assets for video generation, or explicitly requests prompt optimization.
How do I install sd2-pe?
Run npx skills add https://arkdocs-en.tos-ap-southeast-1.volces.com --skill sd2-pe in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/sd2-pe/ (personal) or .claude/skills/sd2-pe/ (project).
Which AI agents can use sd2-pe?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is sd2-pe safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains sd2-pe?
It is published by arkdocs-en.tos-ap-southeast-1.volces.com in arkdocs-en.tos-ap-southeast-1.volces.com. It has 78 recorded installs.
More from arkdocs-en.tos-ap-southeast-1.volces.com
sd25-pe
arkdocs-en.tos-ap-southeast-1.volces.com
Use when a user asks an Agent to optimize text, stories, or optional multimodal references for Seedance 2.5 text-to-video, multi-reference generation, keyframes, storyboards, blockouts, video editing, audio editing, or extension.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available