skills/laughter-detector/SKILL.md
Detect laughter and humorous segments in audio/video. Use when you want to find funny moments, identify audience reactions, or create viral clips from humorous content. Supports both AI model detection and keyword-based detection from transcripts.
npx skillsauth add akrindev/trimer-clip laughter-detectorInstall 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 detect laughter and humorous segments in audio or video files.
Analyzes transcript for laughter-related keywords and phrases:
Analyzes audio characteristics:
Uses trained laughter detection models:
scripts/detect_laughter.pyDetect laughter segments in audio/video.
Usage:
python skills/laughter-detector/scripts/detect_laughter.py <video_path> [options]
Options:
--method: Detection method (keywords, audio, ai) - default: keywords--transcript-path: Path to transcript SRT/VTT file (for keyword detection)--threshold: Detection threshold (0.0-1.0) - default: 0.5--min-duration: Minimum laughter segment duration (seconds) - default: 0.3--output, -o: Output JSON path (default: <video_path>_laughter.json)Examples:
Detect laughter from transcript:
python skills/laughter-detector/scripts/detect_laughter.py video.mp4 --transcript-path video.srt
Detect with audio analysis:
python skills/laughter-detector/scripts/detect_laughter.py video.mp4 --method audio --threshold 0.4
scripts/detect_from_transcript.pyDetect laughter from transcript file only.
Usage:
python skills/laughter-detector/scripts/detect_from_transcript.py <transcript_path> [options]
Options:
--keywords: Custom keywords (comma-separated)--output, -o: Output JSON pathExample:
python skills/laughter-detector/scripts/detect_from_transcript.py video.srt --keywords "laugh,laughter,haha"
{
"video_path": "video.mp4",
"method": "keywords",
"total_laughter_segments": 8,
"laughter_segments": [
{
"segment_number": 1,
"start_time": 12.5,
"end_time": 15.2,
"duration": 2.7,
"confidence": 0.85,
"text": "[laughter] That's hilarious!",
"type": "explicit"
},
{
"segment_number": 2,
"start_time": 45.0,
"end_time": 47.8,
"duration": 2.8,
"confidence": 0.92,
"text": "(laughing) I can't believe it",
"type": "explicit"
}
],
"total_laughter_duration": 15.5,
"laughter_percentage": 12.5
}
After laughter detection, you can use these skills:
highlight-scanner: Combine laughter with other signalsvideo-trimmer: Create clips from laughter segmentsautocut-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.