← Commit history

Add adompkg installer files

Kyle Bergstedt ·40d8045ee4 ·4mo ago ·parent f3a9dec
5 files changed +86−1
README.md+1−1
@@ -74,4 +74,4 @@ Execute a scripted walkthrough with timed steps. Supports actions like `show_3d` | `project-content/videos/*.meta.json` | Per-video metadata | | `viewer/viewer/movie-maker.html` | Movie Maker UI (Record, Library, Scripts tabs) | | `viewer/viewer/record-popup.html` | Popup recording fallback |-| `viewer/server.js` | Server routes for video/script CRUD |\ No newline at end of file+| `viewer/server.js` | Server routes for video/script CRUD |
SKILL.mdadded+55
@@ -0,0 +1,55 @@+---+name: movie-maker+description: Use when the user asks to "record a video", "record a demo", "create a walkthrough", "make a movie", "record the project", "narrate a walkthrough", "record my screen", "show my recordings", "play a video", "list my videos", "execute a script", "run a walkthrough script", "create a recording script", or wants to capture narrated screen recordings with silence detection and smart playback.+---++# Movie Maker++Record narrated walkthroughs of your Gallia project. Captures browser tab video + microphone audio, detects silence, and provides smart playback that skips dead air. Videos are organized in a Library with thumbnails, duration, and talking/silence breakdowns.++**Input**: User clicks Record in toolbar or Movie Maker UI, or Claude executes a script+**Output**: `.webm` video files stored in project content, viewable in the Library++## Architecture++Recording runs in the **parent frame** (index.html toolbar) to avoid iframe `getDisplayMedia` restrictions. If that fails, falls back to a popup tab (`record-popup.html`). Communication between components uses `BroadcastChannel` (popup mode) or `postMessage` (parent mode).++## MCP Tools++### gv_recording_status+Check if Movie Maker is currently recording.++### gv_execute_script+Execute a scripted walkthrough that controls the viewer with timed steps.++#### Script Step Actions++| Action | Description | Params |+|--------|-------------|--------|+| `show_3d` | Load a GLB 3D model | `glb_path` (required) |+| `set_view` | Camera preset | `view`: front, back, left, right, top, bottom, isometric |+| `set_camera` | Custom camera angle | `alpha`, `beta`, `radius` |+| `start_tour` | Begin cinematic camera rotation | (none) |+| `stop_tour` | Stop camera rotation | (none) |+| `display` | Show HTML content | `html`, `title` |+| `display_file` | Show a file | `file_path`, `title` |+| `caption` | Overlay text on screen | `text` |+| `wait` | Pause between steps | (none) |+| `show_files` | Show file explorer | `path` (optional) |++## Recording Features++### Silence Detection+During recording, an AnalyserNode monitors microphone audio levels. Stretches below threshold lasting 2+ seconds are marked as silence regions.++### Smart Playback+Player speeds through silence regions at 16x, returning to 1x when talking resumes.++### Timeline Markers+Yellow markers for each silence region, Prev/Next buttons, click-to-seek.++### Toolbar Record Button+Record from any view via toolbar button. Alt+R shortcut. Timer and red dot during recording.++### TabShot Conflict Detection+Recording blocked when Screen Capture is active.
install.shadded+15
@@ -0,0 +1,15 @@+#!/bin/bash+set -e+PKG_DIR="$(cd "$(dirname "$0")" && pwd)"+SKILLS_DIR="$HOME/.claude/skills"+mkdir -p "$SKILLS_DIR/movie-maker"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/movie-maker/SKILL.md"+fi+for skill_dir in "$PKG_DIR/skills"/*/; do+  [ -d "$skill_dir" ] || continue+  skill_name=$(basename "$skill_dir")+  mkdir -p "$SKILLS_DIR/$skill_name"+  cp -r "$skill_dir"* "$SKILLS_DIR/$skill_name/"+done+echo "Installed movie-maker"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "movie-maker",+  "version": "1.0.0",+  "type": "skill",+  "description": "Record narrated walkthroughs of your Gallia project with screen + mic capture, silence detection, smart playback that skips dead air, timeline markers, and a full video library with thumbnails.",+  "dependencies": {},+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  }+}
uninstall.shadded+4
@@ -0,0 +1,4 @@+#!/bin/bash+set -e+rm -rf "$HOME/.claude/skills/movie-maker"+echo "Uninstalled movie-maker"