Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

smart-workspace智能工作空间

Agent Skill

smart-workspace 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,481

周安装

148

GitHub Stars

公开资料未说明

下载量

1,220
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:smart-workspace(智能工作空间)
来源仓库:https://github.com/yaoweizhang/smart-workspace
安装命令:
openclaw skills install smart-workspace
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install smart-workspace

简介

轻量化的项目文件管理技能。自动管理智能体工作区,根据任务关键词匹配项目历史,全自动执行,无需确认。避免文件混乱,大大增强智能体的项目管理能力。支持文件整理、文件夹管理、项目追踪、自动归档、工作区清理等功能。

SKILL.md

name
smart-workspace
version
1.1.0
description
轻量化的项目文件管理技能。自动管理智能体工作区,根据任务关键词匹配项目历史,全自动执行,无需确认。避免文件混乱,大大增强智能体的项目管理能力。支持文件整理、文件夹管理、项目追踪、自动归档、工作区清理等功能。
description_en
Lightweight project file management skill. Automatically manages agent workspace, matches task keywords to project history, intelligently decides whether to use existing folders or create new ones. Prevents file chaos, greatly enhances agent project management capabilities.
keywords
[文件整理, 项目管理, workspace, folder, organize, project]
metadata
openclaw
emoji
📁

Smart Workspace Organizer 📁 / 智能项目文件组织助手

Lightweight project file management skill. / 轻量化的项目文件管理技能。


First-Time Setup / 首次安装(自动初始化)

EN: On first load, auto-scan existing folders and generate PROJECT-HISTORY.md! CN: 首次加载此技能时,自动扫描 workspace 现有文件夹,生成 PROJECT-HISTORY.md!

Auto-Scan Logic / 自动扫描逻辑

EN:
Scan workspace/ root directory
    ↓
Find ./articles/, ./data-science/, etc.
    ↓
Filter system folders: .git, .openclaw, memory, skills, .learnings
    ↓
Create PROJECT-HISTORY.md entry for each real project folder
    ↓
Continue to normal workflow

CN:
扫描 workspace/ 根目录
    ↓
发现 ./articles/、./data-science/ 等文件夹
    ↓
过滤系统文件夹:.git、.openclaw、memory、skills、.learnings 等
    ↓
为每个真实项目文件夹创建 PROJECT-HISTORY.md 条目
    ↓
继续执行主流程
IF ./PROJECT-HISTORY.md does not exist:
    1. Scan all folders in workspace root directory
    2. Filter out system folders (.git, .openclaw, memory, skills, .learnings, etc.)
    3. For each real project folder, create an entry in PROJECT-HISTORY.md
    4. Set created = today, last_used = today
    5. Continue to Step 2
ELSE:
    Skip initialization, continue to Step 2

Core Features / 核心功能

#English中文
1Project History Search - Match keywords in PROJECT-HISTORY.md项目历史搜索 - 在 PROJECT-HISTORY.md 中匹配关键词
2Smart Folder Direct Use - Directly use matched folder, auto update last_used智能文件夹推荐 - 直接使用匹配到的文件夹,自动更新 last_used
3New Project Creation - Create new folders and record automatically新项目创建 - 自动创建新项目文件夹并记录
4History Updates - Keep project history current历史记录更新 - 保持项目历史最新

Project History File / 项目历史文件

Location / 位置: workspace/PROJECT-HISTORY.md

Format / 格式

# Project History / 项目历史

## project-key
- name: Project Name / 项目名称
- path: ./project-folder/
- desc: Project description / 项目描述
- created: YYYY-MM-DD
- last_used: YYYY-MM-DD

Format Fields / 格式字段

Field / 字段Description / 说明Example / 示例
## keyUnique project identifier (level-2 heading) / 项目唯一标识football
nameProject name / 项目名称足球预测
pathPath relative to workspace / 相对于workspace的路径./data_analyzer/
descProject description (for keyword matching) / 项目描述足球数据分析
createdCreation date / 创建时间2026-03-01
last_usedLast used date / 最后使用时间2026-04-18

Path Resolution / 路径解析

EN:
Current workspace: ~/.openclaw/workspace-[agentname]/
Project history: ~/.openclaw/workspace-[agentname]/PROJECT-HISTORY.md
New project folder: ~/.openclaw/workspace-[agentname]/[projectname]/

CN:
当前 workspace: ~/.openclaw/workspace-[agentname]/
项目历史文件: ~/.openclaw/workspace-[agentname]/PROJECT-HISTORY.md
新项目文件夹: ~/.openclaw/workspace-[agentname]/[projectname]/

Chinese Keyword Mapping / 中文关键词映射

Chinese / 中文Matches / 匹配key
足球 / footballfootball
电池 / batterybattery
射击 / shootingshooting
预测 / predictionfootball
验证 / verificationverify

Execution Flow / 执行流程(全自动)

Step 1: Initialize (First Time Only) / 初始化(仅首次)

EN:
IF ./PROJECT-HISTORY.md does not exist:
    1. Scan workspace root directory for all folders
    2. Filter system folders (.git, .openclaw, memory, skills, .learnings, etc.)
    3. Create initial entries for each real project
    4. Continue to Step 2
ELSE:
    Skip, continue to Step 2

CN:
如果 ./PROJECT-HISTORY.md 不存在:
    1. 扫描 workspace 根目录所有文件夹
    2. 过滤系统文件夹(.git、.openclaw、memory、skills、.learnings 等)
    3. 为每个真实项目创建初始条目
    4. 继续 Step 2
否则:
    跳过初始化,继续 Step 2

Step 2: Understand Task / 理解任务

EN: Analyze user's task, extract 2-3 keywords, determine project type
CN: 分析用户任务,提取2-3个关键词,判断属于哪类项目

Step 3: Search & Match / 搜索匹配

EN:
Read PROJECT-HISTORY.md
    ↓
Match rules (priority order):
    1. key exact match → Direct use
    2. name/desc contains keyword → Direct use
    3. Chinese keyword mapping hit → Direct use
    4. No match → Auto-create new project
    5. Multiple matches → Use first one, notify user

CN:
读取 PROJECT-HISTORY.md
    ↓
匹配规则(优先级顺序):
    1. key 完全匹配 → 直接使用
    2. name/desc 包含关键词 → 直接使用
    3. 中文关键词映射命中 → 直接使用
    4. 无匹配 → 自动创建新项目
    5. 多个匹配 → 使用第一个,并向用户说明

Step 4: Execute & Record / 执行与记录

EN:
【Existing Project】
    1. Create ./[project]/ folder (if not exists)
    2. Update PROJECT-HISTORY.md: last_used = today
    3. Reply: "Task organized to [project] (last_used: today)"

【New Project】
    1. Create ./[project-name]/ folder
       - If folder exists, auto-add suffix _1, _2, etc.
    2. Append new entry to PROJECT-HISTORY.md
    3. Reply: "Created new project [project-name], files will be organized here"

CN:
【已有项目】
    1. 创建 ./[project]/ 文件夹(如不存在)
    2. 更新 PROJECT-HISTORY.md:last_used = 今天日期
    3. 回复:"已将此任务整理到 [项目名](last_used: 今天)"

【新项目】
    1. 创建 ./[project-name]/ 文件夹
       - 如文件夹已存在,自动追加 _1, _2 后缀
    2. 在 PROJECT-HISTORY.md 追加新条目
    3. 回复:"已创建新项目 [项目名],文件将整理到此目录"

Decision Rules / 决策规则

Project vs One-time Task / 项目 vs 一次性任务

Type / 类型Example / 示例Handling / 处理方式
Ongoing project / 持续项目足球预测系统 / Football predictionCreate independent folder / 创建独立文件夹
Daily analysis / 日常分析每日预测、周报 / Daily predictionPut in related project folder / 放入相关项目文件夹
One-time task / 一次性任务临时数据整理 / Temp data整理Put in project folder or tmp / 放入项目文件夹或tmp

Folder Naming / 文件夹命名规范

EN:
- Use concise English/pinyin names
- Avoid Chinese folder names
- Example: myproject/, recommender/, dataprocessor/

CN:
- 使用简洁的英文/拼音名称
- 避免中文文件夹名
- 示例: myproject/, recommender/, dataprocessor/

Example Dialogues / 示例对话

Case 1: Match Found → Direct Use / 匹配成功 → 直接使用

User / 用户: "帮我分析今天足球数据" / "Analyze today's football data"

Agent / 智能体:

EN:
[Scan] ./PROJECT-HISTORY.md (init if not exists)
[Extract keyword] "足球" → football
[Match result] football -> ./data_analyzer/
  created: 2026-03-01, last_used: 2026-04-18

"Task organized to data_analyzer/ (last_used: today)"

CN:
[扫描] ./PROJECT-HISTORY.md(如不存在则初始化)
[提取关键词] "足球" → football
[匹配结果] football -> ./data_analyzer/
  created: 2026-03-01, last_used: 2026-04-18

"已将此任务整理到 data_analyzer/(last_used: 今天)"

Case 2: No Match → Auto Create / 无匹配 → 自动创建

User / 用户: "我要开发一个新的推荐算法" / "I want to develop a new recommendation algorithm"

Agent / 智能体:

EN:
[Extract keyword] "推荐"
[Match result] No match

1. Create ./recommender/ folder
2. Append new entry to PROJECT-HISTORY.md
3. Reply: "Created new project recommender, files will be organized here"

CN:
[提取关键词] "推荐"
[匹配结果] 无匹配

1. 创建 ./recommender/ 文件夹
2. 在 PROJECT-HISTORY.md 追加新条目
3. 回复:"已创建新项目 recommender,文件将整理到此目录"

Case 3: Multiple Matches → Use First / 多个匹配 → 使用第一个

User / 用户: "做一下射击项目的数据分析" / "Do data analysis for the shooting project"

Agent / 智能体:

EN:
[Extract keyword] "射击" → shooting
[Match result] Multiple matches: ./shooting/, ./shooting_v2/
[Decision] Use first one: ./shooting/

"Multiple matches found, using ./shooting/ (last_used: today)"

CN:
[提取关键词] "射击" → shooting
[匹配结果] 多个匹配:./shooting/, ./shooting_v2/
[决策] 使用第一个:./shooting/

"发现多个匹配项目,已使用 ./shooting/(last_used: 今天)"

Test Cases / 测试案例

✅ Test 1: Match Existing / 匹配已有项目

EN:
Input: "分析今天足球数据" / "Analyze today's football data"
Expected: Match football → Use ./data_analyzer/, update last_used

CN:
输入: "分析今天足球数据"
预期: 匹配 football → 使用 ./data_analyzer/,更新 last_used

✅ Test 2: Auto Create New / 自动创建新项目

EN:
Input: "开发一个天气预测系统" / "Develop a weather prediction system"
Expected: No match → Auto-create ./weather-prediction/ folder

CN:
输入: "开发一个天气预测系统"
预期: 无匹配 → 自动创建 ./weather-prediction/ 文件夹

✅ Test 3: First-Time Auto-Scan / 首次自动扫描

EN:
Scenario: Workspace has ./articles/, ./data-science/, memory/, .git/
Expected:
  - Filter .git, memory, skills (system folders)
  - Create entries for articles, data-science in PROJECT-HISTORY.md
  - created = today, last_used = today

CN:
场景: Workspace 有 ./articles/, ./data-science/, memory/, .git/
预期:
  - 过滤 .git, memory, skills 等系统文件夹
  - 为 articles, data-science 创建 PROJECT-HISTORY.md 条目
  - created = 今天日期,last_used = 今天日期

Cross-Agent Compatibility / 跨Agent兼容性

EN:
Agent A workspace:
  ~/.openclaw/workspace-data_analyzer/
  ├── PROJECT-HISTORY.md
  └── data_analyzer/

Agent B workspace:
  ~/.openclaw/workspace-mlbots/
  ├── PROJECT-HISTORY.md
  └── baseball_project/

Path ./PROJECT-HISTORY.md automatically resolves to the corresponding workspace.

CN:
Agent A workspace:
  ~/.openclaw/workspace-data_analyzer/
  ├── PROJECT-HISTORY.md
  └── data_analyzer/

Agent B workspace:
  ~/.openclaw/workspace-mlbots/
  ├── PROJECT-HISTORY.md
  └── baseball_project/

路径 ./PROJECT-HISTORY.md 自动解析到对应的 workspace。

Permission Notes / 权限说明

Permission / 权限Scope / 范围
Read / 读取PROJECT-HISTORY.md in current workspace
Write / 写入Create new folders, update history in current workspace
No access / 不访问System files, credentials, other agents' files

Notes / 注意事项

#English中文
1Be direct: If match found, use it directly and notify user直接处理: 如匹配到项目,直接使用并告知用户
2Auto-create: If no match, create new folder without asking自动创建: 无匹配时直接创建新文件夹,无需询问
3Update always: Always update last_used when using existing project始终更新: 使用已有项目时必须更新 last_used
4Record all: Must update PROJECT-HISTORY.md for new projects记录新项目: 创建新项目时必须更新 PROJECT-HISTORY.md
5Bilingual: Support both Chinese and English keyword matching双语兼容: 同时支持中文关键词和英文key直接匹配
6Workspace isolation: Different agents have independent historiesworkspace隔离: 不同Agent的项目历史互相独立
7System folders: Skip .git, .openclaw, memory, skills, .learnings, .env, .DS_Store系统文件夹: 跳过 .git, .openclaw, memory, skills 等
8Monthly archive: Mark projects with last_used > 3 months as archived定期归档: 每月检查,将 last_used > 3个月的项目标记为归档

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.76%
按下载量换算936

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills