morph-apply by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill morph-apply使用 Morph Apply API 进行快速、AI 驱动的文件编辑。无需先读取文件即可编辑文件。处理速度为每秒 10,500 个令牌,准确率达 98%。
使用 // ... existing code ...(或适合语言的注释)来标记编辑位置:
# ... existing code ...
try:
result = process()
except Exception as e:
log.error(e)
# ... existing code ...
API 会智能地将你的编辑放置在正确的位置。
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 ..."
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 ..."
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
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 ..."
| 参数 | 描述 |
|---|---|
--file | 要编辑的文件路径(必需) |
--instruction | 对更改的人工描述(必需) |
--code_edit | 包含标记以指示编辑位置的代码片段(必需) |
| 工具 | 最佳适用场景 |
|---|---|
| morph-apply | 快速编辑,无需先读取文件,大型文件,批量编辑 |
| Claude Edit | 当文件已在上下文中时,进行小型精确编辑 |
在以下情况使用 morph-apply:
在以下情况使用 Claude Edit:
需要在 mcp_config.json 中配置 morph 服务器并提供 MORPH_API_KEY。
每周安装量
197
代码仓库
GitHub 星标数
3.6K
首次出现
2026年1月22日
安全审计
安装于
opencode192
codex190
gemini-cli189
cursor187
github-copilot184
amp181
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.
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.
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 ..."
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 ..."
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 ..."
| 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) |
| 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 |
Use morph-apply when:
Use Claude Edit when:
Requires morph server in mcp_config.json with MORPH_API_KEY.
Weekly Installs
197
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode192
codex190
gemini-cli189
cursor187
github-copilot184
amp181
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装