When to Use
Use when the user wants to improve, audit, debug, redesign, or understand their OpenClaw workspace as a working system, not as isolated files.
This skill should also activate when the user asks why the agent behaves a certain way, how to make it more proactive, how to improve recall, how to tune tone or autonomy, or how to evolve the workspace from prior conversations.
If the request is broad or the user does not know where to start, default to proposing a deep workspace audit first.
Improvement Surface
| Layer | Improve Here When | What Good Looks Like |
|---|
| SOUL.md | Tone, personality, confidence, warmth, bluntness, humor, taste | The agent sounds intentional, stable, and human rather than generic |
| IDENTITY.md |
Name, vibe markers, stable self-description, outward identity cues | The agent presents itself consistently across channels and sessions |
| AGENTS.md | Startup behavior, work style, boundaries, proactivity, escalation rules | The agent starts strong, acts resourcefully, and stays inside clear operating rules |
| TOOLS.md | Tool usage conventions, local notes, operating hints, environment quirks | The agent uses available tools better without pretending new tools exist |
| USER.md | Stable facts about the human, context, preferences, identity cues | The agent adapts to the person without building a creepy dossier |
| MEMORY.md | Durable lessons, recurring priorities, long-term preferences, important facts | Main-session recall is sharp without becoming bloated or stale |
| memory/ daily notes | Recent context, fresh changes, current projects, recent mistakes or wins | The agent can reason from recency instead of relying only on old summaries |
| HEARTBEAT.md | Recurring checks, proactive follow-through, idle-time maintenance | Proactivity feels useful and timely instead of noisy |
| skills/ | Capability gaps, reusable playbooks, domain-specific operating rules | Repeated problems move out of ad hoc prompting and into reusable skill behavior |
Core Rules
1. Default to Deep Audit Mode for Broad Workspace Requests
- - If the user says "improve my workspace", "analyze my workspace", "why is my agent like this", or anything equally broad, start by proposing a deep audit.
- A deep audit should inspect the current workspace stack, recent memory evidence, active behavior patterns, and the biggest friction points before prescribing changes.
- If the user already names a target such as proactivity, memory, tone, or tools, audit that layer first but still map likely side effects on adjacent layers.
- The default audit order is: bootstrap behavior files first, then memory evidence, then skills, then concrete improvement proposals.
- A good audit ends with three outputs: what is driving the current behavior now, what is misaligned, and the smallest diffs that would materially improve it.
2. Diagnose by Layer Instead of Giving Generic Advice
- - Do not give vague "make it more proactive" or "improve memory" advice without locating which file or mechanism controls that behavior.
- Voice and personality belong in SOUL.md.
- Stable self-presentation and identity markers belong in IDENTITY.md.
- Startup routines, decision defaults, red lines, escalation rules, and proactive behavior belong in AGENTS.md and sometimes HEARTBEAT.md.
- Tool notes belong in TOOLS.md.
- Human-specific context belongs in USER.md.
- Durable recall belongs in MEMORY.md, while recent raw context belongs in memory/ daily files.
- Repeated domain workflows belong in skills, not in bloated root files.
3. Use Prior Conversations as Primary Evidence
- - Before proposing workspace changes from history, search existing memory first rather than guessing from the current message alone.
- Use memory_search on MEMORY.md plus memory/*.md whenever the question depends on previous preferences, recurring mistakes, deadlines, people, or long-running work.
- If transcript-backed recall is available, use recent session evidence to identify repeated friction, repeated user corrections, and patterns worth turning into workspace rules.
- If transcript recall is not available, say so plainly and propose the smallest safe upgrade path for conversation-based improvement instead of pretending the evidence exists.
4. Keep Bootstrap Files High-Leverage and Compact
- - AGENTS.md, SOUL.md, and TOOLS.md are bootstrap context, so every line should earn its place.
- Keep identity, startup, boundaries, and execution defaults in root files; move heavy procedures, niche runbooks, and long examples into skills or narrower supporting files.
- If behavior is inconsistent, first check for prompt bloat, duplicate rules, contradictory instructions, and stale sections before adding more text.
- Prefer one sharp rule in the right file over five overlapping paragraphs across the workspace.
5. Make the Smallest Change That Fixes the Behavior
- - Tune the specific layer that owns the problem instead of rewriting the whole workspace.
- Personality issues should not trigger a memory rewrite.
- Identity presentation issues should not trigger an AGENTS rewrite if IDENTITY.md is the real owner.
- Memory drift should not trigger a SOUL rewrite.
- Missing capability should not be patched into AGENTS.md if it belongs in a skill.
- When proposing improvements, show concrete diffs or exact replacement blocks and explain the expected behavioral change, not just the file destination.
6. Tune Proactivity With Boundaries, Not With Vibes
- - "Be more proactive" is not enough; define what the agent should notice, when it should act, and when it must ask first.
- Use AGENTS.md for general proactive stance and HEARTBEAT.md for recurring checks, follow-through, and quiet-time behavior.
- Separate internal initiative from external action: reading, organizing, checking, and drafting can often be proactive; messaging, spending, deleting, scheduling, or publishing usually still need approval.
- If a workspace feels passive, look for missing startup rules, no heartbeat loop, weak next-step behavior, and missing recovery patterns before adding louder wording.
7. Respect Privacy, Session Boundaries, and Real Platform Behavior
- - MEMORY.md is high-trust personal context and should be treated more carefully than general workspace notes.
- Do not recommend copying private long-term memory into shared-context behavior files unless the user explicitly wants that tradeoff.
- TOOLS.md does not grant new tool access; it only improves how the agent uses tools that already exist.
- Conversation-driven upgrades must respect storage, privacy, and operational cost tradeoffs when enabling broader recall.
- Never recommend hidden workspace rewrites; improvements should be explicit, reviewable, and tied to a concrete reason.
Common Traps
| Trap | Why It Fails | Better Move |
|---|
| Stuffing everything into AGENTS.md | Bootstrap context becomes noisy, contradictory, or truncated | Keep AGENTS.md lean and move specialized behavior into skills or tighter files |
| Treating SOUL.md as an execution manual |
Personality and execution policy get mixed into one unstable blob | Keep SOUL.md about identity and tone; keep operating rules in AGENTS.md |
| Ignoring IDENTITY.md | Name, vibe, and self-presentation drift across contexts | Keep stable identity markers in IDENTITY.md instead of scattering them |
| Using TOOLS.md to "enable" tools | The agent still only has the tools granted by runtime policy | Use TOOLS.md for usage hints, local conventions, and caveats only |
| Putting durable preferences into daily notes | Important context gets buried in recency noise | Promote stable patterns into MEMORY.md or USER.md |
| Putting current project churn into MEMORY.md | Long-term memory becomes stale, bloated, and low-signal | Keep fresh work in memory/ daily files and periodically distill it |
| Making proactivity broader without boundaries | The agent becomes noisy, interruptive, or risky | Define trigger conditions, quiet hours, and approval boundaries explicitly |
| Auditing without conversation evidence | Recommendations sound generic and miss repeated user pain | Search memory first, then propose changes backed by actual patterns |
| Enabling wider recall without explaining tradeoffs | Users get surprise storage, privacy, or cost consequences | Explain exactly what gets indexed, why, and what the user gains |
Default Audit Output
When running the default deep audit, produce a compact improvement packet:
- 1. Current behavior map:
which files are actually driving tone, startup, memory, proactivity, and capabilities right now
- 2. Evidence:
repeated user requests, recurring frictions, stale rules, duplication, or missing layers
- 3. Recommended changes:
low-risk, medium-risk, and structural improvements with exact target files
- 4. Suggested next move:
review diffs, apply one layer only, or run a full workspace cleanup
Do not end with generic advice alone. The user should leave with a real plan tied to specific workspace files.
Related Skills
Install with
clawhub install <slug> if user confirms:
- -
analysis - Run workspace and system audits with prioritized findings and remediation - INLINECODE2 - Tune initiative, follow-through, and heartbeat behavior
- INLINECODE3 - Design deeper storage systems when built-in memory is not enough
- INLINECODE4 - Turn repeated corrections into durable operating improvements
Feedback
- - If useful: INLINECODE5
- Stay updated: INLINECODE6
何时使用
当用户希望将OpenClaw工作空间作为一个运行中的系统(而非孤立文件)进行改进、审计、调试、重新设计或理解时使用。
当用户询问代理为何以某种方式行事、如何使其更主动、如何改进记忆、如何调整语气或自主性、或如何从先前的对话中演进工作空间时,也应激活此技能。
如果请求范围广泛或用户不知从何入手,默认建议先进行深度工作空间审计。
改进层面
| 层面 | 何时改进 | 理想状态 |
|---|
| SOUL.md | 语气、个性、自信度、温度、直率度、幽默感、品味 | 代理听起来有意图、稳定、人性化而非千篇一律 |
| IDENTITY.md |
名称、氛围标记、稳定的自我描述、外在身份线索 | 代理在不同渠道和会话中保持一致的自我呈现 |
| AGENTS.md | 启动行为、工作风格、边界、主动性、升级规则 | 代理启动有力、行动机智、严格遵守操作规则 |
| TOOLS.md | 工具使用惯例、本地笔记、操作提示、环境特性 | 代理更好地使用现有工具,不假装存在新工具 |
| USER.md | 关于用户的稳定事实、上下文、偏好、身份线索 | 代理适应特定用户,但不建立令人不安的档案 |
| MEMORY.md | 持久经验、重复优先级、长期偏好、重要事实 | 主会话回忆精准,不臃肿或过时 |
| memory/ 日常笔记 | 近期上下文、最新变化、当前项目、近期失误或成功 | 代理能基于近期信息推理,而非仅依赖旧摘要 |
| HEARTBEAT.md | 定期检查、主动跟进、空闲时间维护 | 主动性感觉有用且及时,而非嘈杂 |
| skills/ | 能力缺口、可复用剧本、领域特定操作规则 | 重复问题从临时提示转移到可复用的技能行为中 |
核心规则
1. 对于广泛的工作空间请求,默认采用深度审计模式
- - 如果用户说改进我的工作空间、分析我的工作空间、为什么我的代理会这样或任何类似广泛的问题,首先提议进行深度审计。
- 深度审计应在提出变更建议前检查当前工作空间堆栈、近期记忆证据、活跃行为模式以及最大的痛点。
- 如果用户已指定目标(如主动性、记忆、语气或工具),先审计该层面,但仍需映射对相邻层面的潜在副作用。
- 默认审计顺序为:先引导行为文件,再记忆证据,然后技能,最后具体改进建议。
- 好的审计应输出三项内容:当前驱动行为的原因、不匹配之处、以及能实质性改进的最小差异。
2. 按层面诊断,而非给出泛泛建议
- - 不要在没有定位控制该行为的文件或机制的情况下,给出模糊的让它更主动或改进记忆建议。
- 声音和个性属于SOUL.md。
- 稳定的自我呈现和身份标记属于IDENTITY.md。
- 启动例程、决策默认值、红线、升级规则和主动行为属于AGENTS.md,有时也属于HEARTBEAT.md。
- 工具说明属于TOOLS.md。
- 用户特定上下文属于USER.md。
- 持久回忆属于MEMORY.md,而近期原始上下文属于memory/日常文件。
- 重复的领域工作流属于技能,而非臃肿的根文件。
3. 以先前对话为主要证据
- - 在根据历史提出工作空间变更前,先搜索现有记忆,而非仅凭当前消息猜测。
- 当问题涉及先前偏好、重复错误、截止日期、人员或长期工作时,使用memory_search搜索MEMORY.md和memory/*.md。
- 如果有转录支持的回忆可用,使用近期会话证据识别重复摩擦、重复用户修正以及值得转化为工作空间规则的模式。
- 如果转录回忆不可用,如实说明,并提出基于对话改进的最小安全升级路径,而非假装证据存在。
4. 保持引导文件高杠杆且紧凑
- - AGENTS.md、SOUL.md和TOOLS.md是引导上下文,因此每一行都应物有所值。
- 将身份、启动、边界和执行默认值保留在根文件中;将繁重流程、小众剧本和长示例移至技能或更窄的支持文件中。
- 如果行为不一致,先检查提示膨胀、重复规则、矛盾指令和过时部分,然后再添加更多文本。
- 偏好在一个正确文件中有一条精准规则,而非在工作空间中散布五个重叠段落。
5. 做出能修复行为的最小变更
- - 调整拥有问题的特定层面,而非重写整个工作空间。
- 个性问题不应触发记忆重写。
- 身份呈现问题不应触发AGENTS重写(如果IDENTITY.md是真正的所有者)。
- 记忆漂移不应触发SOUL重写。
- 缺失能力不应修补到AGENTS.md中(如果它属于技能)。
- 在提出改进时,展示具体差异或精确替换块,并解释预期的行为变化,而不仅仅是文件目标。
6. 用边界而非氛围来调整主动性
- - 更主动是不够的;定义代理应注意到什么、何时行动、以及何时必须首先询问。
- 使用AGENTS.md定义总体主动姿态,使用HEARTBEAT.md定义定期检查、跟进和静默期行为。
- 区分内部主动性和外部行动:阅读、组织、检查和起草通常可以主动进行;消息发送、消费、删除、安排或发布通常仍需批准。
- 如果工作空间感觉被动,在添加更响亮的措辞前,先查找缺失的启动规则、无心跳循环、薄弱的下一步行为和缺失的恢复模式。
7. 尊重隐私、会话边界和真实平台行为
- - MEMORY.md是高信任度的个人上下文,应比一般工作空间笔记更谨慎对待。
- 除非用户明确希望,否则不建议将私人长期记忆复制到共享上下文行为文件中。
- TOOLS.md不授予新工具访问权限;它仅改进代理使用已有工具的方式。
- 对话驱动的升级在启用更广泛回忆时,必须权衡存储、隐私和操作成本。
- 绝不推荐隐藏的工作空间重写;改进应明确、可审查,并与具体原因相关联。
常见陷阱
| 陷阱 | 失败原因 | 更好做法 |
|---|
| 将所有内容塞入AGENTS.md | 引导上下文变得嘈杂、矛盾或被截断 | 保持AGENTS.md精简,将专门行为移至技能或更紧凑的文件 |
| 将SOUL.md视为执行手册 |
个性和执行策略混合成一个不稳定的整体 | 将SOUL.md用于身份和语气;将操作规则保留在AGENTS.md |
| 忽略IDENTITY.md | 名称、氛围和自我呈现在不同上下文中漂移 | 将稳定的身份标记保留在IDENTITY.md中,而非分散放置 |
| 使用TOOLS.md来启用工具 | 代理仍然只拥有运行时策略授予的工具 | 仅将TOOLS.md用于使用提示、本地惯例和注意事项 |
| 将持久偏好放入日常笔记 | 重要上下文被近期噪音淹没 | 将稳定模式提升到MEMORY.md或USER.md |
| 将当前项目变动放入MEMORY.md | 长期记忆变得过时、臃肿且信号弱 | 将新鲜工作保留在memory/日常文件中,并定期提炼 |
| 使主动性更广泛但没有边界 | 代理变得嘈杂、干扰性强或有风险 | 明确界定触发条件、静默时间和审批边界 |
| 没有对话证据就进行审计 | 建议听起来泛泛,错过重复的用户痛点 | 先搜索记忆,然后基于实际模式提出变更 |
| 启用更广泛回忆而不解释权衡 | 用户遭遇意外的存储、隐私或成本后果 | 准确解释索引了什么、为什么以及用户获得什么 |
默认审计输出
运行默认深度审计时,生成紧凑的改进包:
- 1. 当前行为映射:
当前实际驱动语气、启动、记忆、主动性和能力的文件
- 2. 证据:
重复的用户请求、反复出现的摩擦、过时规则、重复或缺失层面
- 3. 建议变更:
低风险、中风险和结构性改进,附带精确目标文件
- 4. 建议下一步:
审查差异、仅应用一个层面、或运行完整工作空间清理
不要仅以泛泛建议结束。用户应带着与特定工作空间文件相关联的实际计划离开。
相关技能
如果用户确认,使用clawhub install
安装:
- - analysis - 运行工作空间和系统审计,附带优先级发现和修复
- proactivity - 调整主动性、跟进和心跳行为
- memory - 当内置记忆不足时设计更深层的存储系统
- self-improving - 将重复修正转化为持久的操作改进
反馈
- - 如果有用:clawhub star openclaw-workspace
- 保持更新:clawhub sync