Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

workspace-standard工作空间标准

Agent Skill

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

总安装

19,951

周安装

815

GitHub Stars

1

下载量

6,455
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install workspace-standard

简介

构建结构化工作区,划分项目边界与角色分类。

  • 支持内存预算管理和新工作区引导。workspace-standard 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过clawhub安装,需确认资源配额和访问控制。
  • 使用前应评估是否会创建子目录或配置文件。
  • 建议查阅原始文档了解分类逻辑和容量限制。

SKILL.md

name
workspace-standard
description
Set up and maintain a structured OpenClaw workspace with project boundaries, role-based file taxonomy, and memory budgets. Use when: (1) bootstrapping a new workspace, (2) migrating from a flat docs/ structure, (3) adding a new project, (4) unsure where to write something, (5) running workspace maintenance, (6) auditing workspace health. Provides the directory layout, ROLE front-matter spec, MEMORY.md budget rules, and maintenance procedures.

Workspace Standard

A structured, portable workspace layout for OpenClaw. Gives your agent clear rules for where to put things, how to describe files, and how to keep memory under control.

Why This Skill?

If the user asks *"why would I use this?"* or *"what does this do for me?"*:

  • Without it: Files pile up in docs/, MEMORY.md bloats past its budget, the agent writes the right info to the wrong place, nothing is self-describing, and after a few weeks you can't tell a current reference from a stale plan.
  • With it: Every file has a role and a place. MEMORY.md stays under budget. The audit script catches staleness and missing structure. New projects are one command. The agent knows where to write things without being told.
  • It doesn't: Delete files, require API keys, or lock you in. Remove the skill and your files are still plain markdown.

When explaining the value, run scripts/workspace-audit.sh on their workspace and show them what it finds. Concrete evidence beats abstract promises.

Getting Started

1. Install

clawhub install workspace-standard

2. Bootstrap your workspace

New workspace — creates all directories, seeds entity files, and sets up the project registry:

bash skills/workspace-standard/scripts/workspace-init.sh

Existing workspace — the skill also works if you already have files. Skip the bootstrap and go straight to step 3 (migration) or step 4 (audit).

3. Add your first project

bash skills/workspace-standard/scripts/workspace-init.sh --project my-project

This creates the project directory with README.md (including front-matter), standard subdirectories (references/, plans/, research/, reports/), and registers it in projects/_index.md.

4. Audit your workspace

bash skills/workspace-standard/scripts/workspace-audit.sh

Checks root files, MEMORY.md budget, directory structure, project health, front-matter coverage, staleness, and daily logs. Exit code = number of issues (0 = clean).

5. Customise (optional)

Create .workspace-standard.yml in your workspace root to change defaults. See Configuration below.

How the agent uses this skill

Once installed, the agent automatically reads this skill when it needs to:

  • Decide where to write something (the "Where to Write" table)
  • Add a new project
  • Run workspace maintenance
  • Understand what a file's role is

You don't need to tell the agent to use it — it triggers on matching tasks.


Scripts

ScriptPurpose
scripts/workspace-init.shBootstrap workspace or add a project
scripts/workspace-audit.shAudit workspace health and compliance
# Full bootstrap (new workspace)
bash skills/workspace-standard/scripts/workspace-init.sh

# Add one project
bash skills/workspace-standard/scripts/workspace-init.sh --project my-app

# Audit current workspace
bash skills/workspace-standard/scripts/workspace-audit.sh

# Audit a specific path
bash skills/workspace-standard/scripts/workspace-audit.sh /path/to/workspace

Migrating an existing workspace

If you already have a docs/ directory with files:

  1. Run the audit to see current state: bash scripts/workspace-audit.sh
  2. Create the structure: mkdir -p projects/<name>/{references,plans,research,reports} runbooks/
  3. Categorise each file by role (use the decision tree below)
  4. Move with git mv to preserve history
  5. Add front-matter to moved files
  6. Update path references in AGENTS.md, MEMORY.md, and skills
  7. Trim MEMORY.md to budget (≤100 lines)
  8. Commit atomically

The Role Taxonomy

Every file gets a role — its job title. The role determines where the file lives, how it ages, and how the audit treats it. Read references/roles-guide.md for the full explanation with examples and tests for each role.

