speq-design-philosophy

speq-design-philosophy is a skill for Claude Code from marconae/speq-skill. It costs 44 tokens per session (1,137 once invoked), scanned A, original, MIT.

A set of software-design principles for controlling complexity, hiding implementation details, and keeping module dependencies pointed in a clear direction.

In plain words
What is it for?
Use it when planning, implementing, or reviewing designs, especially when deciding module boundaries and trade-offs.
Why use it?
It helps prevent code from becoming difficult to understand as the system grows, including through overly small or leaky modules.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when planning, implementing, or reviewing designs, especially when deciding module boundaries and trade-offs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marconae/speq-skill/speq-design-philosophy
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 marconae/speq-skill --skill speq-design-philosophy
Clone the repo
git clone --depth 1 https://github.com/marconae/speq-skill

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 speq-design-philosophy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marconae/speq-skill/speq-design-philosophy"><img src="https://agentmods.dev/badge/skills/marconae/speq-skill/speq-design-philosophy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,137 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 12
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
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.00044 $0.01137
Opus 5.5 $0.00018 $0.00455
Sonnet 5.5 $0.00009 $0.00227
Haiku 4.5 $0.00004 $0.00114

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

Security

Grade A, and why

speq-design-philosophy 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.

.claude/skills/speq-design-philosophy/SKILL.md · 79 lines

How it starts

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

Design Philosophy

Complexity-management framework. Draws on J. Ousterhout's A Philosophy of Software Design and the dependency rule from R. Martin's Clean Architecture.

Core Principle

Complexity is what erodes a system's understandability over time. Judge every design decision by whether it adds or removes complexity. Do not judge by line count, module count, or named patterns.

Deep Modules

Weigh a module by what it does for callers relative to what its interface costs them to learn. Deep: the interface is far easier to use than the internals would be to rebuild. Shallow: learning the interface costs almost as much as writing the code yourself.

Signal Fix
Interface as complex as a caller would write themselves Deepen it — absorb more complexity, expose less
Many small modules named for a role, not a responsibility (-Manager, -Handler, -Processor) "Classitis" — merge related shallow modules into one deeper one
A function whose entire body is a call to another function with the same arguments Merge it into whichever side actually holds logic

Depth, not size, decides whether an abstraction earns its place.

Information Hiding & Coupling

A module is well-designed when the rest of the system stays ignorant of a decision it makes internally. Coupling: the same decision surfaces in more than one module. Treat coupling as the defect class that deserves the closest attention.

  • Temporal coupling: modules organized around execution order (read, then parse, then write) instead of around what each stage knows. Every stage then carries the same format knowledge.
  • Implicit coupling: two modules independently assume the same data format, protocol, or convention, with nothing enforcing agreement.

Fix: combine the modules that share the decision, or give the decision its own module and make both depend on it.

General- vs. Special-Purpose Modules

Test: an interface handles every need the code has today (see /speq-code-guardrails' YAGNI Checks for the "not tomorrow's" half) without forcing narrow, special-case methods onto callers.

Read the full file on GitHub · 79 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 · -14 tokens per session 03e07822123d
  2. 1mo ago Changed · -10 tokens per session ffff59383d9e
  3. 2mo ago Changed d5167c805210
  4. 2mo ago Changed c0f43b66a99c
  5. 3mo ago First seen · 79 lines · 68 tokens per session scan A fe74256a20ef

Subscribe to this mod's changes

speq-design-philosophy is a skill published in the GitHub repository marconae/speq-skill (54 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 1,137 once invoked, about $0.0002 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

speq-design-philosophy compared with skills from other repositories

speq-design-philosophy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speq-design-philosophymarconae/speq-skillSkill541mo agoMITA44Claude Code
create-custom-graderNVIDIA/SkillEvaluatorSkill4.7ktodayApache-2.0A35Claude Code, Codex
skillevaluatorNVIDIA/SkillEvaluatorSkill4.7ktodayApache-2.0A56Claude Code, Codex
contract-builderMageByte-Zero/spec-superflowSkill90929d agoMITA33Claude Code
memory-audit-pattern-extractionDataojitori/nocturne_memorySkill1.4k27d agoMITA48Claude Code
design-md-validatorfabricioctelles/skillsSkill1505d agoApache-2.0A170Claude Code, Codex
security-specialistfabricioctelles/skillsSkill1505d agoApache-2.0A72Claude Code, Codex