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

openclaw-workspaceOpenClaw workspace 搜索

Agent Skill

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

总安装

2,399

周安装

102

GitHub Stars

266

下载量

840
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:openclaw-workspace(OpenClaw workspace 搜索)
来源仓库:https://github.com/win4r/openclaw-workspace
仓库路径:skills/openclaw-workspace
安装命令:
npx skills add https://github.com/win4r/openclaw-workspace --skill openclaw-workspace
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/win4r/openclaw-workspace --skill openclaw-workspace

简介

用于查找、检索和筛选相关信息。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装命令:npx skills add https://github.com/win4r/openclaw-workspace --skill openclaw-workspace
  • 安装前建议确认权限范围和是否会触发文件读写。

SKILL.md

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

FilePurposeLoaded WhenSub-agents?
AGENTS.mdBoot sequence, checklists, behavioral rulesEvery turn (all agents)Yes
SOUL.mdPersona, tone, values, continuity philosophyEvery turn (all agents)Yes
TOOLS.mdEnv-specific notes (SSH, TTS, cameras, devices)On-demand reference (part of bootstrap set)Yes
USER.mdHuman profile, preferences, relationship contextEvery turn (all agents)Yes
IDENTITY.mdName, emoji, avatar, self-descriptionEvery turnYes
HEARTBEAT.mdPeriodic check tasks and health routinesEvery heartbeat turnDepends
BOOT.mdStartup actions (requires hooks.internal.enabled)On gateway startupNo
BOOTSTRAP.mdFirst-time onboarding script — delete after useNew workspaces onlyNo
MEMORY.mdLong-term curated facts and iron-law rulesMain sessions onlyNo
memory/YYYY-MM-DD.mdDaily session logsLoaded per AGENTS.md boot sequenceNo
checklists/*.mdStep-by-step ops guidesReferenced in AGENTS.md, loaded on demandNo

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

PathPurpose
~/.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)

  1. Check what's already in MEMORY.md — avoid duplicates
  2. Draft additions — use iron-law format: concise, action-oriented, unambiguous
  3. Archive old daily logs — move files older than 30 days to memory/archive/ or delete
  4. 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

ReferenceCoverage
workspace-files.mdDeep-dive on each file: purpose, design principles, anti-patterns, section structure
optimization-guide.mdToken efficiency strategies, audit commands, distillation process

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.58%
按下载量换算316

Claude

28.13%
按下载量换算236

Cursor

19.25%
按下载量换算162

Gemini CLI

8.94%
按下载量换算75

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills