ucsb-nlp-chang/skill-usage/sampling-and-indexing
Claude Code and agent skill by ucsb-nlp-chang/skill-usage
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Standardize video sampling and frame indexing so interval instructions and mask frames stay aligned with a valid key/index scheme.
Install
npx vskill@latest install ucsb-nlp-chang/skill-usage/sampling-and-indexingSKILL.md
The same SKILL.md was published earlier as benchflow-ai/skillsbench/sampling-and-indexing.
When to use
- You need to decide a sampling stride/FPS and ensure all downstream outputs (interval instructions, per-frame artifacts, etc.) cover the same frame range with consistent indices.
Core steps
- Read video metadata: frame count, fps, resolution.
- Choose a sampling strategy (e.g., every 10 frames or target ~10–15 fps) to produce
sample_ids. - Only produce instructions and masks for
sample_ids; the max index must be< total_frames. - Use a strict interval key format such as
"{start}->{end}"(integers only). Decide (and document) whetherendis inclusive or exclusive, and be consistent.
Pseudocode
Self-check list
- [ ]
sample_idsstrictly increasing, all < total frame count. - [ ] Output coverage max index matches
sample_ids[-1](or matches your documented sampling policy). - [ ] JSON keys are plain
start->end, no extra text. - [ ] Any per-frame artifact store (e.g., NPZ) contains exactly the sampled frames and no extras.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtasks/dynamic-object-aware-egomotion/environment/skills/sampling-and-indexing/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 5
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ucsb-nlp-chang/skill-usage/sampling-and-indexing)