文件整理

v1.0.0

自动文件归档与整理技能。当需要整理工作空间文件、创建新文件需要决定存放位置、 从外部获取文件(下载、复制、接收)需要归档、或发现目录混乱需要整理时触发。 用于保持工作空间目录整洁清爽,分类分级存放文件。不用于已结构化的项目目录。

1· 130·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for xyh-longying/f-org.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "文件整理" (xyh-longying/f-org) from ClawHub.
Skill page: https://clawhub.ai/xyh-longying/f-org
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install f-org

ClawHub CLI

Package manager switcher

npx clawhub@latest install f-org
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97368yw3yms2nh2xvs5qm5jf183naps
130downloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

File Organizer - 文件自动归档技能

核心原则

  1. 原有openclaw文件目录不动:SOUL.md、USER.md、AGENTS.md、HEARTBEAT.md、MEMORY.md、TOOLS.md、skills/、memory/等 OpenClaw 原生文件和目录保持不变
  2. 新增文件集中存放:所有我创建、生成、下载、复制的新文件放入 user/ 目录
  3. 分类分级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, .pyuser/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/

Comments

Loading comments...