pp-twelvelabs
Printing Press CLI for Twelvelabs. Use the TwelveLabs Video Understanding API to extract information from your videos and make it available to your
What this skill does
<!-- GENERATED FILE — DO NOT EDIT.
This file is a verbatim mirror of library/ai/twelvelabs/SKILL.md,
regenerated post-merge by tools/generate-skills/. Hand-edits here are
silently overwritten on the next regen. Edit the library/ source instead.
See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->
# Twelvelabs — Printing Press CLI
## Prerequisites: Install the CLI
This skill drives the `twelvelabs-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:
1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
```bash
npx -y @mvanhorn/printing-press-library install twelvelabs --cli-only
```
2. Verify: `twelvelabs-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.
If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.4 or newer). This installs into `$GOPATH/bin` (default `$HOME/go/bin`), so add that directory to `$PATH` instead:
```bash
go install github.com/mvanhorn/printing-press-library/library/ai/twelvelabs/cmd/twelvelabs-pp-cli@latest
```
If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.
This CLI wraps the Twelve Labs API and adds workflow commands for video upload, indexing waits, structured briefs, embeddings, and local clip cutting. Agents can go from a long source video to JSON or Markdown editing guidance without manually watching the whole file.
## Editor Workflow
For long videos, prefer the workflow commands before falling back to raw endpoint mirrors:
```bash
twelvelabs-pp-cli upload-video --index-id IDX --file ./long-video.mp4 --wait --json
twelvelabs-pp-cli video-brief --video-id VIDEO_ID --format json --out edit-plan.json
twelvelabs-pp-cli video-brief --video-id VIDEO_ID --format markdown --out edit-plan.md
twelvelabs-pp-cli clips --input ./long-video.mp4 --plan edit-plan.json --out ./clips
```
Use `upload-video` for local files or public URLs, `video-brief` for editor-ready JSON/Markdown with chapters, highlights, and recommended cuts, `embed` for video embeddings with optional wait polling, and `clips` for local `ffmpeg` cuts from a generated plan.
## Unique Capabilities
These capabilities aren't available in any other tool for this API.
### Editor workflows
- **`upload-video`** — Upload a local video file or register a public URL, then poll Twelve Labs until indexing reaches a terminal status.
_Use this before analysis when you need the CLI to wait until the video is usable._
```bash
twelvelabs-pp-cli upload-video --index-id IDX --file ./long-video.mp4 --wait --json --dry-run
```
- **`video-brief`** — Generate a deterministic JSON or Markdown editing plan with title, topics, hashtags, chapters, highlights, and recommended cuts.
_Use this when you want to avoid manually watching a long video just to find the strongest moments._
```bash
twelvelabs-pp-cli video-brief --video-id VID --format json --json --dry-run
```
- **`embed`** — Create a video embedding task from a local file or public URL and optionally wait for ready results.
_Use this when you need embeddings for deeper search, matching, or semantic workflows._
```bash
twelvelabs-pp-cli embed --video-file ./long-video.mp4 --model marengo3.0 --wait --json --dry-run
```
- **`clips`** — Cut local clip files with ffmpeg from a video-brief JSON plan without inventing timestamps.
_Use this after video-brief when you have the source video locally and want clip files immediately._
```bash
twelvelabs-pp-cli clips --dry-run --json
```
## Command Reference
**analyze** — Manage analyze
- `twelvelabs-pp-cli analyze` — This endpoint analyzes your videos and creates fully customizable text based on your prompts
**editor workflows** — High-level video editing helpers
- `twelvelabs-pp-cli upload-video` — Upload or register a video and optionally wait for indexing.
- `twelvelabs-pp-cli video-brief` — Create a deterministic editor-ready JSON or Markdown plan.
- `twelvelabs-pp-cli embed` — Create video embeddings from a local file or URL and optionally wait for readiness.
- `twelvelabs-pp-cli clips` — Cut local clips from a `video-brief` JSON plan using `ffmpeg`.
**assets** — Manage assets
- `twelvelabs-pp-cli assets create` — This method creates an asset by uploading a file to the platform.
- `twelvelabs-pp-cli assets create-multipart-upload` — This method creates a multipart upload session. **Supported content**: Video and audio **File size**: 4GB maximum.
- `twelvelabs-pp-cli assets delete` — This method deletes the specified asset. This action cannot be undone.
- `twelvelabs-pp-cli assets get-upload-status` — This method provides information about an upload session, including its current status, chunk-level progress
- `twelvelabs-pp-cli assets list` — This method returns a list of assets in your account.
- `twelvelabs-pp-cli assets list-incomplete-uploads` — This method returns a list of all incomplete multipart upload sessions in your account.
- `twelvelabs-pp-cli assets report-chunk-batch` — This method reports successfully uploaded chunks to the platform.
- `twelvelabs-pp-cli assets request-additional-presigned-urls` — This method generates new presigned URLs for specific chunks that require uploading.
- `twelvelabs-pp-cli assets retrieve` — This method retrieves details about the specified asset.
**embed** — Manage embed
- `twelvelabs-pp-cli embed create-text-image-audio-embedding` — <Note title='Note'> This endpoint will be deprecated in a future version. Migrate to the [Embed API v2](/v1.
- `twelvelabs-pp-cli embed create-video-embedding-task` — <Note title='Note'> This endpoint will be deprecated in a future version. Migrate to the [Embed API v2](/v1.
- `twelvelabs-pp-cli embed list-video-embedding-tasks` — <Note title='Note'> This method will be deprecated in a future version. Migrate to the [Embed API v2](/v1.
- `twelvelabs-pp-cli embed retrieve-video-embedding` — This method retrieves embeddings for a specific video embedding task.
- `twelvelabs-pp-cli embed retrieve-video-embedding-task` — <Note title='Note'> This endpoint will be deprecated in a future version. Migrate to the [Embed API v2](/v1.
**embed-v2** — Manage embed v2
- `twelvelabs-pp-cli embed-v2 create-async-embedding-task` — This endpoint creates embeddings for audio and video content asynchronously.
- `twelvelabs-pp-cli embed-v2 create-embeddings` — This endpoint synchronously creates embeddings for multimodal content and returns the results immediately in the
- `twelvelabs-pp-cli embed-v2 list-async-embedding-tasks` — This method returns a list of the async embedding tasks in your account.
- `twelvelabs-pp-cli embed-v2 retrieve-embeddings` — This method retrieves the status and the results of an async embedding task.
**entity-collections** — Manage entity collections
- `twelvelabs-pp-cli entity-collections create` — This method creates an entity collection.
- `twelvelabs-pp-cli entity-collections delete` — This method deletes the specified entity collection. This action cannot be undone.
- `twelvelabs-pp-cli entity-collections list` — This method returns a list of the entity collections in your account.
- `twelvelabs-pp-cli entity-collections retrieve` — This method retrieves details about the specified entity collection.
- `twelvelabs-pp-cli entity-collections update` — This method updates the specified entity collection.
**gist** — Manage gist
- `twelvelabs-pp-cli gist` — <Note title='Deprecation notice'> This endpoint will be sunset and removed on February 15, 2026.
**indexes** — Manage indexes
- `twelvelabs-pp-cli indexes create-index` — This methRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.