File manager

From malue-ai/dazee-small · View interactive version

File manager is an AI agent skill from the GitHub repository malue-ai/dazee-small. Local file management skill for creating, organizing, searching, and batch-renaming files and folders on the user desktop.

How to use this skill

Skill file

文件管理

帮助用户管理本地文件和文件夹:创建、整理、搜索、重命名、移动。

使用场景

执行方式

通过 bash 命令操作本地文件系统。

查看目录内容

ls -la "/path/to/dir"

创建文件夹

mkdir -p "/path/to/new/folder"

移动文件

mv "/source/file.txt" "/destination/"

按类型整理

将文件按扩展名分类到对应文件夹:

# 示例:按文件类型分类
for ext in pdf docx xlsx png jpg; do
  mkdir -p "$TARGET_DIR/$ext"
  mv "$SOURCE_DIR"/*.$ext "$TARGET_DIR/$ext/" 2>/dev/null
done

搜索文件

# 按名称搜索
find "/path" -name "*.pdf" -type f

# 按内容搜索(文本文件)
grep -rl "关键词" "/path" --include="*.txt" --include="*.md"

批量重命名

# 示例:添加日期前缀
for f in /path/*.pdf; do
  mv "$f" "/path/$(date +%Y%m%d)_$(basename "$f")"
done

安全规则

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.