Home / Claude Code mods / Security / test-gardener

test-gardener

test-gardener is a Claude Code mod by joeldg that makes Claude consolidate tests instead of appending them. After it writes or edits a test file, a note names the test files that already cover the module, the near-duplicates and clones.

Updated 2026-11-20

What is test-gardener?

test-gardener is a Claude Code mod by joeldg that makes Claude consolidate tests instead of appending them. After it writes or edits a test file, a note names the test files that already cover the module, the near-duplicates and clones. It is listed under Security and has 3 GitHub stars.

TypeClaude code mod
Authorjoeldg
Repositoryjoeldg/claude-mods
Popularity3 GitHub stars
CategorySecurity
SecurityReview before installing (60/100)
Rank#2,009 of 9,397 Claude Code mods; #249 in Security
Last commit2026-11-20
Hooks8 events
SeesEdit calls, Write calls, mcp__test-gardener__tests_neighbourhood calls, the system prompt
Draws onAbovePrompt

Is test-gardener safe to install?

test-gardener scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.suggestwrites the prompt box
$.session.cwd
$.session.id
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.resolvedraws interface

How do I install test-gardener?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/joeldg/claude-mods
    claude plugin validate ./claude-mods/test-gardener
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/joeldg/claude-mods && claude --plugin-dir ./claude-mods/test-gardener

Or ask Claude to set it up

Paste this into Claude Code and it installs test-gardener for you:

Install the "test-gardener" Claude Code mod from https://github.com/joeldg/claude-mods/tree/main/test-gardener. Run claude plugin validate on it first and show me what it can access before you enable it.

More from joeldg/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • dev-servers: A Servers pane for this project's dev servers: what is listening, on which port, since when, with Start, Stop, Restart a (Review before installing)
  • docs-gardener: Keeps a project's markdown true to the project: deterministic checks (dead references, stale TODOs, duplicated paragraph (Review before installing)
  • downloads-drop: Notices files that land in Downloads while you work (PDFs, 3MF models, images, notes) and offers them in a band above th (Low risk)
  • effort-router: Routes each turn's effort from your prompt: git housekeeping replies ("merged", "commit and push", "push it") run at low (Review before installing)
  • job-watch: Live pane of long-running jobs (training, downloads, extractions) and the servers Claude starts: progress, ETA, stalls, (Review before installing)
  • machine-guard: Memory, swap, GPU and the CPU cores macOS is using on the status line, and a machine_status tool for Claude; refuses hea (Review before installing)
  • mod-monitor: Watches how your other mods really behave: hook failures and slow hooks (read off the chain's own trace), what each one (High risk)
  • modal-meter: Watches your Modal apps from the CLI, in projects that use Modal: running apps and containers on the status line, a toas (Review before installing)