video-query

video-query is a skill for Claude Code from WaterplanAI/agentic-config. It costs 33 tokens per session (629 once invoked), scanned A, a copy of ac-tools-video-query, MIT.

A command that sends a video file and a question about it to the Google Gemini AI service, then presents the answer.

In plain words
What is it for?
Use it to query a video when you have a Gemini API key and want an answer about what it contains.
Why use it?
It lets you ask about video content without manually watching the entire file or building the API request yourself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ac-tools plugin — 17 skills shipped together

Good fit Use it to query a video when you have a Gemini API key and want an answer about what it contains.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add WaterplanAI/agentic-config
Claude Code
/plugin install ac-tools

Made for: Claude Code.

Or install ac-tools, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/video-query/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/video-query)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/video-query"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/video-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/video-query"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/video-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00629
Opus 5.5 $0.00013 $0.00252
Sonnet 5.5 $0.00007 $0.00126
Haiku 4.5 $0.00003 $0.00063

Measured 19d ago against content hash e824a589bb55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

video-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to ac-tools-video-query — 17 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-tools/skills/ac-tools/video-query/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 "
  2. Verify Query Provided

    • If $2 is empty: STOP with "Error: Query required. Usage: /video-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:
    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 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 Handling

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"

Setup

Requires GEMINI_API_KEY environment variable:

export GEMINI_API_KEY="your-api-key-here"

Get API key from: https://aistudio.google.com/apikey

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago First seen · 91 lines · 33 tokens per session scan A e824a589bb55

Subscribe to this mod's changes

video-query is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 33 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to ac-tools-video-query, differing in 17 lines, and is treated as a copy.

Related

video-query compared with skills from other repositories

video-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-queryWaterplanAI/agentic-configSkill3120d agoMITA33Claude Code
toolbelttoolbeltai/toolbelt-skillsSkill212d agoApache-2.0A219Claude Code, Codex
pinecone-quickstartpinecone-io/pinecone-cursor-pluginSkill318d agoMITA94Cursor
pinecone-n8npinecone-io/pinecone-cursor-pluginSkill318d agoMITA67Cursor
pinecone-full-text-searchpinecone-io/pinecone-cursor-pluginSkill318d agoMITA179Cursor
pinecone-clipinecone-io/pinecone-cursor-pluginSkill318d agoMITA74Claude Code, Cursor
pinecone-helppinecone-io/pinecone-cursor-pluginSkill318d agoMITA52Cursor