[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BNQ2QEFHC79Y1M73KNPBW5":3,"skill-same:01M7BNQ2QEFHC79Y1M73KNPBW5":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BNQ2QEFHC79Y1M73KNPBW5","skilltta-task-guidance",null,"Temporary guidance skill for the Video Silence Remover task. Provides a disciplined workflow for detecting unnecessary opening frames and long silent pauses, cutting them out with ffmpeg, and emitting a strictly-formatted compression_report.json. Emphasizes correct threshold tuning and math consistency.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fcontrolled-skill-repair-experiments\u002Fresult\u002Fskilltta-claude4.7\u002Ftasks\u002Fsingle-video-silence-remover-RI-003\u002Frepaired_skill\u002Fskilltta-task-guidance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: skilltta-task-guidance\ndescription: Temporary guidance skill for the Video Silence Remover task. Provides a disciplined workflow for detecting unnecessary opening frames and long silent pauses, cutting them out with ffmpeg, and emitting a strictly-formatted compression_report.json. Emphasizes correct threshold tuning and math consistency.\n---\n\n# Task Guidance: Video Silence Remover\n\n## Goal\nProduce two deliverables in the current workspace:\n1. `compressed_video.mp4` — input video with opening + long silences removed.\n2. `compression_report.json` — annotations following the exact schema in the prompt.\n\n## Hint Interpretation\nThe location hint points at:\n- `pause-detector\u002FSKILL.md` → `threshold_ratio` parameter description\n- Corresponding tuning notes in `silence-detector` and `video-processor`\n\nTreat this as a signal that **`threshold_ratio` is being misused or miscalibrated**. Common failure modes to check and fix:\n- `threshold_ratio` is interpreted in the wrong units (e.g., linear amplitude vs dBFS, or fraction of mean vs fraction of max).\n- The ratio is applied before\u002Fafter noise-floor normalization inconsistently across the three skills.\n- Default value is too aggressive (cuts teaching speech) or too lax (misses pauses).\n- Minimum-silence-duration gate (>2s) is not enforced, so short natural pauses get cut.\n\nWhen editing the Skill docs\u002Fcode:\n- Clearly define `threshold_ratio` as: *fraction of the audio's reference level (e.g., median or peak RMS) below which a frame is considered silent*. Document the reference explicitly.\n- Ensure all three skills (`pause-detector`, `silence-detector`, `video-processor`) use the **same definition and same reference level**.\n- Document sane defaults, e.g., `threshold_ratio ≈ 0.03–0.05` of peak RMS, or equivalently ~ -30 to -35 dBFS, combined with `min_silence_duration = 2.0s`.\n\n## Recommended Pipeline\n1. **Probe duration**: `ffprobe -v error -show_entries format=duration -of csv=p=0 data\u002Finput_video.mp4`.\n2. **Extract audio** to mono WAV 16kHz for analysis (ffmpeg).\n3. **Detect silences** with `ffmpeg -af silencedetect=noise=-30dB:d=2` OR a Python RMS-window scan. Parse `silence_start` \u002F `silence_end`.\n4. **Detect opening**: assume first teaching speech begins at the first non-silent segment after t=0 that lasts > ~1s. The interval `[0, first_speech_start]` is the opening to remove (even if under 2s).\n5. **Build keep-segments** = complement of removed segments.\n6. **Cut & concat** using ffmpeg `-filter_complex` with `trim` + `atrim` + `concat`, re-encoding (`libx264` + `aac`) for frame-accurate cuts.\n7. **Compute metrics** and write JSON.\n\n## JSON Schema (must match exactly)\n```json\n{\n  \"original_duration_seconds\": \u003Cnumber>,\n  \"compressed_duration_seconds\": \u003Cnumber>,\n  \"removed_duration_seconds\": \u003Cnumber>,\n  \"compression_percentage\": \u003Cnumber>,\n  \"segments_removed\": [\n    {\"start\": \u003Cnumber>, \"end\": \u003Cnumber>, \"duration\": \u003Cnumber>}\n  ]\n}\n```\n\n### Math Consistency (critical, from eval criterion 5)\n- `removed_duration_seconds == sum(seg.duration for seg in segments_removed)` (within 0.05s).\n- `original_duration_seconds ≈ compressed_duration_seconds + removed_duration_seconds`.\n- `compression_percentage = removed_duration_seconds \u002F original_duration_seconds * 100` (rounded to 1–2 decimals).\n- Each segment: `duration == end - start`, `start \u003C end`, segments sorted and non-overlapping.\n\n## Patterns Borrowed From Retrieved Examples\n- **Validate inputs first** (like BigCodeBench\u002F175 checks for required columns): verify `data\u002Finput_video.mp4` exists and ffprobe returns a duration before proceeding; otherwise emit an empty-segments report rather than crashing.\n- **Filter empty\u002Fdegenerate items** (like BigCodeBench\u002F54 ignores empty sentences): drop silence segments shorter than 2s (except the opening) and merge segments whose gap \u003C 0.3s to avoid tiny cuts that hurt playback.\n- **Write JSON via `os.path.join(os.getcwd(), ...)` with `json.dump`** (like BigCodeBench\u002F265): keeps output path deterministic in the current workspace, and use native Python floats (not numpy scalars) so `json.dump` serializes cleanly.\n\n## Tuning Checklist for `threshold_ratio`\n- [ ] Units documented (linear ratio of RMS vs dB).\n- [ ] Reference level documented (peak RMS, median RMS, or absolute dBFS).\n- [ ] Same definition used in `pause-detector`, `silence-detector`, `video-processor`.\n- [ ] Default tested on ~10-min teaching video; yields plausible 10–30% compression.\n- [ ] Combined with `min_silence_duration >= 2.0s` to protect natural speech rhythm.\n- [ ] Opening cut handled by a separate rule, not by `threshold_ratio` alone.\n\n## Guardrails\n- Do not remove segments that would cut teaching speech; prefer under-cutting to over-cutting.\n- Keep total runtime well under 10 minutes; prefer a single ffmpeg concat pass over per-segment re-encodes.\n- Always re-probe the output file to populate `compressed_duration_seconds` from the actual file, not from arithmetic, then reconcile against the arithmetic value.\n","# Task Guidance: Video Silence Remover\n\n## Goal\nProduce two deliverables in the current workspace:\n1. `compressed_video.mp4` — input video with opening + long silences removed.\n2. `compression_report.json` — annotations following the exact schema in the prompt.\n\n## Hint Interpretation\nThe location hint points at:\n- `pause-detector\u002FSKILL.md` → `threshold_ratio` parameter description\n- Corresponding tuning notes in `silence-detector` and `video-processor`\n\nTreat this as a signal that **`threshold_ratio` is being misused or miscalibrated**. Common failure modes to check and fix:\n- `threshold_ratio` is interpreted in the wrong units (e.g., linear amplitude vs dBFS, or fraction of mean vs fraction of max).\n- The ratio is applied before\u002Fafter noise-floor normalization inconsistently across the three skills.\n- Default value is too aggressive (cuts teaching speech) or too lax (misses pauses).\n- Minimum-silence-duration gate (>2s) is not enforced, so short natural pauses get cut.\n\nWhen editing the Skill docs\u002Fcode:\n- Clearly define `threshold_ratio` as: *fraction of the audio's reference level (e.g., median or peak RMS) below which a frame is considered silent*. Document the reference explicitly.\n- Ensure all three skills (`pause-detector`, `silence-detector`, `video-processor`) use the **same definition and same reference level**.\n- Document sane defaults, e.g., `threshold_ratio ≈ 0.03–0.05` of peak RMS, or equivalently ~ -30 to -35 dBFS, combined with `min_silence_duration = 2.0s`.\n\n## Recommended Pipeline\n1. **Probe duration**: `ffprobe -v error -show_entries format=duration -of csv=p=0 data\u002Finput_video.mp4`.\n2. **Extract audio** to mono WAV 16kHz for analysis (ffmpeg).\n3. **Detect silences** with `ffmpeg -af silencedetect=noise=-30dB:d=2` OR a Python RMS-window scan. Parse `silence_start` \u002F `silence_end`.\n4. **Detect opening**: assume first teaching speech begins at the first non-silent segment after t=0 that lasts > ~1s. The interval `[0, first_speech_start]` is the opening to remove (even if under 2s).\n5. **Build keep-segments** = complement of removed segments.\n6. **Cut & concat** using ffmpeg `-filter_complex` with `trim` + `atrim` + `concat`, re-encoding (`libx264` + `aac`) for frame-accurate cuts.\n7. **Compute metrics** and write JSON.\n\n## JSON Schema (must match exactly)\n```json\n{\n  \"original_duration_seconds\": \u003Cnumber>,\n  \"compressed_duration_seconds\": \u003Cnumber>,\n  \"removed_duration_seconds\": \u003Cnumber>,\n  \"compression_percentage\": \u003Cnumber>,\n  \"segments_removed\": [\n    {\"start\": \u003Cnumber>, \"end\": \u003Cnumber>, \"duration\": \u003Cnumber>}\n  ]\n}\n```\n\n### Math Consistency (critical, from eval criterion 5)\n- `removed_duration_seconds == sum(seg.duration for seg in segments_removed)` (within 0.05s).\n- `original_duration_seconds ≈ compressed_duration_seconds + removed_duration_seconds`.\n- `compression_percentage = removed_duration_seconds \u002F original_duration_seconds * 100` (rounded to 1–2 decimals).\n- Each segment: `duration == end - start`, `start \u003C end`, segments sorted and non-overlapping.\n\n## Patterns Borrowed From Retrieved Examples\n- **Validate inputs first** (like BigCodeBench\u002F175 checks for required columns): verify `data\u002Finput_video.mp4` exists and ffprobe returns a duration before proceeding; otherwise emit an empty-segments report rather than crashing.\n- **Filter empty\u002Fdegenerate items** (like BigCodeBench\u002F54 ignores empty sentences): drop silence segments shorter than 2s (except the opening) and merge segments whose gap \u003C 0.3s to avoid tiny cuts that hurt playback.\n- **Write JSON via `os.path.join(os.getcwd(), ...)` with `json.dump`** (like BigCodeBench\u002F265): keeps output path deterministic in the current workspace, and use native Python floats (not numpy scalars) so `json.dump` serializes cleanly.\n\n## Tuning Checklist for `threshold_ratio`\n- [ ] Units documented (linear ratio of RMS vs dB).\n- [ ] Reference level documented (peak RMS, median RMS, or absolute dBFS).\n- [ ] Same definition used in `pause-detector`, `silence-detector`, `video-processor`.\n- [ ] Default tested on ~10-min teaching video; yields plausible 10–30% compression.\n- [ ] Combined with `min_silence_duration >= 2.0s` to protect natural speech rhythm.\n- [ ] Opening cut handled by a separate rule, not by `threshold_ratio` alone.\n\n## Guardrails\n- Do not remove segments that would cut teaching speech; prefer under-cutting to over-cutting.\n- Keep total runtime well under 10 minutes; prefer a single ffmpeg concat pass over per-segment re-encodes.\n- Always re-probe the output file to populate `compressed_duration_seconds` from the actual file, not from arithmetic, then reconcile against the arithmetic value.\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","controlled-skill-repair-experiments\u002Fresult\u002Fskilltta-claude4.7\u002Ftasks\u002Fsingle-video-silence-remover-RI-003\u002Frepaired_skill\u002Fskilltta-task-guidance",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fcontrolled-skill-repair-experiments\u002Fresult\u002Fskilltta-claude4.7\u002Ftasks\u002Fsingle-video-silence-remover-RI-003\u002Frepaired_skill\u002Fskilltta-task-guidance\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]