morph-apply
FeaturedFast file editing via Morph Apply API (10,500 tokens/sec, 98% accuracy)
AI & Automation 3,951 stars
303 forks Updated 2 days ago MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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:
```python
# ... 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
```bash
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
```bash
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
```bash
uv run python -m runtime.harness scripts/mcp/morph_apply.py \
--file "src/types.ts" \
--instruction ...
Details
- Author
- parcadei
- Repository
- parcadei/Continuous-Claude-v3
- Created
- 11 months ago
- Last Updated
- 2 days ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
morph-apply
Fast file editing via Morph Apply API (10,500 tokens/sec, 98% accuracy)
552 Updated 6 days ago
vibeeval AI & Automation Featured
morph-search
Fast codebase search via WarpGrep (20x faster than grep)
3,951 Updated 2 days ago
parcadei AI & Automation Solid
morph-search
Fast codebase search via WarpGrep (20x faster than grep)
552 Updated 6 days ago
vibeeval