plant-defects

plant-defects is a skill for Claude Code from cboone/agent-harness-plugins. It costs 58 tokens per session (2,210 once invoked), scanned A, original, MIT.

A testing discipline that plants a small, deliberate defect to confirm that a test or external checker notices it.

In plain words
What is it for?
Use it to test assertions, continuous-integration gates, linters, formatters, sanitizers, leak checkers, and other verification tools.
Why use it?
A test can pass without checking what you think it checks, especially for missing or weakened behavior. A planted defect makes that gap visible.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the plant-defects plugin — 1 skill shipped together

Good fit Use it to test assertions, continuous-integration gates, linters, formatters, sanitizers, leak checkers, and other verification tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cboone/agent-harness-plugins/plant-defects
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 cboone/agent-harness-plugins --skill plant-defects
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

Or install plant-defects, 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 plant-defects

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/plant-defects/github.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/plant-defects)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/plant-defects"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/plant-defects/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 plant-defects

Your own site · 80×15
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/plant-defects"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/plant-defects.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,210 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.00058 $0.02210
Opus 5.5 $0.00023 $0.00884
Sonnet 5.5 $0.00012 $0.00442
Haiku 4.5 $0.00006 $0.00221

Measured 3d ago against content hash 420c6643b256, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plant-defects 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.

plugins/plant-defects/skills/plant-defects/SKILL.md · 103 lines

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.

Plant Defects

The discipline of deliberately breaking code to prove a test can see it.

A test asserts a property of the code. Planting a defect asserts a property of the test, and the second does not follow from the first. Where a check is an external instrument, or where its claim is an absence, the second property has a bad default answer and reading the source cannot improve it.

When to Use

Use this when a check's own correctness is in question rather than the code's. The three signals, in descending order of urgency:

  • The claim is an absence. No leak, no race, no unused import, no warning, nothing left behind. A search for absence succeeds for the wrong reason when the instrument was never running.
  • The check is an external instrument. A sanitizer, a linter, a formatter, a leak checker, a conformance validator. Its exit code answers a question you did not ask, and its silence has two readings.
  • The failure mode is a weakening rather than a break. A release store simplified to relaxed, a tolerance widened, two correct lines put in the wrong order. Each compiles and each passes, which is what separates this from a defect the compiler already refuses.

Do not use this to re-derive coverage for ordinary code whose failure is a legible compile error or an obviously failing test. The compiler is already telling you.

Core Principles

  1. The second property has a bad default answer. "This test would catch that" is a claim about the test. Until it has been run against the defect it names, it is a prediction.
  2. Order the assertions. Establish that the instrument was running, then that the subject ran and its output parses, and only then read the absence. What is invariant is that no absence is believed before the first two; which of them comes first depends on the instrument, and the strong form of the first (an arm built to fail) is not always available.
  3. Record what happened, not what was expected. A result column filled in from the issue that filed the work is not a measurement. Several of the findings behind this skill are cases where the two differed.
  4. Encoding a plant is not the same as covering it. A plant far enough outside a bound is caught by a sibling check, so the arm that names it is asserting only that the error had a detectable sign. Weaken each assertion in turn and confirm something still fails.
  5. A plant that does not compile is not a passing plant. Judge on the build's exit code, not the shape of its output, or a grep for failures reads a compile error as a pass.
  6. Instruments do not compose by assumption. Tabulate defect against instrument and mark what each one cannot see. Where a row turns out to be covered by nothing, say so deliberately rather than leaving it implicit. A matrix that covers every row is a fine outcome; the point is to measure the cells, not to manufacture a gap.

Read the full file on GitHub · 103 lines

Files

What ships with it

6 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 Changed 420c6643b256
  2. 8d ago Changed · +2 lines · +20 tokens per session 3224ae226efa
  3. 26d ago Changed · -11 lines · -169 tokens per session c44f3975f90a
  4. 1mo ago First seen · 112 lines · 207 tokens per session scan A a703531d420d

Subscribe to this mod's changes

plant-defects is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 2,210 once invoked, about $0.0002 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-09-13.

Related

Other skills, from other repositories

walkthrough

Generate a hands-on browser walkthrough of a PR's user-facing changes to exercise before review; --publish posts the final version to the PR for QA.

joshukraine/dotfiles · 33 tokens

qa-triage-batch

Fan out /qa-triage across a queue of qa-labeled reports in parallel, reconcile them across reports to cluster shared root causes, present one consolidated decision gate, and — on approval — create the resulting tech issues.

joshukraine/dotfiles · 52 tokens

software-code-refactoring

Improve production code quality while preserving all existing test behavior. Commonly used for the Refactor phase of TDD red-green-refactor, but applicable to any codebase with tests. Use when production code works but needs cleanup — reducing duplication, improving naming, simplifying complexity, aligning with…

stencila/stencila · 102 tokens

voice-agent-test-harness

Drive a fixed suite of spoken tests against a voice agent ("subject") from a co-located machine ("prober"), measure response latency / clarity / accuracy, diff against baseline, and report to the owner over Telegram.

sonichi/sutando · 0 tokens

test-ui

Test the BrowserOS app extension UI by starting the dev environment and visually verifying changes via CDP. Covers the new tab page (left sidebar — Home, Scheduled Tasks, Settings, etc.) and the right side panel (chat interface). Use after making UI changes to apps/app/.

browseros-ai/BrowserOS · 59 tokens

ci-tests

Run the test suite for the current repo, auto-detecting Python (pytest/uv), Node (vitest/pnpm), or Rust (cargo test).

FlorianBruniaux/claude-code-plugins · 35 tokens