xiaohongshu
xiaohongshu
highlight-scanner
Combined analysis skill to find viral-worthy highlights from videos. Scans transcripts, detects laughter, analyzes sentiment/emotion, and uses scene changes to identify the most engaging moments for TikTok/Shorts/Reels. Produces ranked list of highlight segments with virality scores.
Full skill instructions
This skill combines all detection methods to find viral-worthy highlights from videos. It's the core analysis component for the autocut-shorts workflow.
Each highlight is scored based on:
virality_score = (
transcript_score * 0.35 +
laughter_score * 0.25 +
sentiment_score * 0.25 +
scene_score * 0.15
)
Score Range: 0.0 - 1.0
scripts/find_highlights.pyFind viral-worthy highlight segments.
Usage:
python skills/highlight-scanner/scripts/find_highlights.py <video_path> [options]
Options:
--transcript-path: Path to transcript SRT/VTT file--scenes-path: Path to scenes JSON file (from scene-detector)--laughter-path: Path to laughter JSON file (from laughter-detector)--sentiment-path: Path to sentiment JSON file (from sentiment-analyzer)--num-clips: Number of clips to generate - default: 5--min-duration: Minimum clip duration (seconds) - default: 15--max-duration: Maximum clip duration (seconds) - default: 60--output, -o: Output JSON path (default: <video_path>_highlights.json)Examples:
Find highlights with transcript only:
python skills/highlight-scanner/scripts/find_highlights.py video.mp4 --transcript-path video.srt
Full analysis with all signals:
python skills/highlight-scanner/scripts/find_highlights.py video.mp4 \
--transcript-path video.srt \
--scenes-path video_scenes.json \
--laughter-path video_laughter.json \
--sentiment-path video_sentiment.json
Find 10 clips with custom duration:
python skills/highlight-scanner/scripts/find_highlights.py video.mp4 \
--transcript-path video.srt \
--num-clips 10 \
--min-duration 20 \
--max-duration 45
scripts/analyze_viral_potential.pyAnalyze the viral potential of video segments.
Usage:
python skills/highlight-scanner/scripts/analyze_viral_potential.py <video_path> [options]
Options:
--transcript-path: Path to transcript file--output, -o: Output JSON pathExample:
python skills/highlight-scanner/scripts/analyze_viral_potential.py video.mp4 --transcript-path video.srt
{
"video_path": "video.mp4",
"total_segments_analyzed": 15,
"highlights": [
{
"rank": 1,
"start_time": 45.2,
"end_time": 72.5,
"duration": 27.3,
"virality_score": 0.92,
"scores": {
"transcript": 0.95,
"laughter": 0.80,
"sentiment": 0.85,
"scenes": 0.70
},
"text": "This is the key moment text...",
"reasoning": "Contains hook + laughter + positive emotion",
"suggested_clip_start": 42.0,
"suggested_clip_end": 75.0,
"confidence": "high"
}
],
"analysis_summary": {
"total_duration": 120.5,
"avg_virality_score": 0.68,
"best_segment_start": 45.2,
"recommended_num_clips": 5
}
}
Default weights (customizable):
DEFAULT_WEIGHTS = {
'transcript': 0.35, # Content analysis
'laughter': 0.25, # Humor detection
'sentiment': 0.25, # Emotion analysis
'scenes': 0.15 # Visual transitions
}
Adjust weights based on content type:
laughter weightsentiment weighttranscript weightscenes weightHooks/Attention Grabbers:
Story Beats:
Engagement:
This skill combines inputs from:
video-transcriber: Transcript for content analysisscene-detector: Scene changes for cut pointslaughter-detector: Humorous momentssentiment-analyzer: Emotional peaksOutput is used by:
video-trimmer: Create clips from highlightsautocut-shorts: Full workflow executionvideo-transcriberscene-detector (optional)laughter-detector (optional)sentiment-analyzer (optional)video-trimmer or autocut-shortsxiaohongshu
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