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.
npx skills add loiane/specs-driven-development-spring-angular --skill clarity-over-clevernessgit clone --depth 1 https://github.com/loiane/specs-driven-development-spring-angularWrote 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.
[](https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/clarity-over-cleverness)<a href="https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/clarity-over-cleverness"><img src="https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/clarity-over-cleverness.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01625 |
| Opus 5 | $0.00034 | $0.00813 |
| Sonnet 5 | $0.00014 | $0.00325 |
| Haiku 4.5 | $0.00007 | $0.00162 |
Grade A, and why
clarity-over-cleverness 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 8d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Clarity over cleverness
Rule of thumb
If a competent engineer who has never seen this code needs more than five seconds to understand a line, that line is a candidate for rewrite.
The bar is not "fewer characters". The bar is fewer surprises.
Targets (apply, in order)
1. Untangle nested ternaries
Bad:
return a ? (b ? x : y) : (c ? z : w);
Better:
if (a) {
return b ? x : y;
}
return c ? z : w;
Best (when shapes line up):
return switch (state) {
case ACTIVE -> x;
case PAUSED -> y;
case CLOSED -> z;
case PENDING -> w;
};
2. Streams only when they read better than a loop
Bad (clever stream that's actually obscure):
return items.stream()
.collect(Collectors.toMap(
Item::id,
Function.identity(),
(a, b) -> a.timestamp().isAfter(b.timestamp()) ? a : b));
Better (explicit loop, named purpose):
Map<Id, Item> latestById = new HashMap<>();
for (Item it : items) {
Item existing = latestById.get(it.id());
if (existing == null || it.timestamp().isAfter(existing.timestamp())) {
latestById.put(it.id(), it);
}
}
return latestById;
(If the team consistently uses streams, follow the team. The point is consistency + readability, not banning streams.)
3. Inline once-used helpers
If a private method has exactly one caller AND the helper name doesn't add information, inline it. Reverse if a long method has a recognizable middle "phase" — extract that phase with a domain-meaningful name.
4. Kill option flags with one used value
Bad:
public Result calculate(Input in, boolean strict, boolean retry, Mode mode) { ... }
// every caller passes (in, true, false, Mode.DEFAULT)
Better: drop the unused dimensions; add them back when a real second caller exists.
5. Replace clever names with domain names
Bad: processX, handleData, doWork.
Better: redeemGiftCard, priceWithDiscount, rejectIfExpired.
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.
- 8d ago First seen · 211 lines · 68 tokens per session scan A 3b6d8558b5f3
clarity-over-cleverness is a skill published in the GitHub repository loiane/specs-driven-development-spring-angular (58 stars, last pushed 2mo ago), licensed MIT. It adds 68 tokens to every session and 1,625 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
spec-kitty-implement-review
Orchestrate the implement-review loop for Spec Kitty work packages using any configured agent. Covers agent dispatch, state transitions, rejection cycles, arbiter escalation, and dependency-aware sequencing across all 13 supported coding agents. Triggers: "implement and review WPs", "run the implement-review loop"…
spec-kitty-mission-review
Review a fully merged Spec Kitty mission post-merge (all WPs done/approved) to verify spec→code fidelity, FR coverage, drift, risks, and security. Triggers: "review the merged mission", "post-merge mission review", "verify the completed mission", "audit the mission implementation", "mission-level acceptance review"…
spec-kitty-runtime-review
Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…
adversarial-squad
Deploy a bounded, profile-loaded adversarial review squad at an SDD point-cut (post-spec, post-plan, post-tasks, pre-merge, or an ad-hoc decision) so independent doctrine lenses converge on findings one reviewer would miss. Triggers: "deploy a squad", "adversarial squad", "post-tasks anti-laziness pass", "pre-spec…
spk-run-review-wp
Review a Spec Kitty work package through the runtime review surface and approve or reject with structured feedback.
spk-doctrine-bulk-edit
Recognize bulk-edit missions and apply occurrence classification guardrails before modifying many matching instances.