Back to list
macnversion

video-analysis

by macnversion

0🍴 0📅 Jan 14, 2026

SKILL.md


name: video-analysis description: "AI-powered video understanding and analysis toolkit. Use this skill when Claude needs to: (1) Analyze video files (.mp4, .mov, .avi, .mkv, .webm, screen recordings), (2) Extract video content or summarize videos, (3) Identify key moments with timestamps, (4) Analyze product demos or app tutorials, (5) Transcribe or understand video content, (6) Extract frames or screenshots from video, or any other video understanding task. Supports: general video summary, product feature extraction, key moment identification with timestamps, and custom prompt-based analysis."

Video Analysis

AI-powered video content understanding capability that enables intelligent analysis of video files.

Prerequisites

  • Python 3.7+
  • ARK_API_KEY environment variable (Volces ARK API required)
  • Required packages: openai (Volces ARK API is compatible with OpenAI SDK)

Note: This skill uses Volces (火山引擎) ARK API for video analysis. The API is OpenAI-compatible, so we use the OpenAI SDK with a custom base URL.

Quick Start

# Set up API key
export ARK_API_KEY="your_api_key_here"

# Run analysis
python -c "
from scripts.video_analyzer import VideoAnalyzer
result = VideoAnalyzer().analyze_video('demo.mp4', 'general')
print(result['analysis_result']['summary'])
"

Common Use Cases

ScenarioRecommended TypeExample
Quick video overviewgeneral"Analyze this video and give me a summary"
Product demo analysisproduct"Extract features from this app demo"
Test case extractionkey_nodes"Find key moments for QA testing"
UI/UX reviewcustom"Analyze accessibility issues in this video"
Documentationkey_nodes + general"Create documentation from tutorial video"
Competitive analysisproduct"Understand competitor's features"

Analysis Types

TypeUse CaseCommand
generalQuick content overview and summaryanalyze_video(path, "general")
productApp/feature understanding from product perspectiveanalyze_video(path, "product")
key_nodesTimestamped moments for testing/documentationanalyze_video(path, "key_nodes")
customSpecialized analysis with your promptanalyze_with_prompt(path, custom_prompt)

See Analysis Types for detailed usage of each type.

Complete Workflow Example

from scripts.video_analyzer import VideoAnalyzer

# Initialize analyzer
analyzer = VideoAnalyzer()

# Example 1: Get video summary
result = analyzer.analyze_video("demo.mp4", "general")
print(result['analysis_result']['summary'])

# Example 2: Extract product features
result = analyzer.analyze_video("app_demo.mp4", "product")
print(f"Product: {result['analysis_result']['product_name']}")
print(f"Features: {result['analysis_result']['key_features']}")

# Example 3: Get key moments for testing
result = analyzer.analyze_video("tutorial.mp4", "key_nodes")
for node in result['analysis_result']['key_nodes']:
    print(f"[{node['timestamp']}] {node['description']}")

See API Reference for complete documentation.

Output Format

All results return structured JSON with analysis_result and metadata.

See Output Guide for quality standards and examples.

Error Handling

Handle common errors: FileNotFoundError, ValueError, RuntimeError.

See Error Handling for detailed troubleshooting.

Configuration

Set environment variable:

# Option 1: Temporary (current session only)
export ARK_API_KEY="your_api_key_here"

# Option 2: Permanent (add to ~/.zshrc)
echo 'export ARK_API_KEY="your_api_key_here"' >> ~/.zshrc
source ~/.zshrc

# Verify it's set
echo $ARK_API_KEY

Optional: Override in VideoAnalyzer constructor with api_key, base_url, or model parameters.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon