siddhartha-gadgil/leanaide/counting-pigeonhole
Claude Code and agent skill by siddhartha-gadgil/leanaide
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install siddhartha-gadgil/leanaide/counting-pigeonholeSKILL.md
Skill: Counting, Double Counting, and Pigeonhole
Pre-condition: Apply this skill when a proof concerns finite sets, cardinalities, incidence structures, arrangements, or existence forced by more objects than containers.
Goal: Convert the claim into a finite counting identity, inequality, or pigeonhole conclusion.
Instructions:
- Identify the Counted Set: Define the finite set, pairs, triples, incidences, paths, colorings, or assignments being counted.
- Choose Counting Methods:
- Double counting: count the same set in two ways.
- Pigeonhole: define objects, boxes, and the capacity bound.
- Exhaustive count: enumerate finite cases when feasible.
- Prove Finiteness and Bijections: Justify that the counted objects match the expressions used.
- Derive the Identity or Inequality: Translate the count into the desired conclusion.
- For Existence: Explain why a positive count or pigeonhole surplus gives an actual object.
Common Failure Modes:
- Counting ordered objects when the desired expression counts unordered objects.
- Ignoring multiplicity.
- Applying pigeonhole without proving the capacity bound for every box.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmath-reasoning-system/skills/techniques/combinatorics/counting_pigeonhole/SKILL.md
Popularity
- Repository stars
- 119
- Repository forks
- 17
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/siddhartha-gadgil/leanaide/counting-pigeonhole)