morph-apply

morph-apply is a skill for Claude Code from parcadei/Continuous-Claude-v3. It costs 24 tokens per session (714 once invoked), scanned B, original, MIT.

A file-editing tool that applies requested code changes to large files using marked sections of existing code.

In plain words
What is it for?
Use it to add error handling, logging, or other targeted code changes to large files.
Why use it?
It helps when a file is too large to read in full or when several related edits need to be applied at once.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to add error handling, logging, or other targeted code changes to large files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/parcadei/continuous-claude-v3/morph-apply
About the project

Continuous-Claude-v3 is a Claude Code development environment that preserves working context between sessions, coordinates specialized agents, and stores project knowledge through ledgers, handoffs, and analysis tools. It is for people using Claude Code on ongoing or complex software work. Its catalogue entries are the skills, agents, hooks, plugin, and setting that provide its workflows and orchestration.

parcadei/Continuous-Claude-v3 · 3,953 stars · on GitHub

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.

Any agent
npx skills add parcadei/Continuous-Claude-v3 --skill morph-apply
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

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 morph-apply

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/parcadei/continuous-claude-v3/morph-apply"><img src="https://agentmods.dev/badge/skills/parcadei/continuous-claude-v3/morph-apply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Sept 2026
  • Snyk pass 18 Sept 2026
How audits are shown
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.00024 $0.00714
Opus 5.5 $0.00010 $0.00286
Sonnet 5.5 $0.00005 $0.00143
Haiku 4.5 $0.00002 $0.00071

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

Security

Grade B, and why

morph-apply scanned grade B 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 2mo 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

Requires `morph` server in mcp_config.json with `MORPH_API_KEY`.
.claude/skills/morph-apply/SKILL.md · 105 lines

How it starts

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

Morph Fast Apply

Fast, AI-powered file editing using the Morph Apply API. Edit files without reading them first. Processes at 10,500 tokens/sec with 98% accuracy.

When to Use

  • Fast file edits without reading entire file first
  • Batch edits to a file (multiple changes in one operation)
  • When you know what to change but file is large
  • Large files where reading would consume too many tokens

Key Pattern: Code Markers

Use // ... existing code ... (or language-appropriate comments) to mark where edits go:

# ... existing code ...
try:
    result = process()
except Exception as e:
    log.error(e)
# ... existing code ...

The API intelligently places your edit in the right location.

Usage

Add error handling

uv run python -m runtime.harness scripts/mcp/morph_apply.py \
    --file "src/auth.py" \
    --instruction "Add error handling to login function" \
    --code_edit "# ... existing code ...
try:
    user = authenticate(credentials)
except AuthError as e:
    log.error(f'Auth failed: {e}')
    raise
# ... existing code ..."

Add logging

uv run python -m runtime.harness scripts/mcp/morph_apply.py \
    --file "src/api.py" \
    --instruction "Add debug logging" \
    --code_edit "# ... existing code ...
logger.debug(f'Processing request: {request.id}')
# ... existing code ..."

TypeScript example

uv run python -m runtime.harness scripts/mcp/morph_apply.py \
    --file "src/types.ts" \
    --instruction "Add user validation" \
    --code_edit "// ... existing code ...
if (!user) throw new Error('User not found');
if (!user.isActive) throw new Error('User inactive');
// ... existing code ..."

Parameters

Parameter Description
--file File path to edit (required)
--instruction Human description of the change (required)
--code_edit Code snippet with markers showing where to place edit (required)

vs Claude's Edit Tool

Tool Best For
morph-apply Fast edits, don't need to read file first, large files, batch edits
Claude Edit Small precise edits when file is already in context

Read the full file on GitHub · 105 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. 2mo ago First seen · 105 lines · 24 tokens per session scan B 27ec57990999

Subscribe to this mod's changes

morph-apply is a skill published in the GitHub repository parcadei/Continuous-Claude-v3 (3,953 stars, last pushed 14d ago), licensed MIT. It adds 24 tokens to every session and 714 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

morph-apply compared with skills from other repositories

morph-apply next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
morph-applyparcadei/Continuous-Claude-v3Skill4.0k14d agoMITB24Claude Code
fizzy-workflowkeskinonur/claude-plugin-fizzySkill310mo agoApache-2.0A57Claude Code
make-skillsergeyklay/.agentsSkill65d agoApache-2.0A80Claude Code, Codex
test-tssergeyklay/.agentsSkill65d agoApache-2.0A139Claude Code, Codex
isolate-clisergeyklay/.agentsSkill65d agoApache-2.0A208Claude Code, Codex
search-websergeyklay/.agentsSkill65d agoApache-2.0A216Claude Code, Codex
monitor-cisergeyklay/.agentsSkill65d agoApache-2.0A181Claude Code, Codex