From ac-tools
Analyzes local video files using Google Gemini API to answer questions about their content. Run via /video-query <video-path> <query>; auto-triggers on video query keywords.
npx claudepluginhub waterplanai/agentic-config --plugin ac-toolsThis skill is limited to using the following tools:
Analyze a video file using Google Gemini API and answer questions about its content.
Analyzes video files (.mp4, .mov, .avi, .mkv, .webm) using ffmpeg for scene changes, silence, motion, transcription; extracts targeted frames and audio segments.
Analyzes video content using Volcengine Ark API with Files upload (up to 512MB). Supports scene/person/action/emotion understanding, Q&A, descriptions, and summaries via Python CLI scripts. Useful for video processing tasks.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Analyze a video file using Google Gemini API and answer questions about its content.
Video Path: $1 Query: $2
Verify Video Path Provided
$1 is empty: STOP with "Error: Video path required. Usage: /video-query "Verify Query Provided
$2 is empty: STOP with "Error: Query required. Usage: /video-query "Verify Script Exists
${CLAUDE_PLUGIN_ROOT}Verify GEMINI_API_KEY
export GEMINI_API_KEY=your_key"Resolve Script Path
SCRIPT_PATH="${CLAUDE_PLUGIN_ROOT}/scripts/video-query.py"
Run Video Query Script
uv run "$SCRIPT_PATH" "$1" "$2" --jsonParse JSON Response
Format and Present Results
Present results as:
## Video Analysis Results
**Video:** <video_path>
**Model:** <model>
**Query:** <query>
### Response
<model response text>
---
**Cost:** $<total_cost_usd> | **Tokens:** <input_tokens> in / <output_tokens> out | **Time:** <time_seconds>s
| Error | Action |
|---|---|
| Video not found | Show: "Video file not found: $1" |
| API key not set | Show: "GEMINI_API_KEY not set. Export it: export GEMINI_API_KEY=your_key" |
| API error | Show full error output |
| Script error | Show full error output |
| Script not found | Show: "video-query.py not found in plugin" |
Requires GEMINI_API_KEY environment variable:
export GEMINI_API_KEY="your-api-key-here"
Get API key from: https://aistudio.google.com/apikey