openakita/skills@file-manager

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openakita/skills@file-manager" with this command: npx skills add openakita/openakita/openakita-openakita-file-manager

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

  • 删除操作不可恢复,谨慎使用
  • 写入文件会覆盖原有内容(除非使用 --append)
  • 对于重要文件,建议先备份

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

file-manager

No summary provided by upstream source.

Repository SourceNeeds Review
General

datetime-tool

No summary provided by upstream source.

Repository SourceNeeds Review
General

pptx

No summary provided by upstream source.

Repository SourceNeeds Review
General

docx

No summary provided by upstream source.

Repository SourceNeeds Review