boundary-bbcr-fallback
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Extract frames and audio segments from video files for agent review
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/extract-video-framesContext preview
What this command does when you run it.
Extract frames and audio segments from video files for agent review
description: Extract frames and audio segments from video files for agent review argument-hint: [path/to/video.mp4] [interval] [output-dir] allowed-tools: Skill(extract-video-frames), Bash, Read, Glob
You have been given: `$ARGUMENTS`
Before invoking the skill, validate the arguments:
1. **Check a path was provided**: If `$ARGUMENTS` is empty or blank, ask the user for the video file path. Do not proceed without it.
2. **Check the file exists**: Verify the file at the given path exists using a quick check. If not found, report the error and stop.
3. **Warn on unusual extensions**: If the file extension is not one of `.mp4`, `.mov`, `.gif`, `.avi`, `.webm`, `.mkv`, warn the user that the format may not be supported, but allow them to proceed.
4. **Parse optional arguments**: The user may provide up to 3 arguments:
Before running extraction:
1. **Verify ffmpeg installed**: Run `which ffmpeg` -- if not found, tell the user to install with `brew install ffmpeg` and stop.
2. **Verify ffprobe installed**: Run `which ffprobe` -- if not found, tell the user it comes with ffmpeg: `brew install ffmpeg`.
3. **Check file size**: If the file is larger than 500MB, warn the user that extraction may take a while and confirm they want to proceed.
Invoke the `extract-video-frames` skill with the validated arguments.
After extraction completes:
1. **Read the manifest**: Read `{output-dir}/manifest.json` and summarize what was extracted (frame count, audio segment count, whether audio was detected).
2. **Spot-check**: Read the first extracted frame (`frame_001.png`) to verify it's a valid image.
3. **Report results**: Show the user:
4. **Suggest next steps**: Based on what was extracted, suggest:
If the user wants to hand off to a reviewing agent, provide this ready-to-use prompt:
Analyze the frames and audio extracted from the recording at {output-dir}.
Read {output-dir}/manifest.json for the full list of frames with timestamps and paired audio segments.
The full continuous audio track is at {output-dir}/full_audio.aac.
For each frame, describe what you see. For audio segments, note any speech or notable sounds.A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.
Repo: qdhenry/Claude-Command-Suite
Execute automatic BBCR (Collapse-Rebirth Correction) when knowledge boundaries are exceeded or reasoning fails.
Analyze semantic position relative to knowledge boundaries to prevent hallucination and identify uncertainty zones.
Generate a visual heatmap of knowledge boundaries showing safe zones, risk areas, and semantic coverage.
Evaluate the current risk level and provide detailed analysis of potential hallucination or reasoning failure.
Find and construct semantic bridges to safely navigate from current position to target concept without crossing dangerous boundaries.
Takes an input prompt and returns ONLY a token-optimized version that preserves meaning while minimizing token count. Based on LLM tokenization principles:…