delete-path
スター12
フォーク0
更新日2026年4月1日 23:40
Delete a file or directory (recursively if directory)
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Delete a file or directory (recursively if directory)
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 | delete-path |
| description | Delete a file or directory (recursively if directory) |
| context | fork |
| args | [{"name":"path","description":"Path to the file or directory to delete","required":true}] |
| tags | ["delete","remove","rm"] |
| category | system |
| version | 1.0.0 |
| author | cognitrix |
| allowed-tools | ["bash"] |
| safety | {"risk-level":"high"} |
Delete a file or directory.
rm "$(arg path)"rm -r "$(arg path)"ls -ld "$(arg path)"ls to verify file/dir is gone-r for recursive deletion (removes all contents)-i flag for interactive mode (prompts before each deletion): rm -ri-f to force and ignore non-existent files: rm -rfrm * deletes everything in current directory)ls first to verify what will be deleted