file-manager
64
总安装量
7
周安装量
#6415
全站排名
安装命令
npx skills add https://github.com/openakita/openakita --skill file-manager
Agent 安装分布
openclaw
5
opencode
4
github-copilot
4
gemini-cli
4
amp
3
kimi-cli
3
Skill 文档
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ï¼
- 对äºéè¦æä»¶ï¼å»ºè®®å å¤ä»½