Skip to content
Source
Sign inSign up
fuko/rive-preview-player

Add installable Rive video preview skill #2

Mergedfukomerged 1 commit intomain fromfeat/agent-skillmerged by fuko View on GitHub

Showing 3 changed files with 84 additions and 0 deletions.

x
0 of 3 viewed, 3 left
49 additions and 0 deletionsskills/rive-video-preview/SKILL.mdAdded
View file
@@ -0,0 +1,49 @@
+---
+name: rive-video-preview
+description: Preview Rive CLI projects or .riv files as a scrubbable video with sound, point the user at exact moments, and read the screenshots + notes they send back. Use when working on a Rive animation (a project with rive.yaml, or a .riv) and the user wants to see it, review it, or gives feedback on specific frames; also when the user pastes a timecode like "00:12.350 (frame 741)" or mentions "Send to agent", get_feedback or rive-video-preview.
+license: MIT
+---
+​
+# rive-video-preview
+​
+`rive-video-preview` opens a video-style player for a Rive project: a scrubbable timeline,
+synced audio, frame stepping and copyable timecodes. The user can screenshot frames, write a
+note on each, and press **Send to agent**; you read that feedback through its MCP server.
+​
+## Setup check
+​
+1. `command -v rive-video-preview`. If it is missing, tell the user to install it from
+ https://github.com/fulopkovacs/rive-preview-player (`pnpm install && pnpm link --global`).
+2. If you have no `get_feedback` / `wait_for_feedback` / `seek_player` tools, the MCP server is
+ not registered. Suggest (for Claude Code, run in the project):
+ `claude mcp add rive-preview -- rive-video-preview mcp`
+ then restart the session. Until then, read feedback from files (see below).
+​
+## Showing the user the animation
+​
+- Start the player in the background, once: `rive-video-preview .` (or `rive-video-preview path/to/file.riv`).
+ It rebuilds on every save and never exits; leave it running. Running it again reuses the open player.
+- To point the user at a moment, call `seek_player` with a time (`12.5`, `1:02.25`, `f741`),
+ or run `rive-video-preview . --at <time>`.