From twelvelabs
Set up and search for specific people or objects in videos using entity search. Use when the user wants to find a specific person, track someone across videos, or set up face/object recognition. Triggers on phrases like "find this person", "set up entity search", "track this person in my videos", "who is in this video".
npx claudepluginhub twelvelabs-io/twelve-labs-claude-code-pluginThis skill uses the workspace's default tool permissions.
Find specific people or objects in your indexed videos using reference images. Entity search lets you register a person with reference photos, then search for them across all your videos.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Performs token-optimized structural code search using tree-sitter AST parsing to discover symbols, outline files, and unfold code without reading full files.
Find specific people or objects in your indexed videos using reference images. Entity search lets you register a person with reference photos, then search for them across all your videos.
Use this skill when the user:
First check if the user already has entity collections set up:
Tool: mcp__twelvelabs-mcp__list-entity-collections
If collections exist, show them and ask if the user wants to use an existing one or create a new one.
An entity collection groups related entities. Create one per logical group (e.g., "Team A", "Film Cast").
Tool: mcp__twelvelabs-mcp__create-entity-collection
Parameters:
name: "<collection name>"
Upload one or more reference images for the person. Multiple images from different angles and lighting improve accuracy.
From a URL:
Tool: mcp__twelvelabs-mcp__create-asset
Parameters:
imageUrl: "<publicly accessible image URL>"
From a local file:
Tool: mcp__twelvelabs-mcp__create-asset
Parameters:
imageFilePath: "<absolute path to image file>"
Repeat for each reference image. Collect all returned asset IDs.
Create an entity within the collection, linking it to the reference image assets:
Tool: mcp__twelvelabs-mcp__create-entity
Parameters:
collectionId: "<collection ID from step 2>"
name: "<person's name>"
assetIds: ["<asset_id_1>", "<asset_id_2>"]
The response will include the entity ID and the search query format.
Use the search tool with the entity ID in the query:
Tool: mcp__twelvelabs-mcp__search
Parameters:
query: "<@entity_id> action description"
Query format: Wrap the entity ID with <@ and >, then add an optional action description.
Examples:
<@abc123> - find all appearances<@abc123> is giving a presentation - find specific actions<@abc123> is walking - find movement scenesFormat results the same way as regular search:
List entities in a collection:
Tool: mcp__twelvelabs-mcp__list-entities
Parameters:
collectionId: "<collection ID>"
Delete an entity:
Tool: mcp__twelvelabs-mcp__delete-entity
Parameters:
collectionId: "<collection ID>"
entityId: "<entity ID>"
Delete a collection:
Tool: mcp__twelvelabs-mcp__delete-entity-collection
Parameters:
collectionId: "<collection ID>"
User: "I want to find all clips of Sarah in my videos. Here's her photo: https://example.com/sarah.jpg"
Steps:
<@entity_id> queryvisual and audio search options are used for entity search