openclaw-workspace

Audit OpenClaw workspace markdown files for token bloat and security gaps.

290|32|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/win4r/openclaw-workspace --skill openclaw-workspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-workspace
Source: https://github.com/win4r/openclaw-workspace/tree/main
Command: npx skills add https://github.com/win4r/openclaw-workspace --skill openclaw-workspace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

OpenClaw agents rely on a set of markdown workspace files to define their identity, behavior, memory, and operational rules, but unmanaged workspaces quickly suffer from bloat, redundant content, stale entries, and missing security gates — wasting tokens on every turn, creating contradictory behavior, and risking private memory leaks in group chats.

Core Features & Use Cases

  • Workspace Auditing: Scan all workspace files for character count bloat, redundant content across files, stale entries (old SSH hosts, deprecated rules), and missing security gates for private memory files.
  • New Workspace Setup: Guide you through creating a fully functional, secure OpenClaw workspace from scratch with the correct file order, boot sequence configuration, and minimal viable file set.
  • Memory Distillation: Process daily session logs into a lean, curated MEMORY.md file, promoting recurring lessons and iron-law rules while archiving old logs to free up token budget.
  • Use Case: If your agent is sharing private user context in group chats, this skill will help you identify the missing MEMORY.md gating in your AGENTS.md boot sequence and clean up redundant rules across your workspace files to reduce token waste.

Quick Start

Use the openclaw-workspace skill to audit my OpenClaw workspace files for token bloat, redundancy, and security gaps, then propose targeted edits to reduce my per-turn token usage.

Frequently Asked Questions about openclaw-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token waste in my OpenClaw agent workspace markdown files?

To reduce token waste in OpenClaw agent workspace files, you need to audit them for character count bloat and redundant content. This skill scans your workspace to eliminate redundancy and enforces a strict 20,000 character limit per file to optimize per-turn token usage.

Why does my agent share private user context in group chats?

Your agent shares private user context in group chats because of missing security gating for private memory files. This skill identifies missing MEMORY.md gating in your AGENTS.md boot sequence and implements mandatory security gates to prevent private memory leakage risks.

What is the best way to set up a new OpenClaw agent workspace from scratch?

The best way to set up a new OpenClaw agent workspace is to establish a minimal viable file set with the correct file order and boot sequence configuration. This skill guides you through creating a fully functional, secure workspace from scratch while adhering to bootstrap file token budgets.

How do I distill daily session logs into curated long-term memory?

To distill daily session logs into curated long-term memory, you process recurring lessons and iron-law rules into a lean MEMORY.md file. This skill promotes valuable entries while archiving old logs to free up your token budget and maintain a clean memory structure.

What are the token budget limits for an OpenClaw workspace?

The token budget limits for an OpenClaw workspace are 20,000 characters per individual file and 150,000 characters across all bootstrap files. This skill enforces these standardized limits to prevent workspace bloat and ensure efficient agent operation.

How do I audit existing agent workspaces for stale entries and deprecated rules?

To audit existing agent workspaces for stale entries and deprecated rules, you scan all workspace files for old SSH hosts and outdated rules. This skill detects staleness and proposes targeted edits to clean up contradictory behavior and reduce token waste.