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 cookieMonsterDev/agents-skills --skill object-oriented-programming-paradigmgit clone --depth 1 https://github.com/cookieMonsterDev/agents-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/cookiemonsterdev/agents-skills/object-oriented-programming-paradigm)<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/object-oriented-programming-paradigm"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/object-oriented-programming-paradigm/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/cookiemonsterdev/agents-skills/object-oriented-programming-paradigm"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/object-oriented-programming-paradigm.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.00115 | $0.01510 |
| Opus 5.5 | $0.00046 | $0.00604 |
| Sonnet 5.5 | $0.00023 | $0.00302 |
| Haiku 4.5 | $0.00012 | $0.00151 |
Grade A, and why
object-oriented-programming-paradigm 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Object-Oriented Programming Paradigm
Ground OOP answers in the reference files bundled with this skill instead of improvising definitions. Each concept has a reference file explaining it and a folder of runnable examples in popular languages.
When to Use
- The user names a concept directly ("show me encapsulation in Swift", "what is the Liskov substitution principle?")
- The user describes a design problem that maps to a concept ("my subclass breaks when passed to code written for the base class")
- The user asks to compare concepts ("composition vs inheritance?", "coupling vs cohesion?")
- The user wants existing code reviewed or refactored against OOP principles (god classes, deep hierarchies, leaky abstractions, train-wreck call chains)
Workflow
- Identify the concept(s) from the user's question using the catalog below.
- Read the reference file at
references/<concept>.mdfor the explanation, applicability, trade-offs, and related concepts. - Read the language example at
examples/<concept>/<concept>.<ext>when the user works in (or asks for) a specific language. Adapt it to their domain rather than pasting the generic example verbatim. - Answer with: what the concept means, when it applies (and when it doesn't), and code adapted to the user's context.
If the user's problem does not call for object orientation, say so — plain functions and data structures are often simpler than a class model.
Concept Catalog
Building Blocks
The vocabulary of object-oriented code: what classes, objects, and contracts are.
| Concept | Intent | Reference |
|---|---|---|
| Classes & Objects | Bundle state and behavior into a blueprint; instantiate independent objects from it | references/classes-and-objects.md |
| Interfaces & Abstract Classes | Separate a contract from its implementations; share partial implementation safely | references/interfaces-and-abstract-classes.md |
What ships with it
60 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.
- examples/abstraction/abstraction.cpp 2.8 KB
- examples/abstraction/abstraction.cs 2.5 KB
- examples/abstraction/abstraction.java 3.2 KB
- examples/abstraction/abstraction.js 1.9 KB runs code
- examples/abstraction/abstraction.php 2.0 KB
- examples/abstraction/abstraction.py 2.4 KB runs code
- examples/abstraction/abstraction.swift 2.2 KB
- examples/classes-and-objects/classes-and-objects.cpp 2.6 KB
- examples/classes-and-objects/classes-and-objects.cs 2.3 KB
- examples/classes-and-objects/classes-and-objects.java 2.8 KB
- examples/classes-and-objects/classes-and-objects.js 2.1 KB runs code
- examples/classes-and-objects/classes-and-objects.php 2.4 KB
- examples/classes-and-objects/classes-and-objects.py 2.3 KB runs code
- examples/classes-and-objects/classes-and-objects.swift 2.2 KB
- examples/composition-over-inheritance/composition-over-inheritance.cpp 2.6 KB
- examples/composition-over-inheritance/composition-over-inheritance.cs 2.2 KB
- examples/composition-over-inheritance/composition-over-inheritance.java 2.8 KB
- examples/composition-over-inheritance/composition-over-inheritance.js 1.2 KB runs code
- examples/composition-over-inheritance/composition-over-inheritance.php 1.9 KB
- examples/composition-over-inheritance/composition-over-inheritance.py 2.0 KB runs code
- examples/composition-over-inheritance/composition-over-inheritance.swift 1.5 KB
- examples/coupling-and-cohesion/coupling-and-cohesion.cpp 2.5 KB
- examples/coupling-and-cohesion/coupling-and-cohesion.cs 2.2 KB
- examples/coupling-and-cohesion/coupling-and-cohesion.java 2.9 KB
- examples/coupling-and-cohesion/coupling-and-cohesion.js 2.1 KB runs code
- examples/coupling-and-cohesion/coupling-and-cohesion.php 2.6 KB
- examples/coupling-and-cohesion/coupling-and-cohesion.py 2.8 KB runs code
- examples/coupling-and-cohesion/coupling-and-cohesion.swift 2.5 KB
- examples/dependency-inversion/dependency-inversion.cpp 2.1 KB
- examples/dependency-inversion/dependency-inversion.cs 1.8 KB
- examples/dependency-inversion/dependency-inversion.java 2.2 KB
- examples/dependency-inversion/dependency-inversion.js 1.3 KB runs code
- examples/dependency-inversion/dependency-inversion.php 1.9 KB
- examples/dependency-inversion/dependency-inversion.py 1.8 KB runs code
- examples/dependency-inversion/dependency-inversion.swift 1.6 KB
- examples/encapsulation/encapsulation.cpp 1.7 KB
- examples/encapsulation/encapsulation.cs 1.7 KB
- examples/encapsulation/encapsulation.java 1.9 KB
- examples/encapsulation/encapsulation.js 2.0 KB runs code
- examples/encapsulation/encapsulation.php 1.8 KB
- examples/encapsulation/encapsulation.py 2.0 KB runs code
- examples/encapsulation/encapsulation.swift 1.7 KB
- examples/inheritance/inheritance.cpp 2.6 KB
- examples/inheritance/inheritance.cs 2.4 KB
- examples/inheritance/inheritance.java 2.6 KB
- examples/inheritance/inheritance.js 1.8 KB runs code
- examples/inheritance/inheritance.php 1.8 KB
- examples/inheritance/inheritance.py 2.2 KB runs code
- examples/inheritance/inheritance.swift 1.8 KB
- examples/interface-segregation/interface-segregation.cpp 2.9 KB
- examples/interface-segregation/interface-segregation.cs 2.5 KB
- examples/interface-segregation/interface-segregation.java 3.0 KB
- examples/interface-segregation/interface-segregation.js 1.9 KB runs code
- examples/interface-segregation/interface-segregation.php 2.6 KB
- examples/interface-segregation/interface-segregation.py 2.5 KB runs code
- examples/interface-segregation/interface-segregation.swift 2.4 KB
- examples/interfaces-and-abstract-classes/interfaces-and-abstract-classes.cpp 2.9 KB
- examples/interfaces-and-abstract-classes/interfaces-and-abstract-classes.cs 1.9 KB
- examples/interfaces-and-abstract-classes/interfaces-and-abstract-classes.java 2.7 KB
- examples/interfaces-and-abstract-classes/interfaces-and-abstract-classes.js 1.7 KB runs code
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.
- 1mo ago First seen · 103 lines · 115 tokens per session scan A 141452534b7b
object-oriented-programming-paradigm is a skill published in the GitHub repository cookieMonsterDev/agents-skills (6 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 1,510 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-08-31.
Other skills, from other repositories
math-olympiad
Solve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses. Activates when asked to 'solve this IMO problem', 'prove this olympiad inequality', 'verify this competition proof', 'find a counterexample', 'is this proof correct', or for any…
google-agents-cli-onboarding
Onboarding entrypoint for agents-cli in Agent Platform. It should be used when the user wants to "create a new agent", "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "evaluate an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs…
edu-math-tutorial
A Chinese-language guide for turning a maths problem into a step-by-step teaching video. It explains how to break down the solution, write narration, format equations, and structure scenes.
scaffold-exercises
A directory scaffold for course exercises, with sections, exercise folders, and optional problem, solution, or explanation versions. It creates the required Markdown files and checks the result with the repository's linter.
math-tools
Deterministic mathematical computation using SymPy. Use for ANY math operation requiring exact/verified results - basic arithmetic, algebra (simplify, expand, factor, solve equations), calculus (derivatives, integrals, limits, series), linear algebra (matrices, determinants, eigenvalues), trigonometry, number theory…
huashu-speech-coach
A coach for preparing talks, presentations, training sessions, technical talks, and tutorial videos, based on Patrick Winston’s How to Speak approach.