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 pproenca/dot-skills --skill same-results-less-codegit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/same-results-less-code)<a href="https://agentmods.dev/skills/pproenca/dot-skills/same-results-less-code"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/same-results-less-code/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.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/same-results-less-code"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/same-results-less-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00118 | $0.02838 |
| Opus 5.5 | $0.00047 | $0.01135 |
| Sonnet 5.5 | $0.00024 | $0.00568 |
| Haiku 4.5 | $0.00012 | $0.00284 |
Grade A, and why
same-results-less-code 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 2mo 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Community Refactoring Best Practices: Same Results, Less Code
Code-review and refactoring guide focused on the parts of code volume that come from judgment and modelling gaps — wrong abstraction choices, hidden semantic duplication, defensive habits, premature generality. This skill deliberately skips what linters and tools like knip, eslint, ruff, tsc --noUnusedLocals, or formatters already catch. It is the second pass: after the mechanical cleanup, what remains?
Core Principles
- Preserve behaviour. Every transformation must produce identical observable behaviour — same outputs, same errors, same side effects, same API surface.
- Earlier mistakes cascade. A wrong frame multiplies into wrong shapes, which multiply into duplicate logic. Optimise from the top of the lifecycle.
- Explain why, not just what. Each rule explains the cost of the anti-pattern so judgment can transfer to novel cases.
- Quantify where possible. Prefer "eliminates N lines / prevents X bug class" over "cleaner."
- Don't over-refactor. Rule of three: extract abstractions when duplication has actually appeared three times, not in anticipation.
When to Apply
Use this skill when:
- Reviewing a PR for "could this be simpler?" (the question linters can't answer)
- Refactoring code that has grown in volume without growing in capability
- Auditing a module that "feels heavy" — many flags, many layers, many checks
- Onboarding to an unfamiliar codebase and trying to spot the parts that are accidental volume vs essential complexity
- Designing a new module and wanting to avoid the common over-abstraction traps
- Working alongside knip / eslint / ruff and wanting the layer of judgment those tools can't supply
Don't use this skill for:
- Mechanical cleanup that a linter or formatter already does (unused imports, dead exports, style) — use
knip,eslint,ruff, orprettier/blackinstead. - Algorithmic complexity / performance tuning — use
complexity-optimizerfor that. - General cleanup of recently modified code regardless of mental-model gaps — use
code-simplifier.
What ships with it
45 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 11 KB
- assets/templates/_template.md 2.6 KB
- metadata.json 1.6 KB
- README.md 6.5 KB
- references/_sections.md 3.0 KB
- references/defense-guard-against-impossible.md 4.0 KB
- references/defense-let-it-throw.md 4.4 KB
- references/defense-null-pollution-from-bad-modelling.md 3.9 KB
- references/defense-validate-once-at-boundary.md 3.9 KB
- references/derive-boolean-from-data.md 3.4 KB
- references/derive-cache-as-getter-not-field.md 3.5 KB
- references/derive-dont-store-computed.md 3.9 KB
- references/derive-single-source-of-truth.md 3.5 KB
- references/derive-url-as-state.md 3.4 KB
- references/dup-config-not-copies.md 3.3 KB
- references/dup-cross-layer-shape.md 3.4 KB
- references/dup-mirrored-branches.md 3.3 KB
- references/dup-near-twin-functions.md 3.4 KB
- references/dup-parallel-types-same-shape.md 3.2 KB
- references/frame-composition-over-inheritance-for-shared-fields.md 3.3 KB
- references/frame-data-over-procedure.md 3.8 KB
- references/frame-function-not-class.md 2.9 KB
- references/frame-manager-noun-is-a-verb.md 3.5 KB
- references/frame-monolith-by-cohesive-axis.md 4.3 KB
- references/proc-build-vs-declarative-template.md 3.5 KB
- references/proc-if-chain-as-lookup.md 2.9 KB
- references/proc-manual-recursion-of-walk.md 3.4 KB
- references/proc-mutation-builder-over-pipeline.md 5.0 KB
- references/proc-sequential-awaits-could-be-parallel.md 3.8 KB
- references/reinvent-builtin-data-structures.md 2.6 KB
- references/reinvent-date-and-time.md 2.3 KB
- references/reinvent-deep-equality.md 2.3 KB
- references/reinvent-explicit-state-machine.md 2.9 KB
- references/reinvent-stdlib-collection-ops.md 2.3 KB
- references/spec-flag-driven-paths.md 3.9 KB
- references/spec-generic-over-one-type.md 3.4 KB
- references/spec-interface-of-one.md 3.8 KB
- references/spec-no-extension-point-without-extender.md 3.4 KB
- references/spec-options-bag-of-one.md 3.4 KB
- references/types-branding-over-runtime-checks.md 4.2 KB
- references/types-discriminated-union-over-flags.md 3.7 KB
- references/types-exhaustive-switch-not-default.md 4.0 KB
- references/types-literal-union-over-string.md 3.3 KB
- references/types-no-any-to-silence.md 3.9 KB
- references/types-readonly-and-immutable-by-default.md 3.8 KB
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.
- 2mo ago First seen · 149 lines · 118 tokens per session scan A 31892296c3ab
same-results-less-code is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 118 tokens to every session and 2,838 once invoked, about $0.0005 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-09-03.
same-results-less-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| same-results-less-codepproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 118 | Claude Code, Codex |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 9d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 3d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 974 | 3d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |