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 FlorianBruniaux/claude-code-plugins --skill design-patternsgit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-pluginsWrote 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/florianbruniaux/claude-code-plugins/design-patterns)<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/design-patterns"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/design-patterns/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/florianbruniaux/claude-code-plugins/design-patterns"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/design-patterns.svg" alt="Reviewed on agentmods" width="80" 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.00059 | $0.04673 |
| Opus 5.5 | $0.00024 | $0.01869 |
| Sonnet 5.5 | $0.00012 | $0.00935 |
| Haiku 4.5 | $0.00006 | $0.00467 |
Grade A, and why
design-patterns 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 today.
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.
This is a copy
92% identical to design-patterns — 119 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 569 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design patterns analyzer skill
Purpose: Detect, suggest, and evaluate Gang of Four (GoF) design patterns in TypeScript/JavaScript codebases with stack-aware adaptations.
This skill runs in a forked, read-only-by-intent subagent (context: fork, agent: general-purpose) that starts without the conversation history, so the task and path must come from the arguments. The reference files named below live under ${CLAUDE_SKILL_DIR}: read them from there, not from the working directory.
Core capabilities
- Stack Detection: Identify primary framework/library (React, Angular, NestJS, Vue, Express, RxJS, Redux, ORMs)
- Pattern Detection: Find existing implementations of 23 GoF patterns
- Smart Suggestions: Recommend patterns to fix code smells, using stack-native idioms when available
- Quality Evaluation: Assess pattern implementation quality against best practices
Operating modes
Mode 1: Detection
Trigger: User requests pattern detection or analysis Output: JSON report of patterns found with confidence scores and stack context
Workflow:
1. Stack Detection (package.json, tsconfig.json, framework files)
2. Pattern Search (Glob for candidates -> Grep for signatures -> Read for validation)
3. Classification (native to stack vs custom implementations)
4. Confidence Scoring (0.0-1.0 based on detection rules)
5. JSON Report Generation
Example invocation:
/design-patterns detect src/
/design-patterns analyze --format=json
Mode 2: Suggestion
Trigger: User requests pattern suggestions or refactoring advice Output: Markdown report with prioritized suggestions and stack-adapted examples
Workflow:
1. Code Smell Detection (switch statements, long parameter lists, global state, etc.)
2. Pattern Matching (map smell -> applicable patterns)
3. Stack Adaptation (prefer native framework patterns over custom implementations)
4. Priority Ranking (impact x feasibility)
5. Markdown Report with Code Examples
What ships with it
8 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.
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.
- today Changed 485dda019ccc
- 5d ago Changed · +2 lines b3b8dbb8adce
- 1mo ago Changed 516b72afa5d7
- 3mo ago First seen · 567 lines · 59 tokens per session scan A 725f6af5e0a8
design-patterns is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (47 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 4,673 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to design-patterns, differing in 119 lines, and is treated as a copy.
design-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| design-patternsFlorianBruniaux/claude-code-plugins | Skill | 47 | today | MIT | A | 59 | Claude Code |
| pr-triageaeonfun/aeon | Skill | 800 | today | MIT | A | 26 | Claude Code, Codex |
| feedback-builderaeonfun/aeon | Skill | 800 | today | MIT | A | 45 | Claude Code, Codex |
| [REPLACE: SKILL_NAME]aeonfun/aeon | Skill | 800 | today | MIT | A | 0 | Claude Code, Codex |
| review-loopsangrokjung/claude-forge | Skill | 888 | 2mo ago | MIT | A | 100 | Claude Code |
| generic-code-reviewertravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 70 | Claude Code |
| code-to-docryanzhao1011/workframe | Skill | 9 | 5d ago | MIT | A | 201 | Claude Code |