object_counter

object_counter is a skill for Claude Code, Codex from xuansenpa1/skillrevise. It costs 16 tokens per session (135 once invoked), scanned A, a copy of object-counter, MIT.

A computer-vision tool for counting how many instances of a chosen object appear in an image.

In plain words
What is it for?
It is for image-based object counting, such as finding repeated items in a photograph.
Why use it?
It reduces the need to count objects manually and includes settings to reduce duplicate detections.

Skill for Claude CodeCodex

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

Good fit It is for image-based object counting, such as finding repeated items in a photograph.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuansenpa1/skillrevise/object_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 xuansenpa1/skillrevise --skill object_counter
Clone the repo
git clone --depth 1 https://github.com/xuansenpa1/skillrevise

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 object_counter

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/object_counter/github.svg)](https://agentmods.dev/skills/xuansenpa1/skillrevise/object_counter)
Your own site
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/object_counter"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/object_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 object_counter

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/object_counter"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/object_counter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 135 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.
Origin 100% copy Near-identical to another mod 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.00016 $0.00135
Opus 5.5 $0.00006 $0.00054
Sonnet 5.5 $0.00003 $0.00027
Haiku 4.5 $0.00002 $0.00014

Measured 2mo ago against content hash 90d0550e5f77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

object_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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/count_objects.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.

Origin

This is a copy

100% identical to object-counter — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

data/skillsbench/tasks/mario-coin-counting/environment/skills/object_counter/SKILL.md · 20 lines

What it actually says

Count number of objects in image

For obtaining high fidelity object counting results, it's recommended to set a higher threshold, such as 0.9, also we need to do Non-Maximum Suppression using --dedup_min_dist flag (a good default value is 3).

python3 scripts/count_objects.py \
    --tool count \
    --input_image <image file> \
    --object_image <object image file> \
    --threshold 0.9 \
    --dedup_min_dist 3
Files

What ships with it

1 file 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. 2mo ago First seen · 20 lines · 16 tokens per session scan A 90d0550e5f77

Subscribe to this mod's changes

object_counter is a skill published in the GitHub repository xuansenpa1/skillrevise (58 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 135 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to object-counter, differing in 2 lines, and is treated as a copy.

Related

object_counter compared with skills from other repositories

object_counter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
object_counterxuansenpa1/skillreviseSkill582mo agoMITA16Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
foundry-config-setupmicrosoft/agent-frameworkSkill15k13d agoMITA65Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2k2d agoApache-2.0A92Claude Code