simple-design

simple-design is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 87 tokens per session (1,042 once invoked), scanned A, original, MIT.

A code-simplification guide for functions and modules that are difficult to understand. It focuses on reducing nesting, dependencies, and the number of concepts a reader must track.

In plain words
What is it for?
Use it to measure and reduce complexity, decide whether an abstraction is worthwhile, and create smaller functions with clearer boundaries.
Why use it?
It helps prevent changes in one part of the code from causing mistakes elsewhere and makes reviews easier.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the development plugin — 13 skills shipped together

Good fit Use it to measure and reduce complexity, decide whether an abstraction is worthwhile, and create smaller functions with clearer boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/simple-design
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 nimadorostkar/Claude-Skills-collection --skill simple-design
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install development, the plugin that ships this one along with the rest of its 13 skills.

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 simple-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/simple-design/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/simple-design)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/simple-design"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/simple-design/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 simple-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/simple-design"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/simple-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00087 $0.01042
Opus 5.5 $0.00035 $0.00417
Sonnet 5.5 $0.00017 $0.00208
Haiku 4.5 $0.00009 $0.00104

Measured 1mo ago against content hash 54c705ade3d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

simple-design 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 1mo 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.

skills/development/simple-design/SKILL.md · 101 lines

How it starts

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

Simple Design

Purpose

Keep code within the limits of human working memory. Complexity is not measured by line count but by how many things you must hold in your head at once to be confident a change is correct.

When to Use

  • A function or module has become hard to reason about.
  • Reviewers keep missing defects in a particular file.
  • A change in one place keeps breaking something in another.
  • Deciding whether an abstraction is worth its indirection.

Capabilities

  • Cyclomatic and cognitive complexity measurement and reduction.
  • Dependency counting and reduction at the function and module level.
  • Encapsulation: making the number of things a caller must know as small as possible.
  • Guard-clause restructuring to flatten nesting.
  • Identifying the abstraction that removes the most conditionals.

Inputs

  • The code and the reason it is hard: too long, too nested, too many dependencies, too many states.
  • Complexity metrics from a linter, if available.

Outputs

  • Functions that fit on a screen and have one reason to exist.
  • Modules with a small public surface and a large private interior.
  • A stated limit the team agrees to enforce.

Workflow

  1. Measure, do not guess — Cyclomatic complexity per function, dependency count per module. Find the actual outliers.
  2. Flatten first — Replace nested conditionals with guard clauses. Most deeply nested code is shallow logic wearing a costume.
  3. Reduce the inputs — A function taking seven parameters is describing a missing type. Introduce it.
  4. Shrink the public surface — Everything not needed by a caller becomes private. A module with three public functions is comprehensible regardless of its size.
  5. Delete — The simplest code is the code that is not there. Remove unused options, flags, and abstractions built for a future that did not arrive.
  6. Set the ceiling — Agree a limit (for example, cyclomatic complexity of 7) and enforce it in the linter, so this does not have to happen again.

Read the full file on GitHub · 101 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. 1mo ago Changed · +51 tokens per session 54c705ade3d8
  2. 3mo ago First seen · 101 lines · 36 tokens per session scan A 921cda4bc4e9

Subscribe to this mod's changes

simple-design is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 87 tokens to every session and 1,042 once invoked, about $0.0003 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-08-30.

Related

simple-design compared with skills from other repositories

simple-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simple-designnimadorostkar/Claude-Skills-collectionSkill41todayMITA87Claude Code
offensive-c2-frameworksSnailSploit/Claude-RedSkill12k13d agoMITA250Claude Code, Codex
offensive-crypto-attacksSnailSploit/Claude-RedSkill12k13d agoMITA261Claude Code, Codex
offensive-parameter-pollutionSnailSploit/Claude-RedSkill12k13d agoMITA57Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k13d agoMITA113Claude Code, Codex
fiscalisteromainsimon/paperasseSkill2.6k17d agoMITA306Claude Code
feature-prioritisationmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA103Claude Code, Codex