test-plugins-locally

test-plugins-locally is a skill for Claude Code, Codex from ApurvBazari/claude-plugins. It costs 54 tokens per session (2,780 once invoked), scanned C, original, MIT.

A local testbed workflow for trying plugins from this repository in a separate sandbox project.

In plain words
What is it for?
Use it to set up or reset a clean sibling project, install a repository plugin locally, and run its basic test recipe.
Why use it?
It keeps plugin testing separate from the source repository and refreshes the installed copy so local edits are actually tested. It also handles local marketplace registration and smoke checks.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/apurvbazari/claude-plugins/test-plugins-locally
Any agent
npx skills add ApurvBazari/claude-plugins --skill test-plugins-locally
Clone the repo
git clone --depth 1 https://github.com/ApurvBazari/claude-plugins

Made for: Claude Code, Codex.

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 test-plugins-locally

README.md
[![agentmods](https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/test-plugins-locally.svg)](https://agentmods.dev/skills/apurvbazari/claude-plugins/test-plugins-locally)
Your own site
<a href="https://agentmods.dev/skills/apurvbazari/claude-plugins/test-plugins-locally"><img src="https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/test-plugins-locally.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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.00054 $0.02780
Opus 5 $0.00027 $0.01390
Sonnet 5 $0.00011 $0.00556
Haiku 4.5 $0.00005 $0.00278

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

Security

Grade C, and why

test-plugins-locally scanned grade C with 1 finding 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 5d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

# 2. Wipe the testbed (ask before rm -rf if anything is in it)
.claude/skills/test-plugins-locally/SKILL.md · 234 lines

How it starts

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

/test-plugins-locally — Local Plugin Testbed

Spin up (or reset) a sibling sandbox project, point Claude Code at this repo's plugins via the local marketplace, and run a smoke recipe for the plugin under test.

What this skill does

The five plugins in this repo (onboard, notify, handoff, walkthrough, lens) ship through the apurvbazari-plugins local marketplace which points at this directory. Plugins are copied into ~/.claude/plugins/cache/apurvbazari-plugins/<plugin>/<version>/ on install, so source edits don't reach the running session until the cache is refreshed.

Gotcha: claude plugin update is version-gated — it compares the plugin.json version field and is a no-op when versions match (which they almost always do during in-branch dev, since you rarely bump version per edit). The Reset step in this skill therefore mirrors source → cache via rsync directly. claude plugin update is still useful when you've actually bumped the version, but it cannot be relied on for live-edit dogfooding.

~/Desktop/projects/
├── claude-plugins/           ← THIS repo (plugin source)
└── claude-plugins-testbed/   ← sibling sandbox (created by this skill)
    └── <plugin>-test/        ← one fresh subdir per smoke recipe

Guard

Run only from inside the claude-plugins repo root (the directory containing .claude-plugin/marketplace.json). If you can't see that file, stop and tell the user where they actually are — running this skill from anywhere else would silently set up the wrong testbed.

Step 1: Ask what to do

Use AskUserQuestion (single-select) with these options:

  • Setup — first-time wiring: register marketplace if missing, install all 5 plugins, create the sibling testbed dir
  • Reset (Recommended) — mirror source → plugin cache via rsync (bypasses the version-gated claude plugin update), nuke the testbed contents, recreate empty subdirs
  • Run plugin recipe — pick a plugin and walk its smoke recipe in a fresh sandbox subdir
  • Status — read-only: report marketplace + plugin + testbed state, then stop

Read the full file on GitHub · 234 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. 5d ago First seen · 234 lines · 54 tokens per session scan C fa3f0cbe9d2d

Subscribe to this mod's changes

test-plugins-locally is a skill published in the GitHub repository ApurvBazari/claude-plugins (0 stars, last pushed 29d ago), licensed MIT. It adds 54 tokens to every session and 2,780 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.