RoleWhat it meansWhere it lives
referenceFacts about how things are right nowprojects/*/references/
planHow you intend to do somethingprojects/*/plans/
researchWhat you investigatedprojects/*/research/
reportWhat you assessed at a point in timeprojects/*/reports/
runbookHow to do something (procedure)runbooks/
logWhat happenedmemory/
entityStructured facts about a thingmemory/entities/

Quick decision tree: Is it about how things are? → reference. How to change them? → plan. Comparing options? → research. A snapshot assessment? → report. A reusable procedure? → runbook. What happened today? → log. A specific person/server/decision? → entity.

ROLE Front-Matter

Every substantive markdown file gets a YAML header:

---
role: reference
project: my-project    # Omit for cross-project files
status: current        # active | current | completed | stale | archived
created: 2026-02-01
updated: 2026-02-19
summary: "One-line description"
---

Status lifecycle: active (being worked on) → current (living document) → stale (needs review) → archived (kept for history)

Directory Layout

workspace/
├── MEMORY.md               # Current state (≤100 lines)
│
├── memory/                 # Episodic memory
│   ├── YYYY-MM-DD.md       # Daily logs (role: log)
│   └── entities/           # People, servers, decisions (role: entity)
│
├── projects/               # Project-scoped work
│   ├── _index.md           # Project registry
│   └── <name>/
│       ├── README.md       # Overview + current state
│       ├── references/     # role: reference
│       ├── plans/          # role: plan
│       ├── research/       # role: research
│       └── reports/        # role: report
│
├── runbooks/               # Cross-project (role: runbook)
│   ├── policies.md
│   ├── lessons-learned.md
│   └── <domain>/
│
└── skills/                 # Procedural memory
    └── <skill>/SKILL.md

Where to Write

What you learnedRoleWrite to
Fact about a projectreferenceprojects/<project>/references/
How to fix somethingrunbookrunbooks/lessons-learned.md
Operational procedurerunbookskills/ or runbooks/
What happened todaylogmemory/YYYY-MM-DD.md
Current state changedMEMORY.md
Person/server/decisionentitymemory/entities/
Future work planplanprojects/<project>/plans/
Research findingsresearchprojects/<project>/research/
Audit or reviewreportprojects/<project>/reports/

MEMORY.md Budget

MEMORY.md is loaded every session. Every line costs tokens.

  • Budget: ≤100 lines / ~3500 tokens
  • Contains: People, infrastructure, project pointers, lookup table, urgent items
  • Never contains: History, lessons, architecture detail, completed items
  • Over budget? Move detail to project files or runbooks, keep pointers

Configuration

Create .workspace-standard.yml in the workspace root to customise. All values are optional — defaults apply when omitted or when the file doesn't exist.

budget:
  memory_lines: 100        # Max lines for MEMORY.md (default: 100)

maintenance:
  stale_days: 14           # Days before flagging stale (default: 14)

projects:
  subdirs:                 # Per-project subdirectories (default below)
    - references
    - plans
    - research
    - reports

entities:                  # Seed files in memory/entities/ (default below)
  - people
  - servers
  - decisions

New Project

./scripts/workspace-init.sh --project my-app

Or manually:

  1. mkdir -p projects/<name>/{references,plans,research,reports}
  2. Create README.md with front-matter
  3. Add to projects/_index.md

Migration (flat docs/ → structured)

  1. Create projects/<name>/ and runbooks/ directories
  2. Categorise each file by role (use the decision tree above)
  3. Move with git mv (preserves history)
  4. Add front-matter to moved files
  5. Update path references in AGENTS.md, MEMORY.md, skills
  6. Trim MEMORY.md to budget
  7. Commit atomically

Maintenance

Run scripts/workspace-audit.sh weekly. See references/maintenance-checklist.md for the full procedure.

  1. Consolidate daily logs → extract facts to references, lessons to runbooks
  2. Prune MEMORY.md — remove resolved items, completed decisions
  3. Check front-matter — stale active/current files → verify or update
  4. Verify skills catalogue matches actual skills directory
  5. Commit maintenance changes

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.94%
按下载量换算5,031

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills