File manager

From openakita/openakita · View interactive version

File manager is an AI agent skill from the GitHub repository openakita/openakita. File and directory management tool for creating, reading, writing, deleting, moving, copying, and searching files. Use this skill when the user needs to perform file operations, list directories, search by pattern or content, or get file metadata like size and modification time.

How to use this skill

Skill file

File Manager

管理文件和目录的工具集。

When to Use

Instructions

列出目录

python scripts/file_ops.py list <path> [--recursive] [--pattern "*.py"]

读取文件

python scripts/file_ops.py read <file_path> [--encoding utf-8]

写入文件

python scripts/file_ops.py write <file_path> --content "内容" [--append]

复制文件

python scripts/file_ops.py copy <source> <destination>

移动/重命名

python scripts/file_ops.py move <source> <destination>

删除

python scripts/file_ops.py delete <path> [--recursive]

搜索文件

python scripts/file_ops.py search <directory> --pattern "*.py" [--content "search_text"]

获取文件信息

python scripts/file_ops.py info <path>

Output Format

所有操作返回 JSON 格式:

{
  "success": true,
  "operation": "list",
  "data": {
    "files": ["file1.py", "file2.py"],
    "directories": ["subdir"],
    "count": 3
  }
}

Safety Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.