More screenshots

    Works with the AI Agents you already use

    People Counter IN/OUT for Video and CCTV

    by Nawaf Rayhan

    1

    Count people entering and leaving a room or shop using a video file, webcam, or security camera feed.

    Free

    Security scanned

    What it does

    • Counts every person who crosses a specific line in a video or camera feed
    • Tracks individuals with unique IDs to avoid counting the same person twice
    • Calculates total entries, total exits, and current occupancy automatically
    • Identifies the peak crowd size and the exact times the area was busiest
    • Creates an annotated video showing exactly when and where people were detected
    • Works with saved video files, live webcams, or security camera streams

    Who it's for

    Shop owners wanting to track store traffic

    Count how many customers enter and leave your shop without buying expensive hardware.

    Try asking: “Count people entering my shop from the file entrance_tuesday.mp4.”

    Event planners managing venue capacity

    Monitor how many people are inside your event in real-time to stay within safety limits.

    Try asking: “Check the occupancy for the lobby using my webcam. Stop after 10 minutes.”

    Security teams monitoring foot traffic

    Get a list of exactly when people crossed into or out of a specific area.

    Try asking: “Analyze the RTSP camera stream for the back gate and tell me the peak crowd size.”

    People Counter IN/OUT for Video and CCTV

    People Counter IN/OUT for Video and CCTV

    Example session with this skill installed

    Count how many people went in and out in entrance.mp4 and save a video so I can check it.

    • Read your context and instructions
    • Compiled the people counter in

    Done. I ran the people counter on entrance.mp4 (8 s of video, processed in 15 s on CPU).

    Results

    MetricValue
    IN2
    OUT1
    Inside now1
    Peak people in frame3

    Crossings

    TimePerson IDDirection
    0:02.96#1IN
    0:04.92#2OUT
    0:06.44#3IN

    The counting line is at the middle of the frame (y = 360). People moving down the frame are counted as IN.

    Annotated video saved to entrance_counted.mp4. Open it to check that the line sits across the doorway. Full JSON is in entrance_counts.json.

    Next steps

    • If IN and OUT look swapped, run again with --flip
    • If the line is in the wrong place, try --line 0.6 (60% down the frame)
    • For more accuracy on busy scenes, use --model yolo11s.pt

    Connects securely to your tools. The creator never sees your data.

    About this skill

    This skill helps you count people moving through a specific area in a video or live camera feed. It is built for anyone who needs to know how many people entered or exited a room, shop, or gate without manually watching hours of footage.

    How it works

    1. You provide a video file, a link to a security camera stream, or access to a webcam.
    2. Your AI agent sets up a virtual line across the entrance or path in the video.
    3. The skill tracks every person, giving them a unique ID so they are not counted twice.
    4. You receive a summary of total entries, exits, and the highest number of people seen at once.
    5. You can also get a new version of the video with boxes and labels drawn over the people so you can verify the count.

    Frameworks & tools

    This skill uses Python scripts along with the YOLO and ByteTrack systems to recognize and follow people. It works with standard video files, webcams, and common security camera streams.

    Why this beats prompting it yourself

    A regular AI chat can describe a single image, but it cannot watch a whole video and keep track of individual people moving over time. This skill uses specialized tracking logic to ensure that if someone stands still or walks behind an object, they are still remembered as the same person, leading to much more accurate totals than a simple guess.

    Use cases

    • Tracking how many customers visit a retail store during different hours of the day.
    • Monitoring real-time occupancy for a gallery or office to prevent overcrowding.
    • Analyzing foot traffic at a trade show booth to see which times were the busiest.
    • Checking a security feed to see exactly what time someone entered a restricted zone.

    Known limitations

    The skill works best with cameras mounted overhead or at an angle. It may struggle to count people accurately in extremely crowded areas where people are blocking each other from view.

    Built with Python using Ultralytics YOLOv11 and ByteTrack for robust object tracking. Supports local execution on CPU or GPU (CUDA). Handles MP4, webcam indices, and RTSP streams. Outputs data to JSON and generates annotated MP4 files using OpenCV. Requirements include ultralytics and opencv-python.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    • Free with an Agensi account

    Software
    Python
    Optional
    NVIDIA GPU (faster)RTSP/IP camera

    The first run downloads the YOLO11 model (about 5 MB) from Ultralytics. After that it runs fully offline.

    Permissions

    Terminal / Shell
    Write Files
    Read Files
    Network Access

    Read Files: opens the video you give it. Write Files: saves counts.json and the optional annotated video. Network Access: only the one-time YOLO11 model download by Ultralytics.

    Listedtoday

    What's inside

    Frequently Asked Questions

    The skill tracks movement across a virtual line to count how many people enter or exit a room or shop. It provides a summary of total entries, exits, the current number of people inside, and the busiest times recorded.

    You only need to provide a video file, a link to a security camera stream (RTSP), or access to a webcam. The skill uses built-in tracking scripts to process the footage and generate the results for you.

    You can ask your agent to count people in a specific video file or live feed. Be sure to tell the agent where the entrance is in the frame and which direction should be counted as an entry versus an exit.

    The skill works best when the camera is mounted overhead or at an angle. It may not be as accurate in very crowded spaces where people are walking closely together and blocking the camera's view of one another.

    The skill produces a summary report in a data format called JSON which lists totals and specific events. You can also request a new version of the video that has boxes and labels drawn over the people so you can visually verify the count.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free