[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XCZ0NEGE9RD6J5Z79205XT":3,"skill-same:01M6XCZ0NEGE9RD6J5Z79205XT":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},"01M6XCZ0NEGE9RD6J5Z79205XT","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-no-skills\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-no-skills\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-no-skills\u002Fdynamic-object-aware-egomotion\u002Fenvironment\u002Fskills\u002Fsampling-and-indexing\u002FSKILL.md",true,[],[56,65,79,102,123,142],{"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":61,"publishedAt":29},"01M6XEWMJ6VY3ZC53MPDCPG3GH","data-reconciliation","https:\u002F\u002Fgithub.com\u002FWaaaalnut\u002Fskillsbench\u002Fblob\u002Fmain\u002Ftasks\u002Fxlsx-recover-data\u002Fenvironment\u002Fskills\u002Fdata-reconciliation\u002FSKILL.md",[],[62,63,64],"data reconciliation","reconciliation","data",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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",[],[72,73,74,75,76,77,23,78],"speech","text","speech to text","transcribe video","whisper","model","transcribe",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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",[],[23,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"processor","video processor","batch","create","reels","when","parts","segments","process","videos","you","segment","filter","ffmpeg","use","remove",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"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",[],[109,110,111,112,91,96,113,114,115,116,117,93,118,119,23,120,121,122,100],"detector","silence detector","title","slides","time","energy","at","recordings","detect","find","Audio","analysis","start","setup",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"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",[],[97,130,23,131,132,133,134,135,91,136,137,93,96,138,139,100,140,141],"segment combiner","detection","prepare","merge","video processing","for","outputs","combine","processing","consolidate","results","list",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"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",[],[149,150,151,97,91,135,96,25,138,152,153,154,100,134,155,23,156,157,89],"generator","report generator","report","statistics","structured","reports","json","compression","generate"]