SeeReel
AGENTS.md16 starsChanged 6 months agoMITView on GitHub
SeeReel is an Agent-native short-drama production workstation. Use the agent for creative direction and automation, and use the web app as the review and manual takeover surface. This repo is framework-neutral — it works with Codex, Claude Code, Cursor, and any agent that follows the open AGENTS.md / Agent Skills standards: npm install runs a best-effort postinstall that mirrors the skills to every agent runtime detected on your machine. Refresh manually anytime: install:skill auto-detects installed runtimes and copies each skill…
- Reads credentials
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- seereel-agent-sessionSkill
- seereel-canvas-reviewSkill
- seereel-casting-assetsSkill
- seereel-cinematographySkill
- seereel-cliSkill
- seereel-script-chatSkill
- seereel-shortdramaSkill
- seereel-storyboard-imagegenSkill
- vibe-creating-promptSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 86
Keep generated intermediate results visible in the app.
- Distinctive: line 87
Prefer full 15-second Seedance shots and pack multiple related beats inside one clip when continuity is shared.
- Very specific: line 95
Use the project-native specs in specs/ for non-trivial product work.
- Distinctive: line 97
Update the nearest long-lived spec before changing user-visible behavior, generation state, release behavior, observability, persistence, …
- Distinctive: line 99
Prefer updating an existing spec over creating one-off documents.
- Distinctive: line 102
If code and spec disagree, resolve the disagreement in the same change.
- Distinctive: line 123
Create/select one session per short drama.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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 Agent Guide
SeeReel is an Agent-native short-drama production workstation. Use the agent for creative direction and automation, and use the web app as the review and manual takeover surface.
Before Work
This repo is framework-neutral — it works with Codex, Claude Code, Cursor, and any agent that follows the open AGENTS.md / Agent Skills standards:
- Project context:
AGENTS.md(this file).CLAUDE.mdis a symlink to it so Claude Code loads the same guide natively. - Skills (single source of truth):
.agents/skills/, the cross-platform standard directory. Codex / Gemini / OpenCode read it as a project skill directly.
npm install runs a best-effort postinstall that mirrors the skills to every agent runtime detected on your machine. Refresh manually anytime:
npm run install:skillinstall:skill auto-detects installed runtimes and copies each skill in .agents/skills/ to that runtime's global dir (~/.codex|.claude|.cursor|.agents/skills), plus gitignored in-repo project mirrors for Cursor and Claude Code (.cursor/skills/, .claude/skills/). Skills shipped:
seereel-shortdrama: end-to-end orchestration and stage routingseereel-script-chat: initial idea -> lockedStoryPlanseereel-casting-assets: lockedStoryPlan-> character/scene assets andassetIdsseereel-cinematography: approved assets -> storyboard, shot nodes, continuity, andrawPrompt/promptseereel-canvas-review: final canvas consistency review and fallback routing before video generationseereel-storyboard-imagegen: Codex imagegen /gpt-image-2cinematic storyboard reference workflowseereel-agent-session: REST-driven session controlseereel-cli: local CLI workflow and fine-grained node control for AI agents
Target one or more runtimes, or force all of them:
npm run install:skill -- --agent claude # or codex / cursor / agents (comma-separated)
npm run install:skill -- --agent allSkip automatic postinstall writes with:
SEEREEL_SKIP_SKILL_INSTALL=1 npm installFor a single skill:
npm run install:skill -- --skill seereel-storyboard-imagegenThen start the app:
npm run devOpen the shown localhost URL. Production-style local runs often use:
NODE_ENV=production PORT=5174 npm run startLocal Agent CLI
This repo also ships a local npm CLI package for Codex / Claude Code / Cursor Agent to create visible web workflows from natural language:
npm install -g seereelcli
seereelcli skill install --agent all
seereelcli configure --base-url https://seereel.studio --access-token "$SEEREEL_ACCESS_TOKEN"
seereelcli workflow "a short video idea in natural language" --duration 60Repo-local fallback:
npm install -g ./packages/seereel-cli
npm run cli -- workflow "a short video idea in natural language" --duration 60Default CLI behavior is intentionally review-first: create/select the CLI cookie-scoped user session, save the prompt as the session logline, generate the script, generate the storyboard/workflow, then stop before paid rendering. On online deployments, return a one-time handoffUrl for human takeover in the browser because raw webUrl links belong to the CLI cookie identity and may not be visible in a normal browser. On localhost, 127.0.0.1, or ::1, return the explicit webUrl directly; local sessions automatically appear in the browser session list across CLI/browser cookie identities and do not need an encrypted handoff token. Default credential guidance is Agent Plan, but seereelcli configure --api-key "$BP_ARK_API_KEY" --api-key-route byteplus and seereelcli configure --api-key "$CN_ARK_API_KEY" --api-key-route volcengine-cn are supported. If BP, CN, and Agent Plan are all configured, Seedance uses BP > CN > Agent Plan. Use seereelcli render --session latest --stitch only when the user explicitly wants paid video generation to continue.
Operating Model
- The agent chats with the user to shape story, casting, locations, assets, storyboards, shot prompts, and generation strategy.
- When the user gives only a script idea, research relevant characters, plot mechanisms, and historical background before the first draft; then run script review iterations and revise until the review is satisfied before building the final review canvas. Unless the user explicitly asks for interactive discussion, work autonomously instead of stopping for preference questions.
- The app stores and displays scripts, beats, shots, prompts, assets, sketches, renders, stitch state, and final videos.
- The user can take over in the web UI at any point. Treat manual UI edits as source of truth.
- Keep generated intermediate results visible in the app; avoid private scratch artifacts unless they are imported afterward.
- Prefer full 15-second Seedance shots and pack multiple related beats inside one clip when continuity is shared; do not split every beat into a shorter video unless the story needs a real cut.
- Plan cinematic shot language before rendering: camera movement needs a story reason, blocking and screen direction must be clear, and adjacent shots should bridge through action, eyeline, reaction, insert/cutaway, sound, previous-tail, or tailframe continuity instead of feeling like unrelated clips.
- Move story-critical prompt information into audience-facing delivery: important facts should be spoken through character dialogue or voiceover/narration, with visible action or reaction as backup, rather than hidden in prompt-only lore or subtitles.
- For dialogue videos, keep one spoken language across the whole session. Default to normal diegetic sound such as dialogue, ambience, footsteps, props, and crowd noise; do not add per-shot music/BGM/score because separately generated music will not stitch continuously.
- Prefer SeeReel APIs and persisted canvas state over manual filesystem work. If an existing endpoint can create, import, publish, generate, poll, stitch, cache, or wire an artifact, use it. Manual downloads,
ffmpeg, or file patches are recovery steps only; immediately write the result back through SeeReel APIs/state so graph edges, Inspector data,stitchShotIds,referenceVideoFromShotId,firstFrameAssetId,assetIds, renders, andfinalVideoUrlstay auditable in the UI.
Spec Coding
Use the project-native specs in specs/ for non-trivial product work. Do not depend on GitHub Spec Kit or another external spec framework unless the user explicitly asks for it.
- Update the nearest long-lived spec before changing user-visible behavior, generation state, release behavior, observability, persistence, API contracts, or agent workflows.
- Skip specs for narrow fixes that do not change product rules, such as typo fixes, obvious broken imports, stale copy commands, and dependency lockfile cleanup.
- Prefer updating an existing spec over creating one-off documents.
- Implementation must map back to the spec's acceptance criteria.
- Verification must include
npm run smoke:specsand, before release,npm run verify:offline. - If code and spec disagree, resolve the disagreement in the same change.
- In the final response or PR, name the spec that governed the change and call out any acceptance criteria that could not be verified.
Secret Safety
Never upload AK/SK, tokens, passwords, API keys, private keys, admin credentials, or provider secrets to GitHub, online APIs, frontend bundles, logs, dashboards, screenshots, or any public surface. Use protected runtime configuration and masked status displays. Run npm run smoke:secrets when touching credentials, diagnostics, metrics, deployment, or admin settings.
Critical Media Rule
Seedance workers need public or signed http(s) URLs. Local /media/... paths are only for app preview. Publish Codex/imported storyboards to TOS before sending them as reference_image.
Use:
POST /api/sessions/:sessionId/storyboards/publish-tosor the web button "故事板 TOS".
Preferred Generation Flow
- Create/select one session per short drama.
- Save the story plan and beats.
- Generate or import character, scene, and storyboard references.
- Publish local references to TOS.
- Generate shots serially for continuity.
- Retry polling failures before resubmitting.
- Stitch only after all required shots are
ready. - Return the final local path and browser URL.
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.

