Skills for Real Engineers. Straight from my .agents directory.
gemini-count-in-video
Agent skill frombenchflow-ai/skillsbench
Analyze and count objects in videos using Google Gemini API (object counting, pedestrian detection, vehicle tracking, and surveillance video analysis).
How to install gemini-count-in-video
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/pedestrian-traffic-counting/environment/skills/gemini-count-in-video/
# into
~/.claude/skills/gemini-count-in-video/ (all projects)
.claude/skills/gemini-count-in-video/ (one project)
tasks-extra/pedestrian-traffic-counting/environment/skills/gemini-count-in-video/SKILL.md
Apache-2.0Full file1# Gemini Video Understanding Skill23## Purpose4This skill enables video analysis and object counting using the Google Gemini API, with a focus on **counting pedestrians**, **detecting objects**, **tracking movement**, and **analyzing surveillance footage**. It supports precise prompting for differentiated counting (e.g., pedestrians vs cyclists vs vehicles).56## When to Use7- Counting pedestrians, vehicles, or other objects in surveillance videos8- Distinguishing between different types of objects (walkers vs cyclists, cars vs trucks)9- Analyzing traffic patterns and movement through a scene10- Processing multiple videos for batch object counting11- Extracting structured count data from video footage1213## Required Libraries1415The following Python libraries are required:1617```python18from google import genai19from google.genai import types20import os21import time22```2324## Input Requirements25- **File formats**: MP4, MPEG, MOV, AVI, FLV, MPG, WebM, WMV, 3GPP26- **Size constraints**:27 - Use inline bytes for small files (rule of thumb: <20MB).28 - Use the File API upload flow for larger videos (most surveillance footage).29 - Always wait for processing to complete before analysis.30- **Video quality**: Higher resolution provides better counting accuracy for distant objects31- **Duration**: Longer videos may require longer processing times; consider the full video length for accurate counting3233## Output Schema34For object counting tasks, structure results as JSON:3536```json37{38 "success": true,39…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
