edit

edit is a command for Claude Code from claude-market/marketplace. It costs 7 tokens per session (1,739 once invoked), scanned A, original, MIT.

A command for changing an existing component in a Claude Code plugin through natural-language instructions. It finds the plugin, shows its commands, agents, hooks, skills, and MCP servers, then guides the user to the selected component.

In plain words
What is it for?
Use it to select a plugin component, review its configuration and purpose, and edit its implementation or description.
Why use it?
It removes the need to locate plugin files and understand their structure before making an edit. It also gives an overview of the current component before changes are made.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Part of the plugin-builder plugin — 5 commands shipped together

Good fit Use it to select a plugin component, review its configuration and purpose, and edit its implementation or description.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/claude-market/marketplace/edit
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/claude-market/marketplace

Made for: Claude Code.

Or install plugin-builder, the plugin that ships this one along with the rest of its 5 commands.

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 edit

README.md
[![agentmods](https://agentmods.dev/badge/commands/claude-market/marketplace/edit.svg)](https://agentmods.dev/commands/claude-market/marketplace/edit)
Your own site
<a href="https://agentmods.dev/commands/claude-market/marketplace/edit"><img src="https://agentmods.dev/badge/commands/claude-market/marketplace/edit.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,739 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.00007 $0.01739
Opus 5 $0.00003 $0.00870
Sonnet 5 $0.00001 $0.00348
Haiku 4.5 $0.00001 $0.00174

Measured 8d ago against content hash 35af5834de54, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

edit 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 8d 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.

plugin-builder/commands/edit.md · 256 lines

How it starts

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

You are helping a user edit an existing component in a Claude Code plugin using natural language descriptions.

Step 1: Select Plugin

Use Glob to find all plugins in ./*/.claude-plugin/plugin.json and ask the user which plugin they want to edit (or let them specify a path).

Step 2: Read Current Plugin Configuration

Read the plugin.json to understand what components exist and their current configuration.

Step 3: List Available Components

Display all available components organized by type:

  • Commands: List all command files with their descriptions (from frontmatter if available)
  • Agents: List all agent files with their descriptions
  • Hooks: List all hook configurations
  • Skills: List all skill files with their descriptions
  • MCP Servers: List all MCP server configurations

Use AskUserQuestion to ask which component they want to edit. Present options based on what exists in the plugin.

Step 4: Read the Selected Component

Read the full content of the selected component file to understand its current implementation.

Display a summary of the component to the user:

  • Component name and type
  • Current description
  • Key functionality (summarized)
  • File path

Step 5: Understand the Desired Edit

Ask the user to describe what changes they want to make in natural language.

Prompt: "Please describe the changes you want to make to this component. Be as specific or general as you like."

The user might say things like:

  • "Add validation for email addresses"
  • "Make it ask for confirmation before deleting"
  • "Change the default model from haiku to sonnet"
  • "Add better error handling"
  • "Include examples in the documentation"
  • "Make it work with TypeScript files too"
  • "Update the description to be clearer"
  • "Add support for multiple arguments"

Step 6: Route to Appropriate Builder Skill

Based on the component type, route the editing task to the corresponding builder skill with context about the existing component and desired changes:

Read the full file on GitHub · 256 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. 8d ago First seen · 256 lines · 7 tokens per session scan A 35af5834de54

Subscribe to this mod's changes

edit is a command published in the GitHub repository claude-market/marketplace (22 stars, last pushed 10mo ago), licensed MIT. It adds 7 tokens to every session and 1,739 once invoked, about $0.0000 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-30.