elegance-review-principles

elegance-review-principles is a skill for Claude Code from wsauret/flywheel. It costs 15 tokens per session (1,328 once invoked), scanned A, original, Apache-2.0.

A review lens for choosing the simplest complete solution that still meets the requirements and correctness constraints. It examines code or an implementation plan without replacing the main review process.

In plain words
What is it for?
Use it during a code or plan review to compare possible remedies. It helps decide whether a proposed abstraction or change is smaller and clearer than the alternatives.
Why use it?
It helps avoid unnecessary layers, duplicate sources of truth, wrappers, and failure paths while preserving required behavior and safety.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it during a code or plan review to compare possible remedies. It helps decide whether a proposed abstraction or change is smaller and clearer than the alternatives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wsauret/flywheel/elegance-review-principles
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 wsauret/flywheel --skill elegance-review-principles
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

Made for: Claude Code.

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 elegance-review-principles

README.md
[![agentmods](https://agentmods.dev/badge/skills/wsauret/flywheel/elegance-review-principles/github.svg)](https://agentmods.dev/skills/wsauret/flywheel/elegance-review-principles)
Your own site
<a href="https://agentmods.dev/skills/wsauret/flywheel/elegance-review-principles"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/elegance-review-principles/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 elegance-review-principles

Your own site · 80×15
<a href="https://agentmods.dev/skills/wsauret/flywheel/elegance-review-principles"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/elegance-review-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,328 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 original No closer match found 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.00015 $0.01328
Opus 5.5 $0.00006 $0.00531
Sonnet 5.5 $0.00003 $0.00266
Haiku 4.5 $0.00002 $0.00133

Measured 13d ago against content hash 866cf958741c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elegance-review-principles 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 13d 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.

src/agent-skills/elegance-review-principles/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Elegance Review Principles

{{if:skill:code-review}} Apply this lens only with exactly one active review target. If neither target is active, load code-review for implemented code or plan-review for a settled plan. If both are active, stop and require the caller to select one. Return through the active target's locations, severity, and result contract. {{else}} Apply this lens only with exactly one active review target. If neither target is active, load plan-review for a settled plan, or review implemented code directly. If both are active, stop and require the caller to select one. Return through the active target's locations, severity, and result contract. {{end}}

Governing rule

{{if:type:reviewer}} Explicit requirements and confirmed correctness, behavioral, security, data-integrity, and performance constraints are hard gates. Among remedies that satisfy those gates, choose the most elegant solution: the simplest feature-complete shape with the fewest owners, states, layers, abstractions, and failure branches. Do not count reviewer votes or union specialist remedies. An additive recommendation must use the smallest complete remedy. {{else}} Explicit requirements and confirmed correctness, behavioral, security, data-integrity, and performance constraints are hard gates. Among remedies that satisfy those gates, choose the most elegant solution: the simplest feature-complete shape with the fewest owners, states, layers, abstractions, and failure branches. Do not count votes or union specialist remedies. An additive recommendation must use the smallest complete remedy. {{end}}

Scrutiny

  • Keep one source of truth for each value. Derive dependent views instead of copying or manually synchronizing state.
  • Work with the language, runtime, framework, and project grain. Prefer native capability and established project mechanisms over wrappers or reimplementations.
  • Make abstractions deep enough to hide complexity. Remove forwarding chains, shallow wrappers, and interfaces with no concrete second use.
  • Keep interfaces narrow and ownership complete. A caller must not understand or coordinate another module's internals.
  • Preserve dependency direction, layer boundaries, one-direction data flow, and ordered resource lifecycle.
  • Reject speculative code, compatibility paths without consumers, hypothetical hardening, and elements whose deletion changes no required behavior. Concrete signals: a branch with no reachable producer, a tie-breaker for a state prevented by construction, race protection contradicted by actual ownership or serialization, validation repeated after a trusted boundary, a fallback that conceals an invariant violation, and configuration that exists only to preserve hypothetical flexibility.
  • Report any defensive element the design or code adds for a risk the user did not state and that the design does not disclose with evidence. Missing disclosure is a finding even when the defense turns out to be justified.
  • Tolerate local duplication until a real shared abstraction is evident. Extract when reuse or cohesive ownership is concrete, not to satisfy a checklist.
  • Treat clustered local symptoms as evidence of one structural defect and propose the coherent root correction.

Read the full file on GitHub · 67 lines

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. 13d ago Changed · +2 lines 866cf958741c
  2. 18d ago Changed 11dae902015a
  3. 19d ago Changed · +12 lines dce419797f3e
  4. 27d ago First seen · 53 lines · 15 tokens per session scan A 8fca892a7380

Subscribe to this mod's changes

elegance-review-principles is a skill published in the GitHub repository wsauret/flywheel (19 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 1,328 once invoked, about $0.0001 per session on Opus 5.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-11-03.

Related

elegance-review-principles compared with skills from other repositories

elegance-review-principles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elegance-review-principleswsauret/flywheelSkill19todayApache-2.0A15Claude Code
gh-find-prsHmbown/CodeWhaleSkill41kyesterdayMITA27Claude Code, Codex
gh-compile-issuesHmbown/CodeWhaleSkill41kyesterdayMITA39Claude Code, Codex
reviewHmbown/CodeWhaleSkill41kyesterdayMITA73Claude Code, Codex
simplifyHmbown/CodeWhaleSkill41kyesterdayMITA24Claude Code, Codex
cw-sliceHmbown/CodewhaleSkill41k1mo agoMITA47Claude Code, Codex
githubHmbown/CodewhaleSkill41k1mo agoMITA0Claude Code, Codex