[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XE1C5HH2P06AWV72CGV9R7":3,"skill-same:01M6XE1C5HH2P06AWV72CGV9R7":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6XE1C5HH2P06AWV72CGV9R7","sampling-and-indexing",null,"Standardize video sampling and frame indexing so interval instructions and mask frames stay aligned with a valid key\u002Findex scheme.","Waaaalnut\u002Fskillsbench","Waaaalnut","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F103995656?v=4","01M6XCS9K1V51EY3JMB7DGMX24","01M6XCS9Q4WPW88W62C55G1H44",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fdynamic-object-aware-egomotion\u002Fenvironment\u002Fskills\u002Fsampling-and-indexing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28],"sampling","indexing","sampling and indexing","valid","index","Video","instructions","with","mask","scheme","frame","2026-11-10 10:12:30",false,"---\nname: sampling-and-indexing\ndescription: \"Standardize video sampling and frame indexing so interval instructions and mask frames stay aligned with a valid key\u002Findex scheme.\"\n---\n\n# When to use\n- You need to decide a sampling stride\u002FFPS and ensure *all downstream outputs* (interval instructions, per-frame artifacts, etc.) cover the same frame range with consistent indices.\n\n# Core steps\n- Read video metadata: frame count, fps, resolution.\n- Choose a sampling strategy (e.g., every 10 frames or target ~10–15 fps) to produce `sample_ids`.\n- Only produce instructions and masks for `sample_ids`; the max index must be `\u003C total_frames`.\n- Use a strict interval key format such as `\"{start}->{end}\"` (integers only). Decide (and document) whether `end` is inclusive or exclusive, and be consistent.\n\n# Pseudocode\n```python\nimport cv2\nVIDEO_PATH = \"\u003Cpath\u002Fto\u002Fvideo>\"\ncap=cv2.VideoCapture(VIDEO_PATH)\nn=int(cap.get(cv2.CAP_PROP_FRAME_COUNT))\nfps=cap.get(cv2.CAP_PROP_FPS)\nstep=10  # example\nsample_ids=list(range(0, n, step))\nif sample_ids[-1] != n-1:\n    sample_ids.append(n-1)\n# Generate all downstream outputs only for sample_ids\n```\n\n# Self-check list\n- [ ] `sample_ids` strictly increasing, all \u003C total frame count.\n- [ ] Output coverage max index matches `sample_ids[-1]` (or matches your documented sampling policy).\n- [ ] JSON keys are plain `start->end`, no extra text.\n- [ ] Any per-frame artifact store (e.g., NPZ) contains exactly the sampled frames and no extras.\n","# When to use\n- You need to decide a sampling stride\u002FFPS and ensure *all downstream outputs* (interval instructions, per-frame artifacts, etc.) cover the same frame range with consistent indices.\n\n# Core steps\n- Read video metadata: frame count, fps, resolution.\n- Choose a sampling strategy (e.g., every 10 frames or target ~10–15 fps) to produce `sample_ids`.\n- Only produce instructions and masks for `sample_ids`; the max index must be `\u003C total_frames`.\n- Use a strict interval key format such as `\"{start}->{end}\"` (integers only). Decide (and document) whether `end` is inclusive or exclusive, and be consistent.\n\n# Pseudocode\n```python\nimport cv2\nVIDEO_PATH = \"\u003Cpath\u002Fto\u002Fvideo>\"\ncap=cv2.VideoCapture(VIDEO_PATH)\nn=int(cap.get(cv2.CAP_PROP_FRAME_COUNT))\nfps=cap.get(cv2.CAP_PROP_FPS)\nstep=10  # example\nsample_ids=list(range(0, n, step))\nif sample_ids[-1] != n-1:\n    sample_ids.append(n-1)\n# Generate all downstream outputs only for sample_ids\n```\n\n# Self-check list\n- [ ] `sample_ids` strictly increasing, all \u003C total frame count.\n- [ ] Output coverage max index matches `sample_ids[-1]` (or matches your documented sampling policy).\n- [ ] JSON keys are plain `start->end`, no extra text.\n- [ ] Any per-frame artifact store (e.g., NPZ) contains exactly the sampled frames and no extras.\n",{"name":5,"description":7},"main","7eeb258ada72b7f58119b0e7a2c00ea89d9beedd","tasks\u002Fdynamic-object-aware-egomotion\u002Fenvironment\u002Fskills\u002Fsampling-and-indexing","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench","https:\u002F\u002Fgithub.com\u002FWaaaalnut","student of Zhejiang University","2026-04-21 23:16:23",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Waaaalnut\u002Fskillsbench --skill sampling-and-indexing",{"tool":47,"command":48},"bunx","bunx skills add Waaaalnut\u002Fskillsbench --skill sampling-and-indexing",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Waaaalnut\u002Fskillsbench --skill sampling-and-indexing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fdynamic-object-aware-egomotion\u002Fenvironment\u002Fskills\u002Fsampling-and-indexing\u002FSKILL.md",true,[],[56,70,84,112,134,153],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":66,"publishedAt":29},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[61],{"categoryNo":62,"categoryName":63,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[67,68,69],"data reconciliation","reconciliation","data",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":29},"01M6XEW8MNPMF1KRXV6ATGFRQF","speech-to-text","Transcribe video to timestamped text using Whisper tiny model (pre-installed).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-tutorial-indexer\u002Fenvironment\u002Fskills\u002Fspeech-to-text\u002FSKILL.md",[],[77,78,79,80,81,82,23,83],"speech","text","speech to text","transcribe video","whisper","model","transcribe",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":95,"publishedAt":29},"01M6XEW3FQZP0T1RKQQJFXVY9T","video-processor","Process videos by removing segments and concatenating remaining parts. Use when you need to remove detected pauses\u002Fopenings from videos, create highlight reels, or batch process segment removals using ffmpeg filter_complex.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fvideo-processor\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[23,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"processor","video processor","batch","create","reels","when","parts","segments","process","videos","you","segment","filter","ffmpeg","use","remove",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":29},"01M6XEVXJ5KZ0NTY3XZKRY4AS1","silence-detector","Detect initial silence segments in audio\u002Fvideo using energy-based analysis. Use when you need to find low-energy periods at the start of recordings (title slides, setup time, pre-roll silence).","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsilence-detector\u002FSKILL.md",[118],{"categoryNo":91,"categoryName":92,"taxonomyType":93,"taxonomyTypeDesc":94},[120,121,122,123,101,106,124,125,126,127,128,103,129,130,23,131,132,133,110],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":29},"01M6XEVT3NGRN1FT7JPMAPXS6M","segment-combiner","Combine multiple segment detection results into a unified list. Use when you need to merge segments from different detectors, prepare removal lists for video processing, or consolidate detection outputs.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Fsegment-combiner\u002FSKILL.md",[],[107,141,23,142,143,144,145,146,101,147,148,103,106,149,150,110,151,152],"segment combiner","detection","prepare","merge","video processing","for","outputs","combine","processing","consolidate","results","list",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":162,"publishedAt":29},"01M6XEVMPVASGS2KX86QK4FMT7","report-generator","Generate compression reports for video processing. Use when you need to create structured JSON reports with duration statistics, compression ratios, and segment details after video processing.","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fvideo-silence-remover\u002Fenvironment\u002Fskills\u002Freport-generator\u002FSKILL.md",[159],{"categoryNo":160,"categoryName":161,"taxonomyType":64,"taxonomyTypeDesc":65},"01JBSEEDCAT000000000000034","行政与办公人员",[163,164,165,107,101,146,106,25,149,166,167,168,110,145,169,23,170,171,99],"generator","report generator","report","statistics","structured","reports","json","compression","generate"]