edit-file
スター12
フォーク0
更新日2026年4月3日 18:13
Edit an existing file by replacing text
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Edit an existing file by replacing text
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Search the web for up-to-date information using Tavily API
Press a combination of keys simultaneously (e.g., Ctrl+C, Alt+Tab)
Press a single key on the keyboard
Perform a mouse left-click at specified screen coordinates
Perform a mouse double-click at specified screen coordinates
Perform a mouse right-click at specified screen coordinates
| name | edit-file |
| description | Edit an existing file by replacing text |
| context | same |
| args | [{"name":"file_path","description":"Path to the file to edit","required":true},{"name":"old_string","description":"The text to find and replace","required":true},{"name":"new_string","description":"The replacement text","required":true},{"name":"replace_all","description":"If true, replace all occurrences. Defaults to false.","required":false}] |
| tags | ["file","edit","modify"] |
| category | system |
| version | 1.0.0 |
| author | cognitrix |
| allowed-tools | ["Edit"] |
| safety | {"risk-level":"medium"} |
Edit an existing file by replacing text using the Edit tool.
<filepath> old_string="old text" new_string="new text"
<filepath> old_string="old text" new_string="new text" replace_all=true
<filepath> old_string="" new_string="new content" create_if_missing=true
~ for home directory paths