stitch-player

stitch-player is a skill for Claude Code, Codex from openstory-so/openstory. It costs 64 tokens per session (620 once invoked), scanned A, original, MIT.

A browser player guide for sequences made from still images, dialogue, music, and video, with optional export to an MP4 video file. It explains the clip data, sound mixing, cue times, and required media URLs.

In plain words
What is it for?
Use it when wiring the @openstory/stitch-player package, replacing stills with video, setting dialogue and music levels, or preparing a sequence for download.
Why use it?
It prevents common playback mistakes, such as putting sound on the wrong clip, using stale cue text, or serving media from a URL that cannot provide partial downloads.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when wiring the @openstory/stitch-player package, replacing stills with video, setting dialogue and music levels, or preparing a sequence for download.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openstory-so/openstory/stitch-player
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add openstory-so/openstory --skill stitch-player
Clone the repo
git clone --depth 1 https://github.com/openstory-so/openstory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stitch-player

README.md
[![agentmods](https://agentmods.dev/badge/skills/openstory-so/openstory/stitch-player/github.svg)](https://agentmods.dev/skills/openstory-so/openstory/stitch-player)
Your own site
<a href="https://agentmods.dev/skills/openstory-so/openstory/stitch-player"><img src="https://agentmods.dev/badge/skills/openstory-so/openstory/stitch-player/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stitch-player

Your own site · 80×15
<a href="https://agentmods.dev/skills/openstory-so/openstory/stitch-player"><img src="https://agentmods.dev/badge/skills/openstory-so/openstory/stitch-player.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.00620
Opus 5.5 $0.00026 $0.00248
Sonnet 5.5 $0.00013 $0.00124
Haiku 4.5 $0.00006 $0.00062

Measured 1mo ago against content hash 26804823d73e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stitch-player scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/stitch/skills/stitch-player/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

stitch-player

Play PlaybackClip[] in order with StitchedPlayer from @openstory/stitch/react. The package README (node_modules/@openstory/stitch/README.md) has the install and the component example. This file is the contract that example leaves easy to miss.

Clips

A video clip is { videoUrl, posterUrl, cues }. It plays the audio inside the file.

A still is { imageUrl, fallbackImageUrl, durationSeconds, audioUrls, width, height, cues }. audioUrls play back to back from the start of the still. The still lasts the longer of that sound and durationSeconds. width and height are the still's pixel size. durationSeconds stays positive even when the sound is longer.

posterUrl is for a host to show while it waits. The engine and StitchedPlayer do not paint it.

Cue times are seconds from the start of that clip.

Pass the new array through when the list changes. Identity is order plus the media (playbackClipsKey): for a video, videoUrl only; for a still, the image URLs, audioUrls, durationSeconds, width, and height. Cue text is outside that identity, so a wording-only change leaves the engine running. Download writes the cues on the array you passed.

Music

musicUrl is a bed under the whole sequence. musicGainDb changes only that bed. 0 leaves it as recorded. musicEnabled: false mutes the bed. Dialogue stays at its own level.

The player downloads clips whole, in order, up to two past the one playing. Play starts when the current clip is all here, and a stall at a cut lasts until the next clip is. Music still streams. There is nothing to tune.

Bytes

Video, music, and a still's audioUrls need an HTTP URL that answers Range with 206, or a blob: URL whose fetch does. A still's line may be a data: URL.

A cross-origin still with no CORS still displays. Export and picture-in-picture read the canvas, so that still taints it and those two throw SecurityError.

The file

The MP4 comes from exportSequence, downloadSequence, or the player's Download button. It is the same stitch as playback: H.264 and AAC. subtitles is sidecar (a .vtt beside the file), burn-in, or none. The default is sidecar.

Read the full file on GitHub · 39 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 26804823d73e
  2. 1mo ago Changed · +4 tokens per session 9006c61361ea
  3. 1mo ago Changed 2bc23d048d88
  4. 1mo ago First seen · 37 lines · 60 tokens per session scan A 6a7621ecddf7

Subscribe to this mod's changes

stitch-player is a skill published in the GitHub repository openstory-so/openstory (730 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 620 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.

Related

stitch-player compared with skills from other repositories

stitch-player next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stitch-playeropenstory-so/openstorySkill730todayMITA64Claude Code, Codex
videoagent-video-studiopexoai/pexo-skillsSkill83914d agoMITA56Claude Code
ralphy-publishalecs5am/ralphySkill14611d agoApache-2.0A150Claude Code
demonearform/lastlightSkill48todayMITA75Claude Code, Codex
telegram-userbotoyi77/1ai-skillsSkill19todayMITA70Claude Code
frontend-verifyucsandman/marketing-studioSkill2552mo agoMITA163Claude Code
bilibili-clipublic-clis/bilibili-cliSkill1.2k8mo agoApache-2.0A51Claude Code, Codex