Skip to content
Back to skills

2526 Counting Enumeration 063e9793

ASecurity

**Opus**: Counts items accurately. Generates exactly N items when asked. Tracks quantities across sections. **Haiku**: May produce N-1 or N+1 items when asked for exactly N. Counting errors increase with N > 5. May lose count in longer outputs. **Mitigation**: Structure output so counting is mechanical, not cognitive. For "generate exactly 5 items": ``` Output format: 1. [item] 2. [item] 3. [item] 4. [item] 5. [item] Number each item. After writing item 5, stop. Do not continue. ``` For verif...

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agents

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2526-counting-enumeration_063e9793 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2526 Counting Enumeration 063e9793?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2526 Counting Enumeration 063e9793
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2526-counting-enumeration-063e9793/badge)](https://www.skillsdirectory.com/skills/tools-only-2526-counting-enumeration-063e9793)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Counting and Enumeration

**Opus**: Counts items accurately. Generates exactly N items when asked.
Tracks quantities across sections.

**Haiku**: May produce N-1 or N+1 items when asked for exactly N.
Counting errors increase with N > 5. May lose count in longer outputs.

**Mitigation**: Structure output so counting is mechanical, not cognitive.

For "generate exactly 5 items":
```
Output format:
1. [item]
2. [item]
3. [item]
4. [item]
5. [item]

Number each item. After writing item 5, stop. Do not continue.
```

For verification tasks ("how many X in the input"):
```
Step 1: List each X found, one per line.
Step 2: Count the lines from Step 1.
Step 3: Report the count.
```

Avoid asking Haiku to count-and-generate simultaneously. Decompose:
first decide WHAT, then ensure the right NUMBER.

For large N (>10), provide the numbered scaffold in the prompt itself
and have Haiku fill it in.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.