Delete File

SkillFiles & storage

Lets your agent delete a file or an empty folder from your computer.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Delete File skill

About this skill

Delete a file or empty directory. Non-empty directories are rejected for safety. Use run_shell for recursive deletion.

What this skill tells your AI

The instructions your AI receives, as published by openakita/openakita in skills/system/delete-file/SKILL.md and read by ahel’s review.

删除文件或空目录。

Parameters

参数类型必填说明
pathstring是要删除的文件或空目录路径

Examples

删除文件:

{"path": "temp/output.txt"}

删除空目录:

{"path": "temp/empty_dir"}

Notes

  • 仅删除文件或空目录
  • 非空目录会被拒绝,需使用 run_shell 执行删除命令
  • 路径受安全策略保护

Related Skills

  • write-file: 创建文件
  • list-directory: 查看目录内容
  • run-shell: 递归删除非空目录

Signals

GitHub stars
2k
Forks
280
Last commit
Sep 2026
Advanced
Item type
skill
Key
delete-file
Source
github.com/openakita/openakita