Turn authorized blackboard photos and teacher-supplied facts into one blackboard one-shot clip per photo. This one-shot blackboard studio makes a silent 2-15s blackboard clip from each photo, so every board photo clip opens on the board exactly as captured. Use it for classroom blackboard video and lesson-board clip sets that stay one photo one clip.
---
name: "blackboard-one-shot"
description: "Turn authorized blackboard photos and teacher-supplied facts into one blackboard one-shot clip per photo. This one-shot blackboard studio makes a silent 2-15s blackboard clip from each photo, so every board photo clip opens on the board exactly as captured. Use it for classroom blackboard video and lesson-board clip sets that stay one photo one clip."
---
# Blackboard One-Shot Clips
Turn authorized blackboard photos and teacher-supplied facts into one
short clip per photo. Deliver the clips in photo order. Do not stitch
them.
## Scope and adjacent routes
Use this Skill when a teacher wants one short motion clip for each
blackboard photo they already captured.
Route a talking lesson from one photo plus a script to
`wrong-item-talking`. Route assembly stills to
`assembly-one-step-clip`. Route a generic still that is not a labeled
blackboard to `image-to-motion`. Route enterprise tool photos to
`tool-demo-clip`. Do not look up public posts for missing board text.
## Inputs and defaults
The hard inputs are:
- at least one accessible blackboard photo the host Agent can inspect, in
capture order;
- teacher-supplied facts that name what each photo shows (lesson, board
lines, step, or sequence number).
Do not invent missing board text, a formula, a ranking, or a spoken
line. A photo is not a source for unstated wording. Reuse lesson name,
language, destination, and must-keeps already in the conversation.
Ask only for a missing hard input.
Default to one `beatra.videos.animate` call per photo, `model: "auto"`,
the photo as the strict first frame, no `driving_audio`, and a
source-derived aspect ratio. Choose a supported integer duration in
the 2-15s range with the user; if they do not pick, use 5s.
## Golden path
1. Inspect every photo. Record MIME type, width, height, aspect ratio,
byte size, and whether it has an alpha channel. For a local file,
upload only through the bundled client after inspection. Never pass
a local path to a remote tool.
2. Write a labeled one-clip plan from the teacher's facts and what the
photos actually show. Keep capture order. Leave a photo whose fact is
missing on the plan. That plan is the free visible result. Planning
is not approval.
3. Call `beatra.models.list` with `{"capability":"image_to_video"}`.
Admit each photo against a current card that accepts a first-frame
image without driving audio. Compare every image fact and the
chosen duration with advertised constraints. If any required media
fact is unavailable or incompatible, stop before video.
4. Show one current production card and wait before any video
`client_request_id` or `beatra.videos.animate` call:
1. Work — one blackboard clip per named photo, a generate call
(`beatra.videos.animate`).
2. Credits — the live `image_to_video` price just read. Do not reuse
a remembered number.
3. Count — one paid call per photo. Do not batch photos into one
submit.
4. Identity — one new opaque `client_request_id` per photo. A
changed prompt, photo, duration, model, or control mints a new
ID.
5. If we stop here — the labeled clip plan remains usable.
6. If the balance is insufficient — relay the official message and
its top-up URL exactly. Translate the prose; keep the URL. Do
not retry until the teacher says they have topped up.
Do not submit until the user confirms they have topped up or already
have enough credits.
5. Submit `beatra.videos.animate` exactly once per admitted photo
through bundled `scripts/mcp_client.py`. Do not configure a host
Beatra Connector. Do not use REST/OpenAPI as a fallback. Poll each
video task with `beatra.tasks.get` until terminal.
6. Deliver the clips in photo order with actual dimensions, duration,
usage, and `billing.net_charged_credits`. Review board identity,
motion, and must-keep drift. Never invent a stitch, concat, or
editor tool.
## Decisions that require confirmation
Planning and live price quotes are free. They are not approval. Video
animate needs the six-field card above. File access is not consent to
reuse a photo outside this board set.
## Recovery
Each paid photo has its own frozen payload and ID. Recover a lost
create response only with that photo's identical payload. Recover a
lost task ID through `beatra.tasks.list` and `beatra.tasks.get`. Call
`beatra.tasks.cancel` only when the user asks to cancel that photo; on
409 keep polling. On `insufficient_balance`, keep the top-up URL
inside the balance error exact and retry the same frozen ID only after
the user says they have topped up. If a create returns no `task_id`,
do not poll; reconcile before minting a new ID. A changed photo,
prompt, duration, or model is new work and a new card.
## Execution
Invoke every remote Beatra operation only through this package's bundled
`scripts/mcp_client.py`. Put the MCP tool name after `call` and send one
JSON object on standard input.
```bash
python3 scripts/mcp_client.py call beatra.models.list
```
```json
{"capability": "image_to_video"}
```
Do not configure or call a host Beatra Connector, and do not use
REST/OpenAPI as a fallback.
If the tool returns insufficient credits: give the user the tool message in
full. Do not change the URL. You may translate the other words. Do not replace
it with your own top-up copy. Point the user to pay using that message.
## Account balance
When the user asks how many credits remain or whether a live estimate fits,
call `beatra.wallet.get`. When they ask what was charged, call
`beatra.wallet.ledger`. Both are read-only. Do not invent an account-balance or
top-up tool. Do not make `wallet.get` a required step before every paid submit.
When a model card comes back carrying a `top_up` block, relay its tiers as the
card lists them and in that order. Do not rank them, do not talk one down, and
do not pick one for the user. Which tier suits them is their call, made on
the wallet page with the whole list in front of them. Never quote a tier from
memory.
## References by task
- For clip plans, payloads, confirmation, polling, recovery, and
review, read [Blackboard one-shot workflow](references/workflow.md).
- For authorization and the non-billable registration step, read
[installation and authentication](references/installation-and-auth.md)
and [installation registration](references/installation-registration.md).
- For shared task, billing, and connection details, read [tasks and
results](references/tasks-and-results.md), [billing, errors, and
recovery](references/billing-errors-and-recovery.md), and [Bundled MCP
Client diagnostics](references/mcp-connection.md).
- Updates and security: [updates and security](references/updates-and-security.md)
- For removal, read [uninstall and disconnect](references/uninstall-and-disconnect.md).
## Updates and security
This Skill runs only the files installed with it and leaves them unchanged while
it runs; it never downloads or executes other code. It talks to Beatra's official
services over HTTPS, and a file you choose to upload goes only to the one-time
upload address Beatra issues for it.
Once a day at most, the bundled client reads Beatra's public version list. When
the store or tool you installed from has a newer version, it prints one line with
the command that updates it there. Updating stays your choice, through that store
or tool. See [updates and security](references/updates-and-security.md).
don't have the plugin yet? install it then click "run inline in claude" again.
extracted implicit decision logic into a dedicated decision_points section, formalized external beatra api connections with oauth scopes and env var guidance, elevated edge cases (missing facts, constraint violations, 409 conflict, missing task_id, insufficient balance, local file handling), and structured output contract with clear data formats and delivery locations.
turn authorized blackboard photos and teacher-supplied facts into one short clip per photo. deliver the clips in photo order. do not stitch them.
use this skill when a teacher has captured blackboard photos in sequence and wants one silent motion clip per photo, opening on the board exactly as photographed. each clip runs 2-15s, requires zero driving audio, and stays in capture order. scope: blackboard photos only. route talking lessons to wrong-item-talking, assembly stills to assembly-one-step-clip, generic unlabeled stills to image-to-motion, and enterprise tool photos to tool-demo-clip. never invent missing board text, formulas, rankings, or spoken lines. do not look up public posts for missing board content.
required:
BEATRA_API_KEY environment variable (oauth scope: videos:create, models:read, tasks:read, wallet:read)scripts/mcp_client.pyoptional/defaulted:
"auto" for beatra.models.list capability image_to_videocontext reuse (do not ask if present):
external connections:
inspect every photo. record mime type, width, height, aspect ratio, byte size, and alpha channel presence. for local files, upload only through the bundled client after inspection. never pass a local path directly to a remote tool.
build a labeled one-clip plan. write one row per photo in capture order, pairing each photo with the teacher-supplied fact that names it. if a photo's fact is missing, flag it on the plan and do not proceed to video until the teacher provides it. this plan is free and visible; planning is not approval.
list compatible models. call beatra.models.list with payload {"capability": "image_to_video"}. admit each photo against the returned cards that accept a first-frame image without driving audio. cross-check every image fact (dimensions, mime type, file size, alpha channel) and chosen duration against advertised constraints. if any required media fact is unavailable or incompatible with a card, stop before invoking video and report the constraint violation.
show production card and wait for user confirmation. present to the user (do not auto-submit):
beatra.videos.animate generate call per photoimage_to_video price just read from the model card; never reuse a remembered numberclient_request_id per photo; mint a new id if prompt, photo, duration, model, or control parameters changehalt here until user confirms they have topped up or already have sufficient credits.
submit video animate jobs. invoke beatra.videos.animate exactly once per admitted photo through scripts/mcp_client.py. do not configure a host beatra connector. do not use rest/openapi as fallback. poll each video task with beatra.tasks.get until terminal (success, failed, or cancelled).
deliver clips in photo order. return all completed clips with metadata (actual dimensions, duration, usage, billing.net_charged_credits). review board identity, motion, and must-keep content for drift. never invent stitches, concatenation, or editor tool calls.
if photo fact is missing: do not proceed to video. ask for the missing fact only. leave the unlabeled photo flagged on the plan.
if a photo violates model constraints: stop before video. report the constraint (e.g., max file size, unsupported mime type, dimension out of range). ask user to resubmit a compliant photo or choose a different model.
if balance is insufficient: relay beatra's official error message and top-up url unmodified. do not substitute your own top-up copy. hold for user confirmation of top-up before retrying the same frozen payload and client_request_id.
if a video task returns 409 conflict on cancel: keep polling; do not fail. the task may resolve or the user may request a different action.
if a create call returns no task_id: do not poll. reconcile the response before minting a new client_request_id. treat it as new work if any parameter changes.
if user asks account balance or credit estimate: call beatra.wallet.get (read-only, non-billable). if they ask what was charged, call beatra.wallet.ledger (read-only, non-billable). do not make wallet.get mandatory before every paid submit.
if a model card includes a top_up block: relay all tiers in the order listed. do not rank them, downgrade any tier, or pick one for the user. the choice is theirs on the wallet page.
if a local file upload is needed: upload only through the bundled client after inspection. never pass a local path to beatra's remote tools directly.
clip plan (free, non-billable):
production card (free, non-billable):
completed clips (billable):
billing.net_charged_credits charged for that clippolling/task state (non-billable):
beatra.tasks.getuser sees: