openclaw-workspace-png

OpenClaw工作空间:为AI Agent提供的专业技能包,面向多平台兼容的工作流与工具集合,旨在支持代理执行专业任务。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "openclaw-workspace-png":https://skillpi.com/zh/skills/deepskill-d8fc818620e33ab97aa4cd66577c8ad03432f1eb622330e634b5dcfd01bd0cb8。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/openclaw-workspace-png。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

OpenClaw工作空间:为AI Agent提供的专业技能包,面向多平台兼容的工作流与工具集合,旨在支持代理执行专业任务。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: OpenClaw工作空间
slug: openclaw-workspace-png
version: 1.0.0
displayName: OpenClaw工作空间
description: >
  OpenClaw工作空间 — 为 AI 编程助手设计的领域技能模块。支持 Claude Code、Codex、WorkBuddy、OpenClaw、QClaw、Hermes Agent 全平台。
summary: "OpenClaw工作空间 — AI Agent 专业技能包,多平台兼容"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

OpenClaw Workspace Skill

Overview

OpenClaw workspace files form the agent's "soul and memory" — they are injected into the system prompt on every turn (or on relevant turns), giving the agent its identity, behavioral rules, environmental knowledge, and long-term memory. Managing these files well is critical: bloat wastes tokens, redundancy creates confusion, and stale content leads to bad decisions.

Token budget: 20,000 chars per file, ~150,000 chars total across all bootstrap files.

File Inventory

File Purpose Loaded When Sub-agents?
AGENTS.md Boot sequence, checklists, behavioral rules Every turn (all agents) Yes
SOUL.md Persona, tone, values, continuity philosophy Every turn (all agents) Yes
TOOLS.md Env-specific notes (SSH, TTS, cameras, devices) On-demand reference (part of bootstrap set) Yes
USER.md Human profile, preferences, relationship context Every turn (all agents) Yes
IDENTITY.md Name, emoji, avatar, self-description Every turn Yes
HEARTBEAT.md Periodic check tasks and health routines Every heartbeat turn Depends
BOOT.md Startup actions (requires hooks.internal.enabled) On gateway startup No
BOOTSTRAP.md First-time onboarding script — delete after use New workspaces only No
MEMORY.md Long-term curated facts and iron-law rules Main sessions only No
memory/YYYY-MM-DD.md Daily session logs Loaded per AGENTS.md boot sequence No
checklists/*.md Step-by-step ops guides Referenced in AGENTS.md, loaded on demand No

Security rule: MEMORY.md must NEVER be loaded in group chats or sub-agent sessions — it contains private context that should not leak.

For full details on each file's design, anti-patterns, and section structure, see references/workspace-files.md.

Workspace Paths

Path Purpose
~/.openclaw/workspace/ Default workspace for main agent
~/.openclaw/workspace-<profile>/ Per-profile workspace (multiple agents)
~/.openclaw/workspace/vendor/OpenClaw-Memory/ Vendor-managed base files (synced from upstream)
~/.openclaw/workspace/checklists/ Checklist files referenced from AGENTS.md
~/.openclaw/workspace/memory/ Daily session logs
~/.openclaw/workspace/docs/ On-demand documentation (NOT auto-loaded)

Config key: agents.defaults.workspace or per-agent agents.list[].workspace.

Workflow: Audit Existing Workspace

Use when workspace files may be bloated, stale, or redundant.

  1. Read all active files — AGENTS.md, SOUL.md, TOOLS.md, USER.md, IDENTITY.md, HEARTBEAT.md, BOOT.md, MEMORY.md
  2. Check character counts:
    wc -c ~/.openclaw/workspace/AGENTS.md
    wc -c ~/.openclaw/workspace/SOUL.md
    wc -c ~/.openclaw/workspace/TOOLS.md
    wc -c ~/.openclaw/workspace/USER.md
    wc -c ~/.openclaw/workspace/IDENTITY.md
    wc -c ~/.openclaw/workspace/MEMORY.md
    # Or all at once:
    wc -c ~/.openclaw/workspace/*.md
  3. Flag files over 10,000 chars — prime candidates for trimming or offloading to docs/
  4. Check for redundancy — same fact in SOUL.md and AGENTS.md? Same tool note in TOOLS.md and MEMORY.md?
  5. Check for staleness — outdated SSH hosts, old tool names, deprecated rules, historical context that's no longer needed
  6. Check MEMORY.md discipline — should contain curated facts, lessons learned, decisions, and critical rules — not raw session summaries or task-specific notes
  7. Propose targeted edits — trim, move to docs/, or restructure

See references/optimization-guide.md for specific optimization strategies.

Workflow: Set Up New Workspace

Use when creating a workspace for a new agent from scratch.

File creation order (matters for boot sequence to work):

  1. SOUL.md — persona and values first; everything else follows from identity
  2. AGENTS.md — boot sequence, safety rules, checklist table
  3. IDENTITY.md — name, emoji, avatar
  4. USER.md — human profile and preferences (main agent only)
  5. TOOLS.md — environment-specific notes (add as you discover env details)
  6. MEMORY.md — start minimal; only truly universal iron laws
  7. HEARTBEAT.md — periodic health checks (optional, add when needed)
  8. BOOT.md — startup hooks (optional, only if hooks.internal.enabled = true)
  9. BOOTSTRAP.md — first-run onboarding (optional; delete after first successful startup)

Minimal viable workspace: AGENTS.md + SOUL.md + TOOLS.md. Everything else is optional.

BOOTSTRAP.md note: If creating a BOOTSTRAP.md, include a self-deletion instruction at the end:

## Final Step
Delete this file: exec `rm ~/.openclaw/workspace/BOOTSTRAP.md`

Workflow: Memory Distillation

Use periodically (weekly or monthly) to keep MEMORY.md lean.

  1. Read all recent daily logs: memory/YYYY-MM-DD.md files from the past period
  2. Identify candidates for promotion to MEMORY.md:
    • Rules violated more than once (recurring mistakes)
    • Hard-won discoveries that aren't in skills docs
    • Env-specific facts that should always be in context (not left to memory_search recall)
  3. Check what's already in MEMORY.md — avoid duplicates
  4. Draft additions — use iron-law format: concise, action-oriented, unambiguous
  5. Archive old daily logs — move files older than 30 days to memory/archive/ or delete
  6. Check MEMORY.md total size — keep under 10,000 chars; if larger, review for rules that are now stable enough to move to a skill's SKILL.md instead

Do NOT put in MEMORY.md:

  • Long narratives or session summaries
  • Things already covered in skill docs
  • Anything specific to a single past task
  • Episodic or task-specific memories (store those via memory_search/SQLite instead)

Workflow: Add or Update a Checklist

Use when adding a new high-risk operation type or updating an existing checklist.

  1. Create or edit checklists/<operation-name>.md

  2. Structure:

    # Checklist: <Operation Name>
    
    ## Pre-flight
    - [ ] Step 1
    - [ ] Step 2
    
    ## Execution
    - [ ] Step 3
    
    ## Verification
    - [ ] Confirm outcome
    - [ ] Log result in memory
  3. Register in AGENTS.md — add a row to the checklists table:

    | <Operation description> | `checklists/<filename>.md` |
  4. Keep checklists short — if a checklist exceeds ~50 lines, it's probably trying to be documentation; move narrative content to docs/ and keep only the actionable steps

Workflow: Update TOOLS.md

Use when adding a new tool, device, or environment capability.

TOOLS.md = environment-specific cheat sheet. It should contain:

  • SSH hosts and common commands for this specific machine
  • TTS provider, voice IDs, and any quirks
  • Camera IDs or device names for this setup
  • Node device IDs or names
  • Any local aliases or shortcuts that aren't obvious

Do NOT put in TOOLS.md:

  • General skill documentation (use skill SKILL.md files)
  • Things that are the same across all environments
  • Installation instructions (use docs/)

Format conventions:

# TOOLS.md - Local Notes

## SSH
- Main server: `ssh user@hostname`

## TTS
- Provider: Edge
- Voice: zh-CN-XiaoxiaoNeural

## Cameras
- Living room: node-id `abc123`, device `camera-0`

Common Issues

File exceeds token limit

Symptom: File is over 20,000 chars; OpenClaw may truncate it. Fix: Audit for content that belongs in docs/ (loaded on demand) instead of the bootstrap file. Move detailed references, historical context, and long examples out. Keep only what needs to be on every turn.

MEMORY.md leaking to groups

Symptom: Agent shares private context in group chats or Discord. Fix: Ensure MEMORY.md boot step in AGENTS.md is gated: "Main session only: Read MEMORY.md". Verify the agent's boot sequence explicitly checks session type before loading.

Boot sequence not loading files

Symptom: Agent doesn't know about content in SOUL.md, USER.md, or MEMORY.md at session start. Fix: Check that AGENTS.md boot sequence explicitly names each file to read. The agent won't auto-load files — it follows the boot sequence instructions in AGENTS.md. Verify hooks.internal.enabled = true in config if using BOOT.md.

MEMORY.md growing too large

Symptom: File approaches or exceeds 10,000 chars; reading it on every turn wastes significant context. Fix: Run memory distillation workflow. Move stable rules that have been incident-free for months into relevant skill SKILL.md files. Delete rules that are no longer relevant.

Workspace changes not taking effect

Symptom: Agent still uses old content after editing a workspace file. Fix: Workspace files are read at session start per the boot sequence. Restart the gateway or start a new session for changes to take effect.

Reference Files

Reference Coverage
workspace-files.md Deep-dive on each file: purpose, design principles, anti-patterns, section structure
optimization-guide.md Token efficiency strategies, audit commands, distillation process

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供完整的 AI Agent 工作空间文件管理解决方案
  • 涵盖审计、新建、记忆提炼等核心工作流
  • 针对 OpenClaw 平台用户具有明确实用价值
触发精准85/100

亮点

  • 触发描述完整准确,涵盖功能、用户群体和平台支持
  • 边界清晰,无明显歧义或重叠风险
结构规范92/100

亮点

  • 工作流步骤清晰完整,包含端到端示例
  • frontmatter 信息完整规范
  • 文档结构合理,便于理解和执行
执行可靠75/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    SKILL.md 中引用了 references/workspace-files.md 和 references/optimization-guide.md 两个参考文件,但未在传入内容中提供

    改进建议:请补充被引用的参考文件,或移除相关引用链接

证据可验 (前四项均值)83/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。