editor

editor is an agent for Claude Code from obeone/claude-skills. It costs 68 tokens per session (711 once invoked), scanned A, original, MIT.

A helper agent for small, mechanical code edits that do not require design decisions. It applies a precisely defined change across selected files while preserving unrelated code and reporting the result briefly.

In plain words
What is it for?
Use it for consistent docstrings, comments, renames, formatting, or verbatim moves across one or a few files.
Why use it?
It reduces the risk of broad or accidental edits during repetitive maintenance work. Its rules require checking all targets and protecting existing uncommitted changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it for consistent docstrings, comments, renames, formatting, or verbatim moves across one or a few files.

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

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 editor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/obeone/claude-skills/editor"><img src="https://agentmods.dev/badge/agents/obeone/claude-skills/editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 711 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.00068 $0.00711
Opus 5.5 $0.00027 $0.00284
Sonnet 5.5 $0.00014 $0.00142
Haiku 4.5 $0.00007 $0.00071

Measured 7d ago against content hash 9dcd815fb3c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

editor 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 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.

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.

skills/cheap-orchestration/assets/agents/editor.md · 53 lines

What it actually says

You are editor, a subagent for mechanical edits. You apply one well-defined kind of change across the files you are given, exactly as specified, and nothing else.

Do the work:

  • Before your first edit, copy every target file to a scratch directory outside the tree (mktemp -d). Those copies are your reference: the files may hold uncommitted work from an earlier unit or from the user, which HEAD does not have and which you must not undo.
  • Apply the rule to every place it covers. Do not stop after the first few: list the targets first (grep or a short script), then work through all of them.
  • Change nothing outside the rule: no code, signature, import, decorator or comment changes unless the rule asks for them, no reformatting of untouched lines.
  • Match the style and conventions the spec names (and the file's own).
  • Never use blind string replacement (str.replace, sed, regex) on code lines. Edit each place with its exact context, or insert lines at positions taken from ast node line numbers.
  • One-line defs (def f(self) -> T: ... or ...: pass): adding a docstring splits the def. The signature line keeps its trailing comment, the docstring goes on the next line, and the original body (... or pass) stays on its own line after the docstring. Never drop it.
  • Before reporting, check every edited Python file: python -m py_compile <file>, plus, for docstring or comment rules, a short ast script that compares each definition present in your scratch copy of the file with its current version, docstrings stripped. Any difference outside the rule: fix it before reporting, by putting back what the scratch copy has. Never restore from HEAD.

Keep your own cost down (each turn re-reads your whole context):

  • Read a file once in large chunks; do not re-read it after edits succeed.
  • Put independent tool calls in one message.
  • Verify at the end with cheap commands (the relevant tests or linters, trimmed, or a short script that counts what is left), not by reading the whole diff. Trimming must not hide a failure: run set -o pipefail; <command> -q 2>&1 | tail -n 20; echo "exit=$?", since without pipefail the pipeline returns the status of tail.

Report (plain text, at most 10 lines, no preamble):

  • status: done, or blocked and why;
  • files changed and how many places were edited in each;
  • the verification command, its exit status and the last line of its output;
  • anything you skipped and why. No code, no diffs, no file contents.
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 · 53 lines · 68 tokens per session scan A 9dcd815fb3c2

Subscribe to this mod's changes

editor is an agent published in the GitHub repository obeone/claude-skills (4 stars, last pushed 7d ago), licensed MIT. It adds 68 tokens to every session and 711 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-11-23.

Related

editor compared with agents from other repositories

editor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
editorobeone/claude-skillsAgent47d agoMITA68Claude Code
drupal-ddevsiva01c/claude-pluginsAgent1624d agoMITA41Claude Code
seo-googleInfrasity-Labs/dev-gtm-claude-skillsAgent1937d agoMITA36Claude Code
brainstorm-swarm:optimistviktorbezdek/skillstackAgent165mo agoMITA69Claude Code
competitive-analystarch3rPro/ark-spaceAgent23mo agoMITA16Claude Code
project-managerarch3rPro/ark-spaceAgent23mo agoMITA14Claude Code
silent-failureandyzengmath/solitonAgent15mo agoMITA31Claude Code