xiaohongshu
xiaohongshu
laughter-detector
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.
Full skill instructions
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-transcriberxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience