index-video

index-video is a command for Claude Code from twelvelabs-io/twelve-labs-claude-code-plugin. It costs 19 tokens per session (3,022 once invoked), scanned A, original, MIT.

A command for sending a video file, folder, or web link to TwelveLabs for AI indexing, or checking an indexing task's status.

In plain words
What is it for?
Use it to index local videos, public Google Drive videos, or remote video URLs, optionally attaching JSON metadata. You can also check whether an indexing task has finished.
Why use it?
It removes the manual work of preparing videos for later AI search and analysis.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the twelvelabs plugin — 10 skills, 11 commands, 2 hooks, 1 MCP server shipped together

Good fit Use it to index local videos, public Google Drive videos, or remote video URLs, optionally attaching JSON metadata. You can also check whether an indexing task has finished.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/twelvelabs-io/twelve-labs-claude-code-plugin

Made for: Claude Code.

Or install twelvelabs, the plugin that ships this one along with the rest of its 10 skills, 11 commands, 2 hooks, 1 MCP server.

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 index-video

README.md
[![agentmods](https://agentmods.dev/badge/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video/github.svg)](https://agentmods.dev/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video)
Your own site
<a href="https://agentmods.dev/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video"><img src="https://agentmods.dev/badge/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video/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 index-video

Your own site · 80×15
<a href="https://agentmods.dev/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video"><img src="https://agentmods.dev/badge/commands/twelvelabs-io/twelve-labs-claude-code-plugin/index-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,022 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 original No closer match found 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.00019 $0.03022
Opus 5 $0.00010 $0.01511
Sonnet 5 $0.00004 $0.00604
Haiku 4.5 $0.00002 $0.00302

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

Security

Grade A, and why

index-video 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 10d 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.

commands/index-video.md · 366 lines

How it starts

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

/twelvelabs:index-video - Index Videos for AI Analysis

Index local video files (single or whole folder) or remote URLs for AI analysis using TwelveLabs, or check the status of indexing tasks. Optional userMetadata lets you attach JSON key/value pairs that round-trip into search results.

Usage

/twelvelabs:index-video <path-or-url-or-folder> [index-id]
/twelvelabs:index-video status [task-id]

User provided: $ARGUMENTS

Arguments

  • path-or-url-or-folder - Required (for indexing). One of:
    • Local file path to a video file
    • Local folder path containing video files (every .mp4/.mov/.avi/.mkv/.webm in the folder is indexed)
    • Remote http(s) URL to a video
    • Google Drive link (single file or public folder — folder indexes all MP4s)
  • index-id - Optional. ID of the index to add the video(s) to. If not provided, uses the default index.
  • userMetadata - Optional. JSON string of key/value pairs to attach to the indexed video(s). Keys are strings; values can be string/integer/float/boolean. Example: '{"project": "demo", "source": "/local/path"}'. The metadata appears in search results.
  • status - Check indexing task status. Optionally provide a task ID.

Supported Video Formats

  • .mp4 - MPEG-4 Video
  • .mov - QuickTime Movie
  • .avi - Audio Video Interleave
  • .mkv - Matroska Video
  • .webm - WebM Video

Examples

Index a Video

/twelvelabs:index-video ./video.mp4
/twelvelabs:index-video /absolute/path/to/video.mp4
/twelvelabs:index-video https://example.com/video.mp4
/twelvelabs:index-video https://drive.google.com/file/d/FILE_ID/view
/twelvelabs:index-video https://drive.google.com/drive/folders/FOLDER_ID
/twelvelabs:index-video ./video.mp4 abc123

Check Indexing Status

/twelvelabs:index-video status
/twelvelabs:index-video status 6789abcd-1234-5678-9012-abcdef123456

Instructions for Claude

When the user invokes /twelvelabs:index-video, the argument is provided in $ARGUMENTS. Follow these steps:

Read the full file on GitHub · 366 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. 10d ago First seen · 366 lines · 19 tokens per session scan A 86bff9d248cd

Subscribe to this mod's changes

index-video is a command published in the GitHub repository twelvelabs-io/twelve-labs-claude-code-plugin (23 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 3,022 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.