Smart File Manager
文件整理与归档 skill。管理用户输入文件和我生成的输出文件的存储、命名、分类。 适用于:用户发送图片/视频/PDF等文件给你处理,或你生成文件给用户。 触发:任何文件存档操作前。 Skill: Smart File Manager Owner: buptlihang Summary: 文件整理与归档 skill。管理用户输入文件和我生成的输出文件的存储、命名、分类。 适用于:用户发送图片/视频/PDF等文件给你处理,或你生成文件给用户。 触发:任何文件存档操作前。 Tags: latest:1.2.0 Version history: v1.2.0 | 2026-03-25T12:38:39.745Z | user v1.2.0: 新增docxs目录支持,Word文档独立分类 v1.1.0 | 2026-03-25T08:45:36.392Z | user v1.1.0: 提取脚本到 scripts 目录,支持 init/verify/move/fix-nested v1.0.0 | 2026-03-25T08:36:17.188Z | user Initial release - 具备自我迭代和自我修复
Rank
62
Safety
84
Downloads
2.8k
Updated
Oct 9, 2026
Version
1.2.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.8K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.8K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.2.0release · observed Mar 25, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s175jm54c418zrr9h53zykzjhh83jspj:smart-file-manager- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-buptlihang-smart-file-manager/snapshot"
Documentation
CLAWHUB
13,537 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
AIGC:
ContentProducer: Minimax Agent AI
ContentPropagator: Minimax Agent AI
Label: AIGC
ProduceID: a328734b5007a5b3276f64e1587b44bb
PropagateID: a328734b5007a5b3276f64e1587b44bb
ReservedCode1: 30440220097325f36c3096543fea438ba8e670e7e12a496068e24a6cdc33b75e55790cd00220152b7e3ad95780a869ed0409640ac5419fbd49072353e06274d19c8a9ad5b42c
ReservedCode2: 30440220657fcd1b19a8870603dcbf7bcff4a5c5ec66387e1a9cdc5a42cfe754861abbc4022015be90ab701870a998c5c6b7252d8bfde5bde8318d6ecc5bbf7fbaef09a670c5
description: |
文件整理与归档 skill。管理用户输入文件和我生成的输出文件的存储、命名、分类。
适用于:用户发送图片/视频/PDF等文件给你处理,或你生成文件给用户。
触发:任何文件存档操作前。
license: MIT
metadata:
category: file-management
version: 1.2.0
name: file-manager
---
# File Manager Skill
## 目录结构规范
```
/workspace/
├── user_input_files/ # 用户发给我的输入文件
│ ├── images/
│ ├── videos/
│ ├── pdfs/
│ ├── docxs/
│ ├── excels/
│ └── others/
│
└── my_outputs/ # 我生成给用户的输出文件
├── images/
├── videos/
├── pdfs/
├── docxs/
├── excels/
└── others/
```
## 文件命名规范
### 输入文件
```
input-{描述}-{YYYYMMDD}.{扩展名}
示例:
- input-katheryne-cos-20260325.jpg
- input-fushimi-inari-torii-20241004.jpg
- input-zhumi-cat-20241001.jpg
```
### 输出文件
```
output-{描述}-{YYYYMMDD}.{扩展名}
示例:
- output-katheryne-funko-20260325.png
- output-katheryne-real-heart-20260325.mp4
```
## 文件类型分类
| 类型 | 目录 | 扩展名 |
|------|------|--------|
| 图片 | images/ | .jpg, .jpeg, .png, .gif, .webp |
| 视频 | videos/ | .mp4, .mov, .avi |
| PDF | pdfs/ | .pdf |
| Word | docxs/ | .docx, .doc |
| Excel | excels/ | .xlsx, .xls, .csv |
| 其他 | others/ | 其他所有格式 |
## Scripts
| 脚本 | 用途 |
|------|------|
| `scripts/init.sh` | 初始化目录结构 |
| `scripts/verify.sh` | 验证文件结构是否正确 |
| `scripts/move.sh` | 移动文件到正确位置 |
| `scripts/fix-nested.sh` | 修复嵌套目录问题 |
### 使用方法
#### 初始化目录
```bash
bash scripts/init.sh
```
#### 验证结构
```bash
bash scripts/verify.sh
```
#### 移动文件
```bash
# 复制文件到正确位置
# 用法: bash scripts/move.sh <源文件> <类型> <描述> <日期>
bash scripts/move.sh /path/to/file.pdf pdf invoice 20250325
```
#### 修复问题
```bash
# 修复嵌套目录等常见问题
bash scripts/fix-nested.sh
```
## 常见错误与解决方案
### ❌ 错误1:文件散落在根目录
**问题**:生成的文件留在 `/workspace/` 根目录,没有按类型分类
**解决**:
1. 使用 `scripts/init.sh` 创建目录结构
2. 使用 `scripts/move.sh` 移动文件到对应分类目录
3. 运行 `scripts/verify.sh` 确认
### ❌ 错误2:嵌套的 output 目录
**问题**:`/workspace/my_outputs/output/images/` 而不是 `/workspace/my_outputs/images/`
**解决**:
```bash
bash scripts/fix-nested.sh
```
### ❌ 错误3:历史文件未重命名
**问题**:`3888.jpg`, `3969.jpg` 这种编号文件名无法回溯
**解决**:
1. 用 `images_understand` 工具分析图片内容
2. 根据内容重命名:`input-{内容描述}-{日期}.jpg`
3. 使用 `scripts/move.sh` 移动到正确目录
4. 更新 FILE_MANAGEMENT.md 记录
## 操作流程(必须遵循)
### 1. 接收用户输入时
```
用户发送文件 → 确认文件类型 → 使用 scripts/move.sh 移动 → scripts/verify.sh 验证
```
### 2. 生成输出文件时
```
生成文件 → 使用 scripts/move.sh 移动到 my_outputs → scripts/verify.sh 验证 → 交付
```
### 3. 验证失败时
```
验证失败 → 使用 fix-nested.sh 修复 → 再次验证 → 通过后才能交付
```
## 验证触发时机
**必须**在以下时机运行验证脚本:
- 任何文件存档操作完成后
- 用户询问文件整理情况时
- 交付文件给用户之前
---
*版本: 1.1.0 - 包含可执_meta.json
{
"ownerId": "kn79g63h5f3rxdysaqb5w5tdhd83j7c9",
"slug": "smart-file-manager",
"version": "1.2.0",
"publishedAt": 1774442319745
}skill-card.md
## Description: Smart File Manager helps agents organize user-provided and generated files into standardized workspace folders with naming, classification, move, initialization, verification, and cleanup scripts. This skill is ready for commercial/non-commercial use. ## Publisher: [buptlihang](https://clawhub.ai/user/buptlihang) ### License/Terms of Use: MIT-0 ## Use Case: External users and agents use this skill to keep user input files and generated outputs organized under predictable workspace folders by file type. It provides shell-script workflows for initializing folders, copying files into classified locations, checking structure, and cleaning a known nested-output issue. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill can broadly reorganize workspace files and remove nested output directories without enough validation, confirmation, or recovery safeguards. Mitigation: Use it only in a controlled workspace and add explicit confirmation, safe filename validation, no-clobber behavior, checked moves, and non-recursive cleanup before using it on important or shared files. ## Reference(s): ## Skill Output: **Output Type(s):** [guidance, shell commands, configuration] **Output Format:** [Markdown guidance with inline bash commands and shell script outputs] **Output Parameters:** [1D] **Other Properties Related to Output:** [Uses a fixed /workspace directory layout for user_input_files and my_outputs.] ## Skill Version(s): 1.2.0 (source: server release metadata and SKILL.md metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/buptlihang/skills/smart-file-manager",
"sourceUrl": "https://clawhub.ai/buptlihang/skills/smart-file-manager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T11:28:27.548Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-buptlihang-smart-file-manager/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-buptlihang-smart-file-manager/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T11:28:27.548Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.8K downloads",
"href": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceUrl": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T11:28:27.548Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.2.0",
"href": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceUrl": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T12:38:39.745Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-buptlihang-smart-file-manager/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-buptlihang-smart-file-manager/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.2.0",
"description": "v1.2.0: 新增docxs目录支持,Word文档独立分类",
"href": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceUrl": "https://clawhub.ai/buptlihang/smart-file-manager",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T12:38:39.745Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
