/sstack:github-video-embedfrom sstack
Embeds videos inline in GitHub Markdown files, PRs, and releases using GitHub-hosted attachment URLs. Provides a recipe for uploading video files via browser session cookies.
Ships in sstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The reader should press play inside the same .md file, without leaving the page, and anyone with access
to the repository should see the player. GitHub renders an inline <video> player only for a
GitHub-hosted attachment URL.
Put a bare https://github.com/user-attachments/assets/<uuid> on its own line in the .md. GitHub turns
it into a <video> player.
These render blank or get stripped:
.../raw/...)releases/download/...)<video src="..."> tag pointing at either of themCommitting the .mp4 under docs/ is still worth doing as the source of truth, but it is not what the
page shows.
The upload needs a signed-in browser session. A personal access token cannot do it: the upload policy
endpoint (/upload/policies/assets) answers 422.
_gh_sess: it is a session cookie held only in browser memory, never in the
cookie database on disk, so take it from the live browser, not from the profile folder.--remote-debugging-port and a temporary --user-data-dir, and
drive it over the DevTools protocol (Node 22 and later have a global WebSocket, so no extra package is
needed).Network.setCookie for every cookie, keeping its domain, path, secure, httpOnly and sameSite
values, then navigate to GitHub. Check that meta[name=user-login] shows the expected account./releases/edit/<tag>), a wiki page, or
a commit comment. Not /issues/new: that page mounts its editor late and exposes no file input
headless. The release editor has a plain textarea[name="release[body]"] and an input[type=file].DOM.setFileInputFiles with every file on that input[type=file], then poll the textarea until
the user-attachments/assets/<uuid> URLs appear. The upload happens at once. Do not save or submit the
form: the release stays unchanged, but the file is already uploaded, and in a public repository its URL
works without signing in. Do not use this for a video that must stay private until a later date.There is no bundled uploader; the steps above are the recipe.
Fetch the rendered page with the same session and count the players:
curl -s -b "$COOKIE_JAR" "https://github.com/$OWNER/$REPO/blob/$BRANCH/$DOC_PATH" | grep -o '<video' | wc -l
The count must equal the number of videos. Then delete the cookie export with shred -u (or your
platform's secure delete) and remove the temporary --user-data-dir: both hold a live session.
A self-contained HTML page with the videos inlined as data: URIs plays anywhere with no upload. It only
reaches the people you send it to, so it does not suit docs that a whole team reads in the repository.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub geiserx/sstack --plugin sstack22 skills in this plugin
/docs-loopUse when the user asks to audit docs, check documentation for stale claims, or verify docs against the code./eli5Explain work, a system or a situation to the user in plain words with real names, so they understand it on one read. Use when the user asks to explain like a 5yo, says eli5, or says they do not understand what was done or where things stand./file-prOpen a pull request whose title says why the change matters and whose body opens with the problem in the requester's words. Use when asked to file, open, raise or create a PR, or to rewrite a PR's title or description.Other plugins' skills for the same job