evo-pedestrian-counter

evo-pedestrian-counter is a skill for Claude Code, Codex from Zhang-Henry/CoEvoSkills. It costs 40 tokens per session (615 once invoked), scanned A, original, Apache-2.0.

A video-processing tool that detects and tracks people walking through surveillance footage, then counts each person once per video. It leaves cyclists out and saves the results in an Excel workbook.

In plain words
What is it for?
Use it to process a folder of surveillance videos, count unique pedestrians in each file, and create a structured Excel report.
Why use it?
It removes the need to watch videos manually and helps avoid counting the same person repeatedly as they appear in different frames.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to process a folder of surveillance videos, count unique pedestrians in each file, and create a structured Excel report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhang-henry/coevoskills/evo-pedestrian-counter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Zhang-Henry/CoEvoSkills --skill evo-pedestrian-counter
Clone the repo
git clone --depth 1 https://github.com/Zhang-Henry/CoEvoSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-pedestrian-counter

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhang-henry/coevoskills/evo-pedestrian-counter/github.svg)](https://agentmods.dev/skills/zhang-henry/coevoskills/evo-pedestrian-counter)
Your own site
<a href="https://agentmods.dev/skills/zhang-henry/coevoskills/evo-pedestrian-counter"><img src="https://agentmods.dev/badge/skills/zhang-henry/coevoskills/evo-pedestrian-counter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-pedestrian-counter

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhang-henry/coevoskills/evo-pedestrian-counter"><img src="https://agentmods.dev/badge/skills/zhang-henry/coevoskills/evo-pedestrian-counter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00615
Opus 5 $0.00020 $0.00308
Sonnet 5 $0.00008 $0.00123
Haiku 4.5 $0.00004 $0.00061

Measured 13d ago against content hash 566434c155fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

evo-pedestrian-counter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/__init__.py, scripts/run_pipeline.py, scripts/utils.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

artifacts/skills/pedestrian-traffic-counting/evo-pedestrian-counter/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pedestrian Counter for Surveillance Videos

Problem

Given a directory of surveillance-camera video files, count the number of unique pedestrians (people travelling on foot) in each video and write the per-video counts to a structured Excel workbook.

Approach

  1. Detect persons with YOLO (COCO class 0).
  2. Track across frames so each physical person gets one ID.
  3. Filter noise tracks shorter than a visibility window derived from the video's own frame rate.
  4. Exclude cyclists via person-bicycle bounding-box overlap.
  5. Write to Excel via openpyxl.

Scripts

File Key function
scripts/utils.py get_video_files, count_pedestrians_in_video, write_results_to_excel
scripts/run_pipeline.py run_pipeline(video_dir, output_path, sheet_name, col_filename, col_count)
scripts/validate.py validate_output(output_path, video_dir, sheet_name, col_filename, col_count)

Runnable Fresh-Agent Example

Adapt the five variables below to the current task instruction.

import sys
sys.path.insert(0, '/app/environment/skills/evo-pedestrian-counter/scripts')

from run_pipeline import run_pipeline
from validate import validate_output

# ---- set from the current task instruction ----
video_dir   = '/path/to/input/videos'
output_path = '/path/to/output.xlsx'
sheet_name  = 'data'
col_file    = 'source'
col_count   = 'total'
# -----------------------------------------------

results = run_pipeline(video_dir, output_path,
                       sheet_name=sheet_name,
                       col_filename=col_file,
                       col_count=col_count)

ok, issues = validate_output(output_path, video_dir,
                             sheet_name=sheet_name,
                             col_filename=col_file,
                             col_count=col_count)
if not ok:
    raise RuntimeError(issues)
print('Done:', results)

How It Works

  • A fresh YOLO model is created per video to reset tracker state.
  • Sampling interval: derived as max(1, round(fps / 10)) so that roughly ten frames per second are processed regardless of source fps.
  • Minimum-detection threshold: derived as max(2, round(fps * 0.5 / sample_every)) so a person must be observed for at least half a second.
  • Cyclist exclusion: person tracks that spatially overlap a bicycle track in the majority of co-occurring frames are removed.
  • COCO class indices 0 (person) and 1 (bicycle) are public taxonomy.

Read the full file on GitHub · 74 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 74 lines · 40 tokens per session scan A 566434c155fe

Subscribe to this mod's changes

evo-pedestrian-counter is a skill published in the GitHub repository Zhang-Henry/CoEvoSkills (66 stars, last pushed 23d ago), licensed Apache-2.0. It adds 40 tokens to every session and 615 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.