Provides canonical entity counts from count-manifest.json. Use when agents need to reference how many agents, skills, instructions, or validators exist. Prevents hard-coded counts. WHEN: agent count, skill count, how many agents, how many skills, entity inventory, project statistics.
90
88%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Single source of truth for project entity counts.
All counts live in tools/registry/count-manifest.json. Validators auto-compute actual
values from filesystem globs. No other file should hard-code these numbers.
When generating documentation or artifacts that mention entity quantities:
tools/registry/count-manifest.json and state
the number with a parenthetical source: "16 primary agents (per count-manifest.json)"| Entity | Canonical phrase |
|---|---|
| Agents | "specialized agents and subagents" |
| Skills | "the skill catalog" or "available skills" |
| Instructions | "instruction files" |
| Validators | "the validation suite" |
| Workflow steps | "the multi-step workflow" (never count steps — Step 3.5 makes any number ambiguous) |
| MCP tools | "pricing query tools" |
| VS Code extensions | "pre-installed extensions" |
The manifest defines computed_from globs for each entity. The
validate-no-hardcoded-counts.mjs validator resolves these globs against
the filesystem and reports any drift between documented and actual counts.
Entities with a static value field (e.g., golden principles = 10) are
genuinely fixed and exempt from the no-hard-coding rule.
ec7b8ff
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.