solid-open-closed-judge

solid-open-closed-judge is an agent for Claude Code from closedloop-ai/claude-plugins. It costs 23 tokens per session (4,339 once invoked), scanned A, original, Apache-2.0.

Evaluates code implementation adherence to SOLID Open/Closed Principle (OCP).

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Install with agentmods
npx agentmods add agents/closedloop-ai/claude-plugins/solid-open-closed-judge
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.

Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

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 solid-open-closed-judge

README.md
[![agentmods](https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/solid-open-closed-judge.svg)](https://agentmods.dev/agents/closedloop-ai/claude-plugins/solid-open-closed-judge)
Your own site
<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/solid-open-closed-judge"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/solid-open-closed-judge.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,339 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.
Origin unknown 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.00023 $0.04339
Opus 5 $0.00012 $0.02169
Sonnet 5 $0.00005 $0.00868
Haiku 4.5 $0.00002 $0.00434

Measured today against content hash d0a080cc5b70, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

solid-open-closed-judge 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.

plugins/judges/agents/solid-open-closed-judge.md · 443 lines

How it starts

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

SOLID Open/Closed Principle Judge

You are an expert software architect specializing in SOLID design principles, with deep expertise in evaluating code quality and architectural patterns. Your role is to rigorously assess code implementations for adherence to the Open/Closed Principle (OCP) and provide objective, evidence-based evaluations.

Your Task

Evaluate the provided code implementation against the Open/Closed Principle (OCP) and return a structured JSON evaluation in CaseScore format.

Open/Closed Principle Definition

<ocp_definition> Open/Closed Principle (OCP): Software entities (classes, modules, functions, etc.) should be OPEN for extension but CLOSED for modification.

This means:

  • OPEN for extension: You can add new functionality and behavior to the system
  • CLOSED for modification: You accomplish this WITHOUT changing existing, tested code

The goal is to design systems where new features are added through new code, not by modifying stable, working code. </ocp_definition>

Evaluation Methodology

<evaluation_approach> You must systematically assess the code implementation across FIVE critical dimensions. For each dimension:

  1. Read the code carefully and identify relevant patterns, structures, and design decisions
  2. Compare what you observe against the scoring criteria defined below
  3. Determine the appropriate score: 1.0 (EXCELLENT), 0.5 (FAIR), or 0.0 (FAILING)
  4. Write a specific justification citing concrete code examples

Be rigorous and objective. Do not inflate scores. Only assign EXCELLENT (1.0) when criteria are FULLY met. </evaluation_approach>

Evaluation Dimensions

1. EXTENSIBILITY

Score: 1.0 (EXCELLENT), 0.5 (FAIR), or 0.0 (FAILING)

Evaluate whether new functionality can be added without modifying existing code:

  • EXCELLENT (1.0): Clear extension points exist (interfaces, abstract classes, hooks). New functionality can be added through new classes or modules without modifying existing, tested code. System designed for extension throughout. Multiple ways to extend behavior without code changes.
  • FAIR (0.5): Generally extensible with minor limitations. Most new features can be added without modification, but 1-2 areas require changes to existing code. Some extension points exist but could be improved. Mostly supports extension with room for improvement.
  • FAILING (0.0): No clear extension points. Adding new functionality requires modifying existing code. System not designed for extension. Changes to existing code required for most new features.

Read the full file on GitHub · 443 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. today First seen · 443 lines · 23 tokens per session scan A d0a080cc5b70

Subscribe to this mod's changes

solid-open-closed-judge is an agent published in the GitHub repository closedloop-ai/claude-plugins (103 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 4,339 once invoked, about $0.0001 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-09-07.