agentleFS
feifeibearfeifeibear/SeeReel/.agents/skills/seereel-agent-session/SKILL.md

seereel-agent-session

Skill16 starsChanged 6 months agoMITView on GitHub

Use when an agent needs direct SeeReel REST API control for sessions, assets, storyboards, shots, renders, polling, TOS publish, stitching, or visible canvas state repair.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the service is unavailable, start the app with npm run dev or point SEEREEL_AGENT_BASE_URL at the running service.

    line 30
  2. Distinctive:

    Use REST APIs for:

    line 34
  3. Distinctive:

    Keep every operation auditable in web state.

    line 47
  4. Distinctive:

    Treat manual web edits as source of truth.

    line 74
  5. Very specific:

    Do not use private filesystem artifacts as final state.

    line 75
  6. Very specific:

    Do not start paid video generation unless seereel-canvas-review has passed and the user approved generation.

    line 78

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SeeReel Agent Session

Boundary

Boundary: REST session control only. This skill owns API mechanics for visible SeeReel state.

It does not decide story, casting, production design, camera language, storyboard sequence, prompt quality, or final creative approval. Use the stage skills for those decisions, then use this skill to create, patch, inspect, poll, publish, and stitch their outputs.

Base URL

Default:

process.env.SEEREEL_AGENT_BASE_URL ||
process.env.CINEMA_AGENT_BASE_URL ||
"http://localhost:5173"

Check health with:

GET /api/state

If the service is unavailable, start the app with npm run dev or point SEEREEL_AGENT_BASE_URL at the running service.

API Responsibilities

Use REST APIs for:

  • session create/select/update
  • StoryPlan persistence
  • asset create/import/generate/update
  • storyboard and sketch import
  • shot create/patch/generate/poll
  • tailframe extraction and canvas-node writeback
  • storyboard publish to TOS
  • render status inspection
  • stitch and stitch polling
  • final download URL lookup

Keep every operation auditable in web state.

Common Operations

GET /api/state
POST /api/sessions
PATCH /api/sessions/:sessionId
PATCH /api/sessions/:sessionId/script
POST /api/assets
PATCH /api/assets/:assetId
POST /api/assets/:assetId/generate
POST /api/sessions/:sessionId/storyboard
PATCH /api/shots/:shotId
POST /api/shots/:shotId/generate
POST /api/shots/:shotId/poll
POST /api/shots/:shotId/tailframe
POST /api/sessions/:sessionId/storyboards/publish-tos
POST /api/sessions/:sessionId/stitch
POST /api/sessions/:sessionId/stitch/poll
GET /api/sessions/:sessionId/download

For exact payloads, see reference.md beside this skill.

Safety Rules

  • Treat manual web edits as source of truth; refresh state before continuing.
  • Do not use private filesystem artifacts as final state. If recovery uses local media, import/write it back into SeeReel state immediately.
  • Seedance references must be public or signed http(s) URLs. Local /media/... previews require TOS publish before provider use.
  • Browser and CLI identities can be cookie-scoped differently on online deployments. Use handoff URLs when needed.
  • Do not start paid video generation unless seereel-canvas-review has passed and the user approved generation.
  • Poll long Seedance tasks patiently until terminal success/failure unless the user asks for recovery.

Stage Mapping

  • seereel-script-chat tells you what StoryPlan to save.
  • seereel-casting-assets tells you which assets to create/import/generate and which assetIds are approved.
  • seereel-cinematography tells you how to patch shots, prompts, storyboard references, and continuity fields.
  • seereel-canvas-review tells you whether the visible canvas can proceed or which owning skill must repair it.
  • seereel-shortdrama decides when to advance from review into render/stitch.

Output

Return concise API results:

  • session id/title and URL
  • created or patched node ids
  • render task ids and current status
  • stitch status and download URL
  • any API error with the exact endpoint and id involved

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.