edit_file
CommunityPrecisely replace file text with approval
Authormufarosean
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enables safe, targeted in-place edits of files by replacing an exact substring, eliminating error-prone manual find-and-replace and ensuring whitespace-sensitive matches are respected.
Core Features & Use Cases
- Exact-match replacement: Replace only when the existing content matches the provided old_content exactly, preventing accidental changes.
- Approval workflow: Requires user confirmation before writing changes to ensure safety and human oversight.
- Use Case: Update a configuration key or correct a specific code comment across a file where the exact original text is known and must be matched verbatim.
Quick Start
Use the edit_file skill to replace the exact string old_content with new_content in path/to/file and show me the proposed diff for approval before applying the change.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: edit_file Download link: https://github.com/mufarosean/Parallx/archive/main.zip#edit-file Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.