Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

session-story

БесплатноЗапускает вложенные скриптыНе проверен

An agent makes an animated film of an average session with its own user, beginning to end, told with that user's real messages: whatever their routine is…

heygen-comот heygen-com★ 312 звёзд на GitHub

Об этом скилле

Session story

The agent reads its own history with its user, finds their routine, and turns one typical session into a 40 to 70 s film, in the order it happened:

  • Story: the user's verbatim words arriving as objects, and the agent's own replies going back. The window and the wall clock follow the session's real time.
  • Room: decorated from what the agent knows about its user.
  • Score: composed by the agent against the film's own timeline.

Write story.json and the engine does the choreography. Nothing on screen is invented: every line is a quote, and the user approves every line before a frame is rendered.

When to use / when not

  • Use when a user asks their agent for a film of their work together, and the agent has real history with that user: local transcripts, or messages the user pastes in.
  • Do not use for someone else's history, a team's shared logs, marketing with made-up quotes, or anything the user won't review. With no history at all, ask the user for a session's messages. Never invent quotes.

Requirements and side effects (complete list)

  • Tools: Node 22+, Python 3.9+ (standard library only), ffmpeg on PATH, and the HyperFrames CLI pinned to npx --yes [email protected] (downloaded from the npm registry on first use).
  • Setup (once, manually): sh scripts/setup.sh runs npm ci from the committed lockfile: p5 2.3.3 (LGPL-2.1), p5.brush 2.2.3 (MIT), @fontsource/permanent-marker 5.3.0 (Apache-2.0). Read-only downloads from npm.
  • Score renderer: on macOS, swift (Xcode Command Line Tools) plays the score through Apple's built-in General MIDI bank. Elsewhere, fluidsynth with a General MIDI soundfont you set as SOUNDFONT. Neither downloads anything.
  • Reads (local only, after the user says yes): the agent's own transcripts, ~/.claude/projects/<project>/*.jsonl (Claude Code) and ~/.codex/sessions (Codex), for the current project unless the user allows --all-projects. Also the agent's memory and instruction files for the room. Nothing is uploaded.
  • Writes: session-story-candidates.json (harvest) and everything inside the project folder you create. Both hold the user's words: never commit or share them.
  • Network at build time: none. Pass --describe false to every snapshot, as shown below: with GEMINI_API_KEY set, snapshot otherwise sends frames (the user's words) to Gemini. Render locally: the page paints with WebGL.
  • No credentials, no paid calls.

Workflow

  1. Setup: sh scripts/setup.sh (once).
  2. Ask first. Tell the user you'll read your local history with them to find the session, and wait for a yes.
  3. Harvest: python3 scripts/harvest.py --project <their project folder> --out <scratch>/candidates.json prints the routine and lists sessions, most typical first. --session <id> (with the same --project) prints one in order, with local times and your replies. Per references/sources.md.
  4. Scaffold: node scripts/new-project.mjs <dir>. Everything you write from here lives in <dir>.
  5. Story: take a typical session and write <dir>/story.json beat by beat, in the order it happened, with each beat's real time, per references/story.md. The user's lines are verbatim spans; your replies are your own words from that session. Set screen to what their work looks like, and pick the ending their sessions have. node scripts/schedule.mjs <dir> checks it: run it after every edit.
  6. Room: fill the slots from what you know about the user, per references/room.md. Draw a custom prop in <dir>/scenes/props-custom.js when the library has nothing true to them. If you are not Claude, draw yourself: references/cast.md.
  7. Privacy gate: show the user one table of every on-screen line (hook, nameplate, each quote, each reply, each prop and why), each with its source. Take their edits, get an explicit yes, then set "approved": true. Until then every frame carries a DRAFT stamp.
  8. Design pass: run the snapshot command schedule.mjs prints. Look at every frame: quotes legible, props where they belong, nothing covering a message. Show the user the contact sheet.
  9. Score: write <dir>/score/score.py with your own theme, key and palette, per references/score.md. Then sh <dir>/score/build.sh. It fails on dead air.
  10. Render: from <dir>: npx --yes [email protected] check, then npx --yes [email protected] render --fps 24 --crf 12 -o renders/session-story.mp4.
  11. Check the render: its length must match schedule.mjs. Pull a frame at each key moment (ffmpeg -ss <t> -i renders/session-story.mp4 -frames:v 1 renders/check-<t>.png) and look at them. Then hand it to the user to watch with sound.

The example (node scripts/new-project.mjs <dir> --example, then `schedule.mjs

--examp

Полный SKILL.md на GitHub

Установить session-story в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/engine/LICENSE-ClaudeAnimationBaseassets/engine/NOTICE.mdassets/engine/index.htmlassets/engine/kit/clawd.jsassets/engine/kit/config.jsassets/engine/kit/core.jsassets/engine/kit/hf-bridge.jsassets/engine/kit/timeline.jsassets/engine/scenes/cast-custom.jsassets/engine/scenes/compile.jsassets/engine/scenes/desk.jsassets/engine/scenes/director.jsassets/engine/scenes/paper.jsassets/engine/scenes/props-custom.jsassets/engine/scenes/props.jsassets/engine/story.jsassets/example/score.pyassets/example/story.jsonreferences/cast.mdreferences/motion.mdreferences/room.mdreferences/score.mdreferences/sources.mdreferences/story.mdscripts/harvest.pyscripts/new-project.mjsscripts/package-lock.jsonscripts/package.jsonscripts/schedule.mjsscripts/score/build.shscripts/score/orchestra.pyscripts/score/qc.pyscripts/score/render.swiftscripts/setup.sh

FAQ

Что делает скилл session-story?

An agent makes an animated film of an average session with its own user, beginning to end, told with that user's real messages: whatever their routine is (code, writing, data, design, video). The agent sits at a desk in a room decorated from what it knows about the user, and the monitor shows their kind of work. Requests glide in as paper planes and unfold. Corrections are a 3D cartoon mallet that bonks, then turns to show the words on its face. Praise is a butterfly towing the words on a ribbon. The agent types each reply onto a sheet, folds it and throws it back. The film opens with the agent asleep until the monitor boots: "Initiating session with <name>". The agent composes its own orchestral score, cued to every action. p5.brush watercolour, rendered in HyperFrames. Trigger on: "a video of our session", "animate a session with me", "session story", "show what working with me is like", "make a film about me and my agent".

Как установить скилл session-story?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл session-story запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить session-story с