video-query
Analyzes video files using Google Gemini API and answers questions about content. Triggers on keywords: video query, analyze video, video analysis, query video
npx skills add majiayu000/claude-skill-registry --skill video-query --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Video Query Command Analyze a video file using Google Gemini API and answer questions about its content. **Video Path:** $1 **Query:** $2 ## Pre-Flight Checks 1. **Verify Video Path Provided** - If `$1` is empty: STOP with "Error: Video path required. Usage: /video-query <video-path> <query>" 2. **Verify Query Provided** - If `$2` is empty: STOP with "Error: Query required. Usage: /video-query <video-path> <query>" 3. **Verify Script Exists** - Resolve script path from `${CLAUDE_PLUGIN_ROOT}` - Check that script exists at resolved path - If not found: STOP with "Error: video-query.py script not found in plugin" 4. **Verify GEMINI_API_KEY** - Check if GEMINI_API_KEY environment variable is set - If not set: STOP with "Error: GEMINI_API_KEY not set. Export it: `export GEMINI_API_KEY=your_key`" ## Execution 1. **Resolve Script Path** - Use plugin-root path resolution: ```bash SCRIPT_PATH="${CLAUDE_PLUGIN_ROOT}/scripts/video-query.py" ``` 2. **Run Video Query Script** - Execute: `uv run "$SCRIPT_PATH" "$1" "$2" --json` - Capture output 3. **Parse JSON Response** - Extract: video_path, query, model, response, usage, cost, time_seconds 4. **Format and Present Results** Present results
- Pre-Flight Checks
- Execution
- Error Handling
- Setup
- Dependencies
export GEMINI_API_KEY="your-api-key-here"
What does the video-query skill do?
Analyzes video files using Google Gemini API and answers questions about content. Triggers on keywords: video query, analyze video, video analysis, query video
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill video-query --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
