Openclaw Workspace Pro
by @eugene9d
Sets up a production-ready OpenClaw workspace with artifact workflows, secure secrets, memory compaction, and long-running agent patterns via one command.
clawhub install openclaw-workspace-proπ About This Skill
name: openclaw-workspace-pro description: Production-ready workspace setup for OpenClaw agents. Implements artifact workflows, secrets management, memory compaction, and long-running agent patterns based on OpenAI's Shell + Skills best practices. One-command installation transforms your workspace into a production-ready environment. version: 1.0.0 author: Eugene Devyatyh repository: https://github.com/Eugene9D/openclaw-workspace-pro metadata: openclaw: install: - id: setup kind: script script: ./install.sh label: Install Workspace Pro enhancements
OpenClaw Workspace Pro
Enterprise workspace setup for long-running OpenClaw agents.
What It Does
Transforms your OpenClaw workspace with production-ready patterns:
Based on OpenAI's Shell + Skills + Compaction best practices.
Installation
clawhub install openclaw-workspace-pro
Or manual:
cd /data/.openclaw/workspace
git clone https://github.com/Eugene9D/openclaw-workspace-pro.git
cd openclaw-workspace-pro
./install.sh
What Gets Installed
Directory Structure
workspace/
βββ artifacts/ # Standardized output location
β βββ reports/ # Analysis, summaries, documentation
β βββ code/ # Generated scripts, apps, configs
β βββ data/ # Cleaned datasets, processed files
β βββ exports/ # API responses, database dumps
βββ memory/
β βββ archive/ # Compressed memory summaries
βββ .env # Secrets (gitignored)
βββ .gitignore # Security
Documentation Added
Templates
.env.example - Secrets template.gitignore - Protect credentialsUsage
Artifacts Pattern
When producing deliverables:
# Reports
/data/.openclaw/workspace/artifacts/reports/YYYY-MM-DD-project-name.mdCode
/data/.openclaw/workspace/artifacts/code/YYYY-MM-DD-script-name.pyData
/data/.openclaw/workspace/artifacts/data/YYYY-MM-DD-dataset.csv
Benefits:
Secrets Management
Before Workspace Pro:
# TOOLS.md
API_KEY=sk-abc123xyz... β Plaintext, exposed in git
After Workspace Pro:
# .env (gitignored)
API_KEY=sk-abc123xyz...TOOLS.md
API Key: $API_KEY β
Reference only
Memory Compaction
Prevents context bloat in long-running agents:
Weekly (when needed): 1. Review daily logs from past 7-14 days 2. Extract key insights β update MEMORY.md 3. Remove outdated info
Monthly:
1. Archive daily logs >30 days to memory/archive/YYYY-MM-summary.md
2. Delete raw files after archival
See MEMORY-COMPACTION.md for full workflow.
Why Use This?
The Problem
Default OpenClaw workspaces:
The Solution
Workspace Pro implements OpenAI's recommended patterns:
Real Impact
Security: Eliminates credential exposure Organization: Clear deliverable handoff points Scalability: Handles months of continuous operation Maintenance: Defined schedules prevent drift
Based on production patterns from:
Configuration
Environment Variables (.env)
After installation, populate .env:
# Example: YouTube API
YOUTUBE_API_KEY=your_key_here
YOUTUBE_OAUTH_CLIENT_ID=your_id_hereExample: Task Management
VIKUNJA_API_TOKEN=your_token_here
Network Security
Edit TOOLS.md network allowlist:
### Approved Domains
*.googleapis.com (YouTube API)
api.brave.com (search)
tasks.playrockets.com (Vikunja)
Add new domains with security review.
Requirements
/data/.openclaw/workspaceUpgrading
cd /data/.openclaw/workspace/openclaw-workspace-pro
git pull
./install.sh
Uninstall
Workspace Pro is non-destructive. To remove:
# Remove added files (safe, preserves your data)
rm -rf artifacts/ memory/archive/
rm .env .gitignore MEMORY-COMPACTION.mdRestore AGENTS.md, TOOLS.md from backup
cp AGENTS.md.backup AGENTS.md
cp TOOLS.md.backup TOOLS.md
Support
License
MIT License - See LICENSE file
Credits
Based on patterns from:
Built by Eugene Devyatyh for the OpenClaw ecosystem.
Version: 1.0.0 Updated: 2026-02-13 Compatibility: OpenClaw 2026.2.9+
π‘ Examples
Artifacts Pattern
When producing deliverables:
# Reports
/data/.openclaw/workspace/artifacts/reports/YYYY-MM-DD-project-name.mdCode
/data/.openclaw/workspace/artifacts/code/YYYY-MM-DD-script-name.pyData
/data/.openclaw/workspace/artifacts/data/YYYY-MM-DD-dataset.csv
Benefits:
Secrets Management
Before Workspace Pro:
# TOOLS.md
API_KEY=sk-abc123xyz... β Plaintext, exposed in git
After Workspace Pro:
# .env (gitignored)
API_KEY=sk-abc123xyz...TOOLS.md
API Key: $API_KEY β
Reference only
Memory Compaction
Prevents context bloat in long-running agents:
Weekly (when needed): 1. Review daily logs from past 7-14 days 2. Extract key insights β update MEMORY.md 3. Remove outdated info
Monthly:
1. Archive daily logs >30 days to memory/archive/YYYY-MM-summary.md
2. Delete raw files after archival
See MEMORY-COMPACTION.md for full workflow.
βοΈ Configuration
Environment Variables (.env)
After installation, populate .env:
# Example: YouTube API
YOUTUBE_API_KEY=your_key_here
YOUTUBE_OAUTH_CLIENT_ID=your_id_hereExample: Task Management
VIKUNJA_API_TOKEN=your_token_here
Network Security
Edit TOOLS.md network allowlist:
### Approved Domains
*.googleapis.com (YouTube API)
api.brave.com (search)
tasks.playrockets.com (Vikunja)
Add new domains with security review.