file-manager

Original🇨🇳 Chinese
Translated
1 scriptsChecked / no sensitive code detected

File and directory management tool. Create, read, write, delete, move, copy files. Search for files, list directories, get file information. Keywords: file, directory, create, delete, copy, move, search, list

8installs
Added on

NPX Install

npx skill4agent add openakita/openakita file-manager

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

File Manager

A set of tools for managing files and directories.

When to Use

  • Create, delete, move, copy files or directories
  • Read or write file content
  • Search for files
  • List directory contents
  • Get file information (size, modification time, etc.)

Instructions

List Directory

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

Read File

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

Write File

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

Copy File

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

Move/Rename

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

Delete

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

Search File

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

Get File Information

bash
python scripts/file_ops.py info <path>

Output Format

All operations return JSON format:
json
{
  "success": true,
  "operation": "list",
  "data": {
    "files": ["file1.py", "file2.py"],
    "directories": ["subdir"],
    "count": 3
  }
}

Safety Notes

  • Deletion operations are irreversible, use with caution
  • Writing to a file will overwrite existing content (unless using --append)
  • For important files, it is recommended to back them up first