pattern-implement

pattern-implement is a skill for Claude Code, Codex from odere-pro/claude-oop-excellence. It costs 98 tokens per session (2,337 once invoked), scanned A, original, MIT.

A tool for adding a recognised software design pattern—an established way to organise code—to an existing codebase, then checking the result.

In plain words
What is it for?
Use it to implement a selected design pattern in a chosen part of a project, either as a plan or as an actual verified change.
Why use it?
It provides a structured path from an audit recommendation to working code, including moving existing uses to the new design and removing the old path.

Skill for Claude CodeCodex

Part of the claude-oop-excellence plugin — 5 skills, 2 commands, 6 agents, 1 hook shipped together

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.

agentmods
npx agentmods add skills/odere-pro/claude-oop-excellence/pattern-implement
Any agent
npx skills add odere-pro/claude-oop-excellence --skill pattern-implement
Clone the repo
git clone --depth 1 https://github.com/odere-pro/claude-oop-excellence

Made for: Claude Code, Codex.

Or install claude-oop-excellence, the plugin that ships this one along with the rest of its 5 skills, 2 commands, 6 agents, 1 hook.

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 pattern-implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/odere-pro/claude-oop-excellence/pattern-implement.svg)](https://agentmods.dev/skills/odere-pro/claude-oop-excellence/pattern-implement)
Your own site
<a href="https://agentmods.dev/skills/odere-pro/claude-oop-excellence/pattern-implement"><img src="https://agentmods.dev/badge/skills/odere-pro/claude-oop-excellence/pattern-implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,337 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00098 $0.02337
Opus 5 $0.00049 $0.01169
Sonnet 5 $0.00020 $0.00467
Haiku 4.5 $0.00010 $0.00234

Measured 3d ago against content hash 74dcf3b92c9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pattern-implement 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 3d 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/pattern-implement/SKILL.md · 173 lines

How it starts

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

Pattern Implementer

The IMPLEMENT action — the Layer 1 action of the PATTERN track. Locate → scaffold alongside → migrate call sites → remove the old path + verify, one glossary design pattern at a time, in any language. This is the action layer reached from the /audit report's Recommended Actions handoff: audit recommends /implement-patterns <selection> for a high-confidence pattern opportunity, and that command drives this implement flow. This skill resolves the requested pattern against the glossary, then delegates the work to the oop-orchestrator in pattern-implement mode, which fans out one pattern-implementer worker per in-scope pattern. It assumes nothing about the language or stack.

Because this skill writes to your source tree, it is user-invoked only (disable-model-invocation: true) and never auto-fires.

Selection grammar

[plan] <pattern-id> [full | changed | component <path>] [--plan-only]

The recommended, primary use is one pattern at a time — name a single <pattern-id>. A leading plan verb or a trailing --plan-only flag plans without writing any files. Batch selection by family or all is also accepted, but prefer a single, deliberate pattern per run.

Pattern selection (no default — name a pattern)

The unit of work is a glossary design-pattern entity, not a hardcoded catalog. Resolve the selection against skills/glossary/glossary.json:

  • <pattern-id> (primary) — a single design pattern (e.g. strategy, facade, chain-of-responsibility, repository).
  • <family> — every design pattern in one pattern family (creational, structural, behavioral, architectural, enterprise, functional, ddd). Use sparingly — batch implementation changes many call sites at once.
  • all — every design-pattern entity. Reserve for surveys; a single pattern is the safer unit.

Only design-pattern entities are in scope for the implement verb — issues (code smells, antipatterns, vulnerabilities, supply-chain risks) are the province of /improve.

Read the full file on GitHub · 173 lines

Files

What ships with it

3 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.

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. 3d ago First seen · 173 lines · 98 tokens per session scan A 74dcf3b92c9a

Subscribe to this mod's changes

pattern-implement is a skill published in the GitHub repository odere-pro/claude-oop-excellence (1 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 2,337 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

smell-check

Runs a smell-first audit on a user-chosen path set: measures structure metrics, applies a named size profile, and reports code smells and test smells with evidence strength. Use for smell audit, code smell scan, whole-repo audit, tech debt scan, test smell check, maintainability audit, or duplication and nesting…

Zhen-Bo/smell-check · 94 tokens

avvarre

Analyze code quality against Google style guides for 21 languages/formats. Fix-verify loops, compressed task sync, workspace heatmaps.

PralhadYadawad/avvarre · 31 tokens

release-cut

Cut and verify a CADENCE release end-to-end — inventory unreleased phases, audit changesets, lockstep version bump, a full doc-sync verification pass (automated doc tests + manual stale-version-reference sweep), release PR, operator-triggered Release workflow, and independent npm/tag/GitHub verification. Use when the…

thomas-powers-jr/cadence · 92 tokens

pr-land

Land a branch through cadence's protected-main pipeline — local preflight, commit hygiene, push, PR, ci-success babysitting with the known-flake protocol, consent-gated squash merge, and post-merge sync. Use when work is ready to land, the user says "land this", "open a PR", "merge when green", or a PR is sitting on…

thomas-powers-jr/cadence · 80 tokens

avvarre:autopilot

Autonomous fix-verify loop that keeps fixing violations until the file reaches Grade A (90+).

PralhadYadawad/avvarre · 27 tokens

avvarre:garden

Audit .avvarre/ project memory for context drift, stale tasks, and conventions mismatches.

PralhadYadawad/avvarre · 25 tokens