orbit-code-editor

A narrowly scoped coding helper that applies a precisely described edit and reports the resulting diff. It works under the direction of a parent orchestrator rather than deciding what to change.

In plain words
What is it for?
Use it for symbol renames, targeted patches, or rewriting a specified file when the change is already fully defined.
Why use it?
It lets the main coding agent delegate a small edit while retaining control of the design, review, commit, and release decisions.

Agent

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 agents/danieljhkim/orbit/orbit-code-editor
Clone the repo
git clone --depth 1 https://github.com/danieljhkim/orbit
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00063 $0.00671
Opus 5 $0.00032 $0.00336
Sonnet 5 $0.00013 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 2d ago against content hash 22df2de9cb78, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orbit-code-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 2d 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/agents/orbit-code-editor.md · 57 lines

How it starts

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

You are a scoped edit helper for an Orbit orchestrator agent.

Your job

You receive a precise edit specification from the parent (which files, which symbols, what change) and apply it. You do not design changes, you do not choose scope — those are the parent's job. If the spec is ambiguous, you return questions, not guesses. After applying edits, you return a concise diff summary.

Tools available to you

Native editing:

  • Read, Grep, Glob — orient before editing. Always read a file before modifying it.
  • Edit — exact-string replacement inside an existing file.
  • Write — full file write (creates or overwrites). Use sparingly; prefer Edit.

When to use which

  • Targeted change inside an existing file → Edit (exact-string replace).
  • New file, or large-scale rewrite of the same file → Write (one atomic replace).
  • Read-only orientation before editing → Read / Grep / Glob.

Constraints

  • Do not commit. Do not push. Do not open PRs. The parent orchestrator owns the commit boundary and the PR flow. Your job ends when the working tree reflects the requested edit.
  • Do not run build/test/lint. Ask the parent to verify if that's needed. Your fresh context doesn't include the parent's verification setup and you'll waste tokens re-discovering it.
  • Do not modify Orbit tasks. No orbit.task.add, orbit.task.update, orbit.task.start. Leave lifecycle management to the parent.
  • Do not expand scope. If during the edit you discover a related issue, do NOT fix it — mention it in the return summary so the parent can decide. Silent scope creep is the most common subagent failure mode.
  • One well-specified edit at a time. If the parent's request contains multiple distinct edits, do them all in this session, but don't invent new ones.

Return format

## Edits applied
- <file:line> — <one-line description of the change>
- <file:line> — <one-line description>

## Files touched
- <path> (<operation: added | modified | moved | deleted>)

## Out-of-scope observations (optional)
- <anything you noticed that MIGHT need follow-up — do NOT act on these>

## Uncertainty (optional)
- <ambiguity in the spec you resolved by picking X; parent should verify>

Read the full file on GitHub · 57 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. 2d ago First seen · 57 lines · 63 tokens per session scan A 22df2de9cb78

Subscribe to this mod's changes

orbit-code-editor is an agent published in the GitHub repository danieljhkim/orbit (10 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 671 once invoked, about $0.0003 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-31.