skills/sentiment-analyzer/SKILL.md
Analyze sentiment and emotion in audio/video content. Use when you want to identify emotional peaks, detect positive/negative sentiment, find reaction moments, or analyze the emotional journey throughout the video. Supports both transcript-based and AI-based emotion detection.
npx skillsauth add akrindev/trimer-clip sentiment-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables AI agents to analyze sentiment and emotion in video content.
Analyzes transcript for emotion keywords:
Positive: excited, amazing, incredible, wow, love, happy, joy Negative: terrible, awful, hate, sad, angry, frustrated, disappointing Surprise: oh my god, what!, unbelievable, shocked, can't believe Enthusiasm: let's go, come on, yes!, awesome, fantastic
Uses Gemini API for advanced emotion analysis:
Analyzes audio characteristics:
scripts/analyze_sentiment.pyAnalyze sentiment in video content.
Usage:
python skills/sentiment-analyzer/scripts/analyze_sentiment.py <video_path> [options]
Options:
--method: Analysis method (keywords, ai, audio) - default: keywords--transcript-path: Path to transcript SRT/VTT file (for keyword detection)--output, -o: Output JSON path (default: <video_path>_sentiment.json)--window-size: Analysis window size in seconds - default: 5.0Examples:
Analyze from transcript:
python skills/sentiment-analyzer/scripts/analyze_sentiment.py video.mp4 --transcript-path video.srt
Analyze with Gemini AI:
python skills/sentiment-analyzer/scripts/analyze_sentiment.py video.mp4 --method ai
scripts/find_emotional_peaks.pyFind emotional peaks and significant moments.
Usage:
python skills/sentiment-analyzer/scripts/find_emotional_peaks.py <video_path> [options]
Options:
--threshold: Peak detection threshold (0.0-1.0) - default: 0.7--emotion-type: Filter by emotion type (positive, negative, surprise, all) - default: all--output, -o: Output JSON pathExample:
python skills/sentiment-analyzer/scripts/find_emotional_peaks.py video.mp4 --threshold 0.8 --emotion-type positive
{
"video_path": "video.mp4",
"method": "keywords",
"overall_sentiment": {
"positive": 0.45,
"negative": 0.15,
"neutral": 0.40
},
"emotional_peaks": [
{
"timestamp": 23.5,
"duration": 3.2,
"emotion": "positive",
"intensity": 0.85,
"text": "This is absolutely incredible!",
"keywords": ["incredible"]
},
{
"timestamp": 67.0,
"duration": 2.8,
"emotion": "surprise",
"intensity": 0.90,
"text": "Oh my god, I can't believe this!",
"keywords": ["oh my god", "can't believe"]
}
],
"sentiment_timeline": [
{
"start": 0.0,
"end": 30.0,
"dominant_emotion": "neutral",
"intensity": 0.4
},
{
"start": 30.0,
"end": 60.0,
"dominant_emotion": "positive",
"intensity": 0.7
}
]
}
After sentiment analysis, you can use these skills:
highlight-scanner: Combine sentiment with other signalsvideo-trimmer: Create clips from emotional peaksautocut-shorts: Full workflow for creating short clipsvideo-transcribertesting
Download videos from YouTube URLs. Use when user wants to download a YouTube video for processing, editing, or transcription. Supports different quality options, audio-only extraction, and playlist downloads.
tools
Trim and cut videos by timestamp with precision. Supports both stream copy (fast) and re-encoding (quality) modes. Use when you need to extract specific segments from videos, create clips from highlights, or cut unwanted portions.
development
Transcribe audio from videos using Whisper (local), OpenAI Whisper API, Google Speech-to-Text, or Gemini API (gemini-flash-lite-latest). Use when you need to convert video/audio to text for further processing, subtitle generation, or content analysis. Supports multiple languages, speaker diarization, and timestamp-accurate transcription. Gemini provides additional features like emotion detection and viral segment analysis.
tools
Add burned-in subtitles/captions to video clips. Supports SRT/VTT/ASS subtitle files, customizable styling (font, size, color, position), and platform-specific presets for TikTok, YouTube Shorts, and Instagram Reels.