Skip to main content
Run any Skill in Manus
with one click

smart-edit

Stars1
Forks0
UpdatedFebruary 26, 2026 at 22:55

Cost-efficient code editing using a 4-tier cost ladder. Use for any edit, refactor, rename, replace, or transform request — single file or entire codebase. Automatically picks the cheapest approach: LSP-scoped ast-grep (free, semantic), ast-grep alone (free, structural), Haiku (cheap model edits), or Sonnet fallback (complex reasoning). Requires ast-grep and a language server to be available. Invoke with /smart-edit <description of change> [target path].

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly