agentCLAWHUBUnverified

OpenClaw Workspace Initializer

OpenClaw workspace initialization & standardization. Sets up a proper agent home: standard directory structure (projects/tasks/outputs/knowledge/scripts/ memory/tmp) + WORKSPACE.md rules + multi-agent config safety (config.patch, never config.apply) + memory log. Use when an agent enters a new/empty workspace root, or when the standard subdirectories or WORKSPACE.md are missing. Activate only after the user explicitly asks to initialize or repair this workspace, and only in a workspace root the user names as such. Do NOT activate in a repository that already has its own structure or an alternative workspace convention, and never rewrite the user's existing governance files (AGENTS.md / WORKSPACE.md / SOUL.md / USER.md) without showing the exact diff and getting explicit approval first. 中文:OpenClaw 工作区初始化与规范维护,多 agent 配置安全。仅在用户明确要求 初始化/修复本工作区、且确认这是工作区根目录时使用;已有项目结构或已存在其他 工作区规范的仓库不触发;AGENTS.md / WORKSPACE.md / SOUL.md / USER.md 属用户 资产,未经用户看到确切 diff 并明确同意,不擅自改写。

OpenClaw

Rank

62

Safety

84

Downloads

1.0k

Updated

Oct 11, 2026

Version

1.0.8

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/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 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
1K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.8release · observed Sep 28, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s174gzbbbyab1ahh0pf7tmgepn8afw1v:xiaoyaoclaw-workspace-initializer
  1. Install using `clawhub skill install s174gzbbbyab1ahh0pf7tmgepn8afw1v:xiaoyaoclaw-workspace-initializer` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

127,910 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: xiaoyaoclaw-workspace-initializer
description: >
  OpenClaw workspace initialization & standardization. Sets up a proper agent
  home: standard directory structure (projects/tasks/outputs/knowledge/scripts/
  memory/tmp) + WORKSPACE.md rules + multi-agent config safety (config.patch,
  never config.apply) + memory log. Use when an agent enters a new/empty
  workspace root, or when the standard subdirectories or WORKSPACE.md are
  missing. Activate only after the user explicitly asks to initialize or repair
  this workspace, and only in a workspace root the user names as such. Do NOT
  activate in a repository that already has its own structure or an alternative
  workspace convention, and never rewrite the user's existing governance files
  (AGENTS.md / WORKSPACE.md / SOUL.md / USER.md) without showing the exact diff
  and getting explicit approval first.
  中文:OpenClaw 工作区初始化与规范维护,多 agent 配置安全。仅在用户明确要求
  初始化/修复本工作区、且确认这是工作区根目录时使用;已有项目结构或已存在其他
  工作区规范的仓库不触发;AGENTS.md / WORKSPACE.md / SOUL.md / USER.md 属用户
  资产,未经用户看到确切 diff 并明确同意,不擅自改写。
---

# OpenClaw Workspace Initializer(工作区初始化器)

> 📖 **完整文档(安装 / 快速上手三步 / 定制服务):<https://github.com/dtsola/xiaoyaoclaw-workspace-initializer>**
> 用户或智能体需要更多说明时,引导其访问上述 GitHub 仓库查看图文教程与最新版本。

> 🚀 **小遥AI:「让每个人的数字生活,都有一座自己说了算的小遥」:<https://www.xiaoyaosai.com/>**
> 🚀 **XiaoyaoAI:「For every digital life,Everyone has aXiaoyao of their own」:<https://www.xiaoyaosai.com/>**

初始化 OpenClaw agent 工作区:标准目录结构 + WORKSPACE.md 规范 + 多 agent 配置安全。
让每个 agent 都有一个「家」——不迷路、不丢记忆、不踩配置坑。

> 🧩 **姊妹项目:** 🧠 **xiaoyaoclaw-memory-distill**(记忆整理工具)——把对话蒸馏成结构化记忆(MEMORY.md + 每日日志),解决上下文溢出,缺失时自动首次建忆:<https://github.com/dtsola/xiaoyaoclaw-memory-distill>

## 激活边界(避免误触发 / 越权改动)

**只在下面两种情况进入工作流:**

1. 用户**明确要求**初始化 / 修复本工作区(「初始化一下工作区」「补上缺的目录和规范」);或
2. 智能体发现当前根目录**确实缺少**标准目录或 `WORKSPACE.md`,**且**用户当轮的任务本来就要在该目录下落文件。

**以下情况不要激活、不要改动任何东西:**

- 仓库里已经有自己的目录结构与规范(例如已有 `src/`、`docs/`、`apps/` 等工程约定);
- 已存在其他工作区规范(别的 `WORKSPACE.md` / `.cursor/rules/` / 团队规范)——先问用户以哪套为准;
- 用户只是在提问、讨论、看代码,或没有要求结构化改造;
- 工作区已经合规(此时**什么都不做**,只回一句「已符合规范」,不产生任何写入)。

**不可越界的三条:**

- **不覆盖已有文件**:只创建缺失项,已存在的目录/文件一律跳过。
- **用户资产只提议、不擅自改**:`AGENTS.md`、`WORKSPACE.md`、`SOUL.md`、`USER.md` 等治理与配置类文件,改前必须展示**确切 diff** 并取得用户明确同意。
- **不装常驻机制**:不建 cron、不起守护进程、不写启动脚本、不写跨会话状态文件;本技能只在用户批准的那一轮里做文件改动。

## 工作流

### Step 0: 先出差异清单,默认 dry-run(改动前必须过的闸门)

在任何写入之前,先给用户一份**差异清单**,并停下来等确认:

```text
检测结果(只读)
  缺失目录:memory/  tmp/
  缺失文件:WORKSPACE.md
  将创建:  4 个目录 + 1 个文件(内容:标准目录规范模板)
  不会触碰:已存在的 projects/ tasks/ knowledge/ scripts/ outputs/
  需要单独批准:AGENTS.md 的启动读取规则(会改变未来会话的启动行为)
```

用户确认后再进入 Step 2;用户没确认就**不改任何东西**。

### Step 1: 检测当前状态

检查工作区根目录是否存在以下内容:

**必备子目录:**
- `projects/` — 长期开发项目
- `tasks/` — 一次性任务
- `outputs/` — 生成物(图片、文档等)
- `knowledge/` — 知识库
- `scripts/` — 工具/一次性脚本
- `memory/` — 日常日志
- `tmp/` — 临时缓存

**必备规范文件:**
- `WORKSPACE.md` — 目录管理规则(持久化规范,重启后依然生效)

**系统目录(不要修改或删除):**
- `.openclaw/`
- `agent/`
- `sessions/`
- `.clawhub/`

### Step 2: 创建缺失的目录结构(用户确认后执行)

