green-gate-never-examined-the-case

green-gate-never-examined-the-case is a skill for Claude Code from wan-huiyan/claude-ecosystem-hygiene. It costs 162 tokens per session (2,346 once invoked), scanned A, original, MIT.

A review method for checking whether a passing test or quality gate actually examined the case it is meant to protect.

In plain words
What is it for?
Use it before trusting unfamiliar tests, CI checks, or safeguards, especially when a bug passed despite a supposedly clean result.
Why use it?
A green result can mean that nothing ran, the wrong object was checked, or the input passed trivially, so it may provide false confidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the green-gate-never-examined-the-case plugin — 1 skill shipped together

Good fit Use it before trusting unfamiliar tests, CI checks, or safeguards, especially when a bug passed despite a supposedly clean result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case
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 wan-huiyan/claude-ecosystem-hygiene --skill green-gate-never-examined-the-case
Clone the repo
git clone --depth 1 https://github.com/wan-huiyan/claude-ecosystem-hygiene

Made for: Claude Code.

Or install green-gate-never-examined-the-case, the plugin that ships this one along with the rest of its 1 skill.

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 green-gate-never-examined-the-case

README.md
[![agentmods](https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case/github.svg)](https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case)
Your own site
<a href="https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case"><img src="https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case/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 green-gate-never-examined-the-case

Your own site · 80×15
<a href="https://agentmods.dev/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case"><img src="https://agentmods.dev/badge/skills/wan-huiyan/claude-ecosystem-hygiene/green-gate-never-examined-the-case.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,346 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 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.00162 $0.02346
Opus 5 $0.00081 $0.01173
Sonnet 5 $0.00032 $0.00469
Haiku 4.5 $0.00016 $0.00235

Measured 12d ago against content hash 41bf24341394, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

green-gate-never-examined-the-case 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 12d 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.

plugins/green-gate-never-examined-the-case/SKILL.md · 201 lines

How it starts

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

A green gate that never examined the case

Clean is indistinguishable from safe. A check that did not run, ran on the wrong object, or ran on an input that made it succeed trivially reports exactly what a genuinely passing check reports. The signal you get is the same; the information is not.

The test, two clauses:

  1. Make the check fail on purpose once. If you cannot produce a failing run, you have established that the check printed something, not that it can fail.
  2. Check what the failure already cost before you clear it. A guard tells you a state is wrong. It does not tell you what that wrong state already did.

The five mechanisms

Each of these was measured, not imagined. All five surfaced within one working session, which is the reason to treat this as a family rather than five unrelated bugs.

1. Scope excludes the case

A description-length gate built its worklist as:

live = [s for s in skills if not s.disabled]

A disabled skill's 1,548-character description therefore reported over: False against a 1,536 cap. Harmless while disabled — and it truncates mid-word the moment anyone enables it, which is exactly when nobody re-runs the check.

Generalises to: any gate scoped to "active", "enabled", "published" or "current" objects stops guarding the moment something is deactivated. Deactivation is when nobody is looking.

2. Malformed input makes the check succeed trivially

A test named for a corrupt base64 payload never reached the decode branch it was named after. % falls outside the base64 alphabet, so the capture group matched empty, and b64decode("") returned cleanly. The test passed because the input was broken.

The tell: a test whose name describes a failure mode, which has never been seen to go red.

3. The error lands on a channel nobody reads

git diff --diff-filter=D --name-only a...b     # unrelated histories
  stdout: (empty)
  stderr: fatal: a...b: no merge base
  exit:   128

Read the full file on GitHub · 201 lines

Files

What ships with it

1 file 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. 12d ago First seen · 201 lines · 162 tokens per session scan A 41bf24341394

Subscribe to this mod's changes

green-gate-never-examined-the-case is a skill published in the GitHub repository wan-huiyan/claude-ecosystem-hygiene (1 stars, last pushed 26d ago), licensed MIT. It adds 162 tokens to every session and 2,346 once invoked, about $0.0008 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

improve-code-quality

Guided journey from a working-but-untested vibe-coded prototype to a production-ready product with tests, clean structure, a business-rules boundary, and resilience at scale. Orchestrates nine skills phase by phase - working-with-legacy-code, clean-code, refactoring-patterns, software-design-philosophy…

wondelai/skills · 227 tokens

working-with-legacy-code

Safely change and test untested codebases using Feathers' "Working Effectively with Legacy Code". Use when the user mentions "legacy code", "no tests", "untested codebase", "how do I test this", "seams", "characterization tests", "golden master", "sprout method", "afraid to change this code", "monster method"…

wondelai/skills · 188 tokens

cloudflare-workers-testing

Comprehensive testing guide for Cloudflare Workers using Vitest and @cloudflare/vitest-pool-workers. Use for test setup, binding mocks (D1/KV/R2/DO), integration tests, or encountering test failures, mock errors, coverage issues.

secondsky/claude-skills · 57 tokens

api-testing

HTTP API testing for TypeScript (Supertest) and Python (httpx, pytest). Test REST APIs, GraphQL, request/response validation, authentication, and error handling.

secondsky/claude-skills · 39 tokens

bun-jest-migration

Use when migrating from Jest to Bun's test runner, import compatibility, mocks, and config.

secondsky/claude-skills · 25 tokens

bun-test-lifecycle

Use for test lifecycle hooks: beforeAll, afterAll, beforeEach, afterEach, fixtures, preload.

secondsky/claude-skills · 27 tokens