seereel-cli
Skill16 starsChanged 6 months agoMITView on GitHub
Use when a user asks an AI agent to operate SeeReel through seereelcli, seereel.studio, CLI workflow creation, node control, TOS publish, render polling, repair, download, handoff, or stitch commands.
- Reads credentials
- Installs packages
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- seereel-agent-sessionSkill
- seereel-canvas-reviewSkill
- seereel-casting-assetsSkill
- seereel-cinematographySkill
- seereel-script-chatSkill
- seereel-shortdramaSkill
- seereel-storyboard-imagegenSkill
- vibe-creating-promptSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 12 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user wants an AI agent to operate SeeReel through the local CLI instead of manually clicking the web UI.
- Distinctive: line 23
Do not invent, request from hidden memory, scrape, or expose API keys.
- Very specific: line 26
Prefer the route the human explicitly configured.
- Distinctive: line 28
Default Agent Plan setup:
- Distinctive: line 31
Create an Agent Plan API key in Ark.
- Distinctive: line 54
If the npm package is published:
- Very specific: line 81
Default base URL is https://seereel.studio.
- Distinctive: line 87
If the deployment requires a shared access token:
- Distinctive: line 101
Default: create a visible workflow, then stop for human review.
- Distinctive: line 122
Only continue after the human confirms Agent Plan is configured and the workflow is acceptable.
- Distinctive: line 129
If the human explicitly asks for full automation:
- Distinctive: line 153
Do not use local ffmpeg splitting or local recovered MP4 imports for cloud-only intermediates.
- Very specific: line 157
Use --stitch-partial only when the human accepts a shorter cut made from ready shots:
- Distinctive: line 190
Update a video node prompt:
- Very specific: line 213
Use --publish-tos when the tailframe will be used as a Seedance reference.
- Distinctive: line 240
Prefer CLI/API over browser automation.
- Very specific: line 241
Always use --json when you need to parse results.
- Very specific: line 242
Use --jsonl or --progress for long render/stitch runs so the agent can observe progress without polling /api/state in another shell.
- Distinctive: line 245
Do not call paid generation before Agent Plan is configured and the human has approved continuing.
- Very specific: line 246
Keep local scratch media out of the final story.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SeeReel CLI
Use this skill when the user wants an AI agent to operate SeeReel through the local CLI instead of manually clicking the web UI.
SeeReel has two surfaces:
- Web app: human review and takeover surface.
- CLI/API: agent operation surface. Everything important must remain visible in the web app.
Boundary
Boundary: transport and node operations only. This skill owns local/published CLI installation, configuration, handoff, status inspection, node patching, TOS publish, render/poll, download, and stitch commands.
It does not decide the script, casting, production design, camera grammar, storyboard sequence, or final consistency verdict. Use seereel-script-chat, seereel-casting-assets, seereel-cinematography, and seereel-canvas-review for those creative stages, then use the CLI to persist and operate their outputs.
Human Credential Boundary
Do not invent, request from hidden memory, scrape, or expose API keys.
For real generation, the human can use the default Agent Plan setup, a BytePlus standard Ark API key, or a Volcengine CN standard Ark API key.
Prefer the route the human explicitly configured; when all three are configured, Seedance uses BP > CN > Agent Plan.
Default Agent Plan setup:
- Open/pay for Volcengine Agent Plan.
- Create an Agent Plan API key in Ark.
- Paste it into the SeeReel web top-bar API Keys control under Agent Plan settings for browser/manual work.
- For CLI automation, run:
seereelcli configure --base-url https://seereel.studio --agent-plan-token "<human-pastes-key-here>"or set SEEREEL_AGENT_PLAN_TOKEN / ARK_AGENT_PLAN_KEY in the AI runtime environment.
Standard API key setup:
seereelcli configure --base-url https://seereel.studio --api-key "<BP_ARK_API_KEY>" --api-key-route byteplus
seereelcli configure --base-url https://seereel.studio --api-key "<CN_ARK_API_KEY>" --api-key-route volcengine-cnor set BP_ARK_API_KEY / BP_SEEDANCE_API_KEY for BytePlus, CN_ARK_API_KEY / CN_SEEDANCE_API_KEY for CN, or ARK_AGENT_PLAN_KEY for Agent Plan in the AI runtime environment.
Browser credentials and CLI credentials are cookie-scoped separately on online deployments. Treat that isolation as intentional. For online base URLs, a raw webUrl belongs to the CLI cookie scope; return handoffUrl when a human needs to open and continue editing the AI-created workflow in a normal browser. For localhost, 127.0.0.1, or ::1, return the explicit webUrl directly; local CLI-created sessions automatically appear in the browser session list across cookie identities and do not need an encrypted handoff token.
Install
If the npm package is published:
npm install -g seereelcli
seereelcli skill install --agent allThe npm package bundles this skill. seereelcli skill install --agent all copies it into local Codex, Claude, Cursor, and generic .agents skill folders. seereelcli skill print prints the bundled SKILL.md when an agent needs to read or mirror it manually.
Current repo-local install:
git clone https://github.com/feifeibear/seereel-agent.git
cd seereel-agent
npm install
npm install -g ./packages/seereel-cli
seereelcli --helpFrom repo root without global install:
npm run cli -- --helpConfigure
Default base URL is https://seereel.studio.
seereelcli configure --base-url https://seereel.studioIf the deployment requires a shared access token:
seereelcli configure --access-token "$SEEREEL_ACCESS_TOKEN"For local development:
seereelcli configure --base-url http://localhost:5173Review-First Default Flow
Default: create a visible workflow, then stop for human review.
seereelcli workflow "一个失眠导演在午夜便利店遇见未来的自己" \
--duration 60 \
--style "neo-noir, rain reflections, grounded sci-fi" \
--jsonFor online deployments, return the one-time handoffUrl to the user, not the raw webUrl. It should look like:
https://seereel.studio/api/handoff/xxxxxxxxTell the human the handoff link transfers the session from the CLI cookie identity to their current browser identity, then they can edit script, shot prompts, assets, duration, references, and generation choices in the web UI. After a handoff is claimed, keep using the browser/web UI as source of truth unless the human asks you to continue from a CLI-owned session.
For local development base URLs such as http://localhost:5173, return the webUrl directly. The browser can see CLI-created local sessions in /api/state and the session list automatically, so do not require or create an encrypted handoff token for ordinary localhost review.
Full Video Flow
Only continue after the human confirms Agent Plan is configured and the workflow is acceptable.
seereelcli status --session latest --deep --json
seereelcli render --session latest --stitch --progress --jsonIf the human explicitly asks for full automation:
seereelcli workflow "用户的视频创意" --duration 60 --render --stitch --jsonlFor cloud-only production runs where local files are only user-provided inputs and all generated intermediates must live in the SeeReel session:
seereelcli workflow "用户的视频创意" \
--cloud-only \
--reference-image ./route.png \
--duration 30 \
--render \
--stitch \
--output ./final.mp4 \
--jsonl--cloud-only uploads --reference-image as an input asset, generates
server-side storyboard assets before Seedance render, stitches through SeeReel,
returns the correct review link for the base URL (explicit local webUrl, online
handoffUrl), and downloads only the final cloud artifact to --output.
Do not use local ffmpeg splitting or local recovered MP4 imports for cloud-only
intermediates.
Report the final downloadUrl. If a shot fails, report the shot id and failure; do not silently skip it.
Use --stitch-partial only when the human accepts a shorter cut made from ready shots:
seereelcli render --session latest --stitch --stitch-partial --progress --jsonFor policy failures or stuck renders, use the recovery loop before asking the human to intervene:
seereelcli status --session latest --deep --json
seereelcli node poll --id shot_xxxxxxxx --json
seereelcli node update-prompt --id shot_xxxxxxxx --prompt "safer Seedance prompt" --duration 8 --json
seereelcli render --session latest --repair-policy safe-retry --max-attempts 2 --stitch-partial --progress --json--jsonl emits agent-readable progress events such as session_created, shot_submitted, task_id, poll_status, retrying, and stitch_ready.
Download the final video through the CLI instead of writing a private fetch script:
seereelcli download --session latest --output ./final.mp4Node Operations
Inspect one node:
seereelcli node get --id shot_xxxxxxxx --json
seereelcli node get --id asset_xxxxxxxx --json
seereelcli node get --id ses_xxxxxxxx --jsonUpdate a video node prompt:
seereelcli node update-prompt --id shot_xxxxxxxx \
--prompt "新的 Seedance 视频 prompt,保留角色服装和场景连续性" \
--title "03 重新追上自己" \
--duration 15 \
--jsonGenerate or poll one video node:
seereelcli node generate --id shot_xxxxxxxx --wait --json
seereelcli node poll --id shot_xxxxxxxx --jsonGenerate a rendered shot tailframe:
seereelcli node tailframe --id shot_xxxxxxxx --publish-tos --canvas-node --jsonUse --publish-tos when the tailframe will be used as a Seedance reference. Seedance cannot fetch local /media/... URLs.
Open VLM review and repair:
seereelcli node review --id shot_xxxxxxxx --frame-count 8 --json
seereelcli node repair --id shot_xxxxxxxx --json
seereelcli final-review --session latest --json
seereelcli final-review --session latest --repair --jsonOperate asset nodes:
seereelcli node update-prompt --id asset_xxxxxxxx --prompt "角色参考图 prompt" --json
seereelcli node generate --id asset_xxxxxxxx --model seedream-5-lite --json
seereelcli node review --id asset_xxxxxxxx --jsonPublish storyboard references to TOS:
seereelcli publish-storyboards --session latest --jsonRules
- Prefer CLI/API over browser automation.
- Always use
--jsonwhen you need to parse results. - Use
--jsonlor--progressfor long render/stitch runs so the agent can observe progress without polling/api/statein another shell. - Refresh status before continuing after a human web edit.
- Browser credentials and CLI credentials are cookie-scoped separately on online deployments. Raw online
webUrlmay not be visible in a bare browser; useseereelcli handoff --session latest --jsonand return the one-timehandoffUrlfor human takeover. On localhost, return the explicitwebUrldirectly; local CLI sessions appear in the browser session list automatically and do not require an encrypted handoff token. - Do not call paid generation before Agent Plan is configured and the human has approved continuing.
- Keep local scratch media out of the final story; SeeReel web state is the source of truth.
- For Seedance references, only remote
http(s)URLs are valid. Publish local references to TOS first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

