← 返回
AI智能 中文

Openclaw Workspace Pro

Sets up a production-ready OpenClaw workspace with artifact workflows, secure secrets, memory compaction, and long-running agent patterns via one command.
使用一条命令即可设置生产就绪的 OpenClaw 工作区,包含制品工作流、安全密钥、内存压缩以及长期运行的代理模式。
eugene9d
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 1,059
下载
💾 38
安装
1
版本
#latest

概述

OpenClaw Workspace Pro

Enterprise workspace setup for long-running OpenClaw agents.

What It Does

Transforms your OpenClaw workspace with production-ready patterns:

  • 🗂 Artifact Workflow - Standardized output structure for reports, code, data, and exports
  • 🔒 Secrets Management - Secure .env pattern, removes plaintext credentials
  • 🧠 Memory Compaction - Prevents context bloat with systematic archival workflow
  • 📦 Long-Running Patterns - Container reuse, checkpoint strategy, continuity protocols
  • 🛡 Security Baseline - Network allowlists, safe credential handling

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

  • AGENTS.md enhancements - Artifact workflow, long-run patterns, secrets management
  • MEMORY-COMPACTION.md - Weekly/monthly maintenance workflow
  • TOOLS.md additions - Network security allowlist

Templates

  • .env.example - Secrets template
  • .gitignore - Protect credentials

Usage

Artifacts Pattern

When producing deliverables:

# Reports
/data/.openclaw/workspace/artifacts/reports/YYYY-MM-DD-project-name.md

# Code
/data/.openclaw/workspace/artifacts/code/YYYY-MM-DD-script-name.py

# Data
/data/.openclaw/workspace/artifacts/data/YYYY-MM-DD-dataset.csv

Benefits:

  • Clear review boundaries
  • Easy retrieval
  • Version tracking
  • Prevents file sprawl

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:

  • ❌ Files scattered everywhere (no structure)
  • ❌ API keys in plaintext (security risk)
  • ❌ Memory grows indefinitely (context limits)
  • ❌ No artifact review boundaries
  • ❌ Manual maintenance (prone to drift)

The Solution

Workspace Pro implements OpenAI's recommended patterns:

  • ✅ Standardized artifact workflow
  • ✅ Secure secrets management
  • ✅ Systematic memory compaction
  • ✅ Long-running agent patterns
  • ✅ Clear operational workflows

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:

  • OpenAI's long-running agent recommendations
  • Glean's enterprise skill deployments
  • OpenClaw community best practices

Configuration

Environment Variables (.env)

After installation, populate .env:

# Example: YouTube API
YOUTUBE_API_KEY=your_key_here
YOUTUBE_OAUTH_CLIENT_ID=your_id_here

# Example: 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

  • OpenClaw 2026.2.9+
  • Workspace directory: /data/.openclaw/workspace
  • Shell access (for installation)

Upgrading

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.md

# Restore AGENTS.md, TOOLS.md from backup
cp AGENTS.md.backup AGENTS.md
cp TOOLS.md.backup TOOLS.md

Support

  • Issues: https://github.com/Eugene9D/openclaw-workspace-pro/issues
  • Discussions: https://discord.com/invite/clawd
  • ClawHub: https://clawhub.ai/skills/openclaw-workspace-pro

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+

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 05:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 417 📥 115,160
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,356 📥 318,069
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 213,006