← 返回 Skills 市场
文件整理
作者
xyh-longying
· GitHub ↗
· v1.0.0
· MIT-0
137
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install f-org
功能描述
自动文件归档与整理技能。当需要整理工作空间文件、创建新文件需要决定存放位置、 从外部获取文件(下载、复制、接收)需要归档、或发现目录混乱需要整理时触发。 用于保持工作空间目录整洁清爽,分类分级存放文件。不用于已结构化的项目目录。
使用说明 (SKILL.md)
File Organizer - 文件自动归档技能
核心原则
- 原有openclaw文件目录不动:SOUL.md、USER.md、AGENTS.md、HEARTBEAT.md、MEMORY.md、TOOLS.md、skills/、memory/等 OpenClaw 原生文件和目录保持不变
- 新增文件集中存放:所有我创建、生成、下载、复制的新文件放入
user/目录 - 分类分级:
user/下按文件性质子类分类
目录结构规范
workspace/
├── user/ # 【新增】所有非Openclaw原生的文件集中存放
│ ├── docs/ # 文档资料
│ ├── scripts/ # 脚本工具
│ ├── archives/ # 归档文件
│ ├── downloads/ # 临时下载
│ ├── temp/ # 临时文件
│ └── [其他]/ # 按需创建
├── (OpenClaw原生保持不变)
│ ├── skills/
│ ├── memory/
│ ├── tools/
│ ├── AGENTS.md
│ ├── SOUL.md
│ ├── USER.md
│ ├── HEARTBEAT.md
│ ├── MEMORY.md
│ └── TOOLS.md
触发场景
| 场景 | 操作 |
|---|---|
| 创建新文件 | 默认放 user/ 对应子类,无合适则创建 |
| 下载文件 | 先放 user/downloads/,后续归档 |
| 复制/接收文件 | 识别性质,归入 user/ 相应目录 |
| 发现零散文件 | 移动到 user/ 相应目录 |
| 备份/还原 | user/ 目录可单独备份 |
文件识别规则
文档类
.md,.txt,.pdf,.doc(x)→user/docs/- 方案/报告 →
user/docs/reports/
代码/脚本
- 脚本
.sh,.py→user/scripts/ - 项目代码 →
user/projects/项目名/
媒体类
- 照片/截图 →
user/media/photos/ - 视频 →
user/media/videos/
压缩包
- 临时 →
user/downloads/或user/archives/
禁止操作
- ❌ 移动/修改 OpenClaw 原生文件(SOUL.md、skills/ 等)
- ❌ 移动结构化项目目录
- ❌ 删除他人创建的系统文件
示例
# 创建了新文档
→ user/docs/项目名/
# 下载了文件
→ user/downloads/ → 后续归档到 user/archives/
# 收到压缩包
→ user/archives/
安全使用建议
This skill appears coherent and low-risk, but take these precautions before enabling it: (1) back up important files and test the skill in a small/safe workspace to confirm its classification rules; (2) explicitly exclude any directories you consider "structured project" to avoid accidental moves; (3) review logs or a dry-run mode (if available) to verify actions before allowing unilateral moves; (4) if you dislike autonomous file operations, restrict the skill to user-invoked only or require confirmation before moving files.
功能分析
Type: OpenClaw Skill
Name: f-org
Version: 1.0.0
The skill bundle contains only organizational instructions for an AI agent to manage workspace files. It defines a directory structure under a 'user/' folder and explicitly prohibits modifying or moving OpenClaw system files (e.g., SOUL.md, skills/), showing no signs of malicious intent or risky execution patterns in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's name/description match the runtime instructions: it organizes non-OpenClaw files under a user/ directory and defines classification rules. It does not ask for unrelated credentials, binaries, or external services.
Instruction Scope
Instructions remain within the workspace and explicitly forbid touching OpenClaw native files or structured project directories. However, some rules are high-level (e.g., "识别性质", "发现零散文件") and grant the agent discretion to move files; that behavior is coherent but could lead to unexpected file moves if not constrained or tested.
Install Mechanism
No install spec and no code files — the skill is instruction-only, which minimizes filesystem/write risk and is proportionate for this purpose.
Credentials
The skill requires no environment variables, credentials, or config paths. The requested access (implicit workspace file read/write) is appropriate for a file-organizer.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistence or modifications to other skills. Autonomous invocation is allowed by default (platform normal) but is not combined with elevated privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install f-org - 安装完成后,直接呼叫该 Skill 的名称或使用
/f-org触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
file-organizer v1.0.0
- Introduced a new file organization skill to automatically archive and tidy files in the workspace.
- Keeps all OpenClaw native files and folders unchanged.
- All new, generated, downloaded, or copied files are stored in a centralized user/ directory, subdivided by file type.
- Detailed directory conventions and file categorization rules are provided for documents, scripts, media, and archives.
- Outlines trigger scenarios and prohibited operations for safe and structured file handling.
元数据
常见问题
文件整理 是什么?
自动文件归档与整理技能。当需要整理工作空间文件、创建新文件需要决定存放位置、 从外部获取文件(下载、复制、接收)需要归档、或发现目录混乱需要整理时触发。 用于保持工作空间目录整洁清爽,分类分级存放文件。不用于已结构化的项目目录。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。
如何安装 文件整理?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install f-org」即可一键安装,无需额外配置。
文件整理 是免费的吗?
是的,文件整理 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
文件整理 支持哪些平台?
文件整理 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 文件整理?
由 xyh-longying(@xyh-longying)开发并维护,当前版本 v1.0.0。
推荐 Skills