逐项创建**缺失**目录(已存在的一律跳过,绝

README.md

# OpenClaw Workspace Initializer 🏠

<div align="center">
  <strong>🇨🇳 中文</strong> | <a href="README.en.md">🌐 English</a>
</div>

<p align="center">
  <img src="./assets/readme/hero.svg" width="100%" alt="OpenClaw Workspace Initializer — give every OpenClaw agent a home: standard directory structure, WORKSPACE.md rules, multi-agent config safety">
</p>

> 给每个 OpenClaw agent 一个「家」:标准目录结构 + WORKSPACE.md 规范 + 多 agent 配置安全。
> OpenClaw workspace initialization & standardization — the agent home your agents deserve.

![license](https://img.shields.io/badge/license-MIT-green)
[![ClawHub downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fclawhub.ai%2Fapi%2Fv1%2Fskills%2Fxiaoyaoclaw-workspace-initializer&query=skill.stats.downloads&label=ClawHub%20downloads&color=blue)](https://clawhub.ai/dtsola/skills/xiaoyaoclaw-workspace-initializer)

## 为什么需要它

OpenClaw agent 每次会话都是全新启动。没有工作区规范,你的 agent 会:
- ❌ 把文件乱扔在根目录,越攒越乱
- ❌ 忘记自己的记忆系统(`memory/`),每次醒来都失忆
- ❌ 在多 agent 共享配置时,用 `config.apply` 整份覆盖 openclaw.json,**抹掉其他 agent 的修改**

这个 skill 一次性解决:**目录结构 + 持久化规范 + 配置安全**。

## 特性

- 🗂️ 标准目录结构:`projects/` `tasks/` `outputs/` `knowledge/` `scripts/` `memory/` `tmp/`
- 📜 WORKSPACE.md 规范:重启后依然生效的目录管理规则(**用户资产** —— 内容先给你过目,已存在则不覆盖)
- 🛡️ 多 agent 配置安全:只用 `config.patch`,禁止 `config.apply` 覆盖他人修改
- ⚖️ **文件放置统一**:其他技能约定与 WORKSPACE.md 冲突的**输出路径**,由执行 agent 映射进工作区并注明差异(如 `~/Downloads/research/<topic>` → `tasks/<topic>/`)——但技能自身的安全规则、许可与流程优先,不覆盖、不要求技能绕过;换位置解决不了的冲突会先问你

## 安装

```bash
# ClawHub(推荐)
clawhub install xiaoyaoclaw-workspace-initializer

# 或从 GitHub 手动安装
git clone https://github.com/dtsola/xiaoyaoclaw-workspace-initializer
# 把 SKILL.md 和 templates/ 放到你的 skills 目录
```

## 使用

1. 把 skill 放到 OpenClaw 的 skills 目录
2. 首次进入(或重置)一个工作区时,agent 会自动:
   - 创建 `projects/ tasks/ outputs/ knowledge/ scripts/ memory/ tmp/`
   - 写入 `WORKSPACE.md` 目录规范(重启后依然生效)
   - 检测多 agent 场景,把「config.patch ✅ / config.apply ❌」安全规范持久化进 `AGENTS.md`
   - 在 `memory/` 记录初始化日志

## 🚀 快速上手(三步,10 分钟)

以飞书 Bot 接入为例,三步让你的 agent 拥有一个规范的家:

### Step 1:接入你的 agent

新建一个智能体并接入(飞书 Bot / 微信 / Telegram 等均可),和它完成身份确认——起名字、确定称呼、划定职责范围:

![Step 1 - 全新 agent 接入](assets/quickstart-step1-new-agent.png)

### Step 2:一句话触发初始化

对你的 agent 说:

> 初始化你的工作目录,使用 xiaoyaoclaw-workspace-initializer

agent 会**先给差异清单等你确认**(将创建什么 / 不会动什么),确认后再执行:建缺失目录 → 写入 `WORKSPACE.md` → 把「Read WORKSPACE.md」启动规则与配置安全规范作为**建议补丁**给你过目(`AGENTS.md` 影响未来每次会话启动,需单独同意)→ 记录初始化日志:

![Step 2 - 执行初始化](assets/quickstart-step2-init-workspace.png)

### Step 3:验收成果

打开 agent 的工作区目录(Windows 资源管理器示例),标准结构已就位:

![Step 3 - 初始化完成](assets/quickstart-step3-workspace-ready.png)

> 💡 之后每次会话,agent 都会先读 `WORKSPACE.md` 再干活——目录不乱、记忆不丢、配置不打架。

## 与其他方案的区别

| | openclaw-workspace-starter | **xiaoyaoclaw-workspace-initializer** |
|---|---|---|
| 目录结构 | 基础模板 | 完整规范体系(7 目录 + 命名规范 + 行为规则) |
| 持久化规范 | 无 WORKSPACE.md 规范 | ✅ WORKSPACE.md 重启后持续生效 |
| 多 agent 配置安全 | ❌ | ✅ config.patch / 禁

_meta.json

{
  "ownerId": "kn792btccw444kydadc12dd0jd8afqyw",
  "slug": "xiaoyaoclaw-workspace-initializer",
  "version": "1.0.8",
  "publishedAt": 1790589905700
}

README.en.md

# OpenClaw Workspace Initializer 🏠

> Give every OpenClaw agent a home: standard directory structure + WORKSPACE.md rules + multi-agent config safety.

<p align="center">
  <img src="./assets/readme/hero.svg" width="100%" alt="OpenClaw Workspace Initializer — give every OpenClaw agent a home: standard directory structure, WORKSPACE.md rules, multi-agent config safety">
</p>

> Give every OpenClaw agent a "home": standard directory structure + WORKSPACE.md rules + multi-agent config safety.
> OpenClaw workspace initialization & standardization — the agent home your agents deserve.

![license](https://img.shields.io/badge/license-MIT-green)
[![ClawHub downloads](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fclawhub.ai%2Fapi%2Fv1%2Fskills%2Fxiaoyaoclaw-workspace-initializer&query=skill.stats.downloads&label=ClawHub%20downloads&color=blue)](https://clawhub.ai/dtsola/skills/xiaoyaoclaw-workspace-initializer)

## Why you need it

Every OpenClaw agent session starts fresh. Without workspace conventions, your agent will:
- ❌ Scatter files around the root directory, messier every day
- ❌ Forget its own memory system (`memory/`), waking up amnesiac every session
- ❌ In multi-agent shared config setups, use `config.apply` to overwrite the whole `openclaw.json`, **wiping out other agents' changes**

This skill solves it all in one go: **directory structure + persistent rules + config safety**.

## Features

- 🗂️ Standard directory structure: `projects/` `tasks/` `outputs/` `knowledge/` `scripts/` `memory/` `tmp/`
- 📜 WORKSPACE.md rules: directory conventions that survive restarts — **yours to own**; the skill shows the content first and never overwrites an existing file
- 🛡️ Multi-agent config safety: `config.patch` only — `config.apply` is forbidden to avoid overwriting others' changes
- ⚖️ **Unified file placement**: when another skill's output path clashes with WORKSPACE.md, the executing agent maps the output into the workspace and notes the difference (e.g. `~/Downloads/research/<topic>` → `tasks/<topic>/`) — while the skill's own safety rules, licence and workflow stay authoritative, and unresolvable conflicts go back to you.

## Install

```bash
# From ClawHub (recommended)
clawhub install xiaoyaoclaw-workspace-initializer

# Or manually from GitHub
git clone https://github.com/dtsola/xiaoyaoclaw-workspace-initializer
# Put SKILL.md and templates/ into your skills directory
```

## Usage

1. Put the skill in your OpenClaw skills directory
2. When entering (or resetting) a workspace, your agent will automatically:
   - Create `projects/ tasks/ outputs/ knowledge/ scripts/ memory/ tmp/`
   - Write the `WORKSPACE.md` directory rules (only if missing; you approve the content first)
   - Detect multi-agent setups and propose the "config.patch ✅ / config.apply ❌" rules for `AGENTS.md` (diff first, written only with your approval)
   - Log the initialization into `memory/`

## 🚀 Quick Start

skill-card.md

## Description:

Initializes an approved OpenClaw workspace with standard directories, workspace rules, and guidance for safe multi-agent configuration changes.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dtsola](https://clawhub.ai/user/dtsola)

### License/Terms of Use:

MIT

## Use Case:

OpenClaw users and agent developers use this skill to organize a user-approved workspace, add persistent directory conventions, and propose safe configuration rules without overwriting existing governance files.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Changes to WORKSPACE.md or AGENTS.md can steer future agent behavior in the workspace.

Mitigation: Review the dry-run and exact file diffs before approval; do not change existing governance files without explicit consent.

## Reference(s):

- [ClawHub skill release](https://clawhub.ai/dtsola/skills/xiaoyaoclaw-workspace-initializer)
- [Workspace rules template](templates/WORKSPACE.md)
- [Agent configuration safety template](templates/AGENTS-config-safety.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration guidance, Files]

**Output Format:** [Markdown guidance, proposed diffs, and approved local workspace files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Presents a dry-run before changes and requires explicit approval for workspace rules or agent startup instructions.]

## Skill Version(s):

1.0.8 (source: server-resolved ClawHub release)

## 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.
Github ReposUpdated 2d agoRank 70

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!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

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

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

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/dtsola/skills/xiaoyaoclaw-workspace-initializer",
      "sourceUrl": "https://clawhub.ai/dtsola/skills/xiaoyaoclaw-workspace-initializer",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:39:20.915Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:39:20.915Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1K downloads",
      "href": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceUrl": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T18:39:20.915Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.8",
      "href": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceUrl": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-28T10:05:05.700Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.8",
      "description": "v1.0.8 - brand promo link updated to https://www.xiaoyaosai.com/ (docs-only change: SKILL.md bilingual promo line; no behavior change).",
      "href": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceUrl": "https://clawhub.ai/dtsola/xiaoyaoclaw-workspace-initializer",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-28T10:05:05.700Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-dtsola-xiaoyaoclaw-workspace-initializer/run-check

Sponsored

Ads related to OpenClaw Workspace Initializer and adjacent AI workflows.