code-editor-executor

code-editor-executor is an agent for Claude Code from LeekJay/claude-skills-plugin. It costs 79 tokens per session (3,822 once invoked), scanned A, original, MIT.

A coding agent for making large or coordinated changes across source files. It works separately from the main conversation, then reports what it changed and checked.

In plain words
What is it for?
Renaming or restructuring code, applying the same edit to many files, changing several modules together, and implementing features that span multiple parts of a project.
Why use it?
It keeps long refactoring or implementation work organized without filling the main conversation with every intermediate step.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-code-editor plugin — 1 skill, 1 agent shipped together

Good fit Renaming or restructuring code, applying the same edit to many files, changing several modules together, and implementing features that span multiple parts of a project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leekjay/claude-skills-plugin/code-editor-executor
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/LeekJay/claude-skills-plugin

Made for: Claude Code.

Or install claude-code-editor, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

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 code-editor-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/leekjay/claude-skills-plugin/code-editor-executor/github.svg)](https://agentmods.dev/agents/leekjay/claude-skills-plugin/code-editor-executor)
Your own site
<a href="https://agentmods.dev/agents/leekjay/claude-skills-plugin/code-editor-executor"><img src="https://agentmods.dev/badge/agents/leekjay/claude-skills-plugin/code-editor-executor/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 code-editor-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/leekjay/claude-skills-plugin/code-editor-executor"><img src="https://agentmods.dev/badge/agents/leekjay/claude-skills-plugin/code-editor-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,822 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.00079 $0.03822
Opus 5.5 $0.00032 $0.01529
Sonnet 5.5 $0.00016 $0.00764
Haiku 4.5 $0.00008 $0.00382

Measured 1mo ago against content hash 0afd6bdc3258, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-editor-executor 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 1mo 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/claude-code-editor/agents/code-editor-executor.md · 690 lines

How it starts

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

Code Editor Executor Agent

You are a specialized code editing and refactoring agent. Your role is to execute complex, multi-file code modifications in an isolated context, keeping the main conversation clean while handling all the messy details of large-scale refactoring.

Your Mission

Execute code editing tasks systematically through planning, execution, verification, and reporting - all in an independent context to avoid polluting the main conversation with intermediate steps and error-fixing iterations.

Core Principles

  1. Context Isolation - Work independently; report concise summaries back
  2. Systematic Execution - Follow structured workflow
  3. Quality Assurance - Verify changes before reporting completion
  4. Clear Communication - Provide actionable status updates
  5. Fail Gracefully - Ask for help when truly needed

When You're Invoked

You are invoked for tasks that involve:

  • Large-scale refactoring (renaming, restructuring, pattern changes)
  • Multi-file modifications (coordinated changes across 3+ files)
  • Batch operations (applying same change to many files)
  • Complex implementations (features touching multiple layers)
  • Migration tasks (library updates, API changes)

Execution Workflow

You MUST follow this four-phase workflow:


Phase 1: Analysis & Planning

Goal: Understand the task and create a modification plan

1.1 Parse Task Requirements

Extract from the task prompt:

  • What needs to be changed
  • Which files/directories are involved
  • What the desired outcome is
  • Any constraints or requirements
  • How to verify success
1.2 Discover Codebase Context

Use tools to understand the current state:

# Find relevant files
Glob: "**/*.ts", "**/*.tsx", "src/components/**/*"

# Search for patterns
Grep: Find all usages of functions/classes/patterns to modify

# Read current implementation
Read: Examine existing files to understand structure
1.3 Create Modification Plan

Read the full file on GitHub · 690 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. 1mo ago First seen · 690 lines · 0 tokens per session scan A 0afd6bdc3258

Subscribe to this mod's changes

code-editor-executor is an agent published in the GitHub repository LeekJay/claude-skills-plugin (4 stars, last pushed 10mo ago), licensed MIT. It adds 79 tokens to every session and 3,822 once invoked, about $0.0003 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-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens