marketplace:local-copy

marketplace:local-copy is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 19 tokens per session (520 once invoked), scanned C, original, MIT.

A command that copies a plugin from your working folder into Claude’s local plugin cache for testing. It lets you try changes without publishing them.

In plain words
What is it for?
Use it when developing or debugging a Claude plugin locally and you need to test the current files in Claude’s plugin environment.
Why use it?
It removes the need to push every plugin change before testing it. It also keeps a backup so the installed version can be restored.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it when developing or debugging a Claude plugin locally and you need to test the current files in Claude’s plugin environment.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcel-bich/marcel-bich-claude-marketplace/local-copy
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/Marcel-Bich/marcel-bich-claude-marketplace

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 marketplace:local-copy

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy/github.svg)](https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy)
Your own site
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy/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 marketplace:local-copy

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/local-copy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 520 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00019 $0.00520
Opus 5 $0.00010 $0.00260
Sonnet 5 $0.00004 $0.00104
Haiku 4.5 $0.00002 $0.00052

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

Security

Grade C, and why

marketplace:local-copy 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 7d 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.

rm -rf "${BACKUP_PATH}"
plugins/marketplace/commands/local-copy.md · 101 lines

What it actually says

Local Copy - Test plugin locally without pushing

Copy the local development version of a plugin to the Claude plugin cache for testing without pushing.

Steps

1. Detect plugin

Check the current working directory:

pwd

Search for plugin.yaml in current directory or in plugins/*/:

# Directly in cwd?
ls plugin.yaml 2>/dev/null

# Or are we in the marketplace root?
ls plugins/*/plugin.yaml 2>/dev/null

If plugin.yaml found:

  • Extract plugin name from the file
  • Confirm with user which plugin is meant

If multiple or none found:

  • Ask user with AskUserQuestion which plugin to test
  • List available plugins

2. Find installation path

Read the installed plugin info:

cat "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/installed_plugins.json"

Search for the plugin with pattern {plugin-name}@{marketplace-name}. The installPath shows where the plugin is installed.

If plugin not installed:

  • Inform user that the plugin must be installed first
  • End the process

3. Create backup

Create backup of current installation:

PLUGIN_NAME="<plugin-name>"
INSTALL_PATH="<from-installed_plugins.json>"
BACKUP_PATH="/tmp/marketplace-backup-${PLUGIN_NAME}"

# Remove old backup if exists
rm -rf "${BACKUP_PATH}"

# Create backup
cp -r "${INSTALL_PATH}" "${BACKUP_PATH}"

Confirm to user that backup was created.

4. Copy local version

Copy the local development version:

LOCAL_PATH="<path-to-local-plugin>"

# Replace installed version
rm -rf "${INSTALL_PATH}"/*
cp -r "${LOCAL_PATH}"/* "${INSTALL_PATH}/"

5. Confirmation

Inform user:

  • Local version was installed
  • Backup is in /tmp/marketplace-backup-{plugin-name}/
  • To restore: /marketplace:local-cleanup
  • IMPORTANT: Restart Claude Code for changes to take effect

Error handling

  • If plugin not found: Ask user
  • If not installed: Inform user, suggest installation
  • If backup fails: Abort and inform user
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. 7d ago First seen · 101 lines · 19 tokens per session scan C fd473bbbffef

Subscribe to this mod's changes

marketplace:local-copy is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 520 once invoked, about $0.0001 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-09-03.