OpenClaw Mastery — The Complete Agent Engineering & Operations System
You are an expert OpenClaw platform engineer. Follow this complete system to design, deploy, optimize, and scale autonomous AI agents on OpenClaw.
от modbender★ 21 звезда на GitHub
Установить OpenClaw Mastery — The Complete Agent Engineering & Operations System в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenClaw Mastery — The Complete Agent Engineering & Operations System
Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.
You are an expert OpenClaw platform engineer. Follow this complete system to design, deploy, optimize, and scale autonomous AI agents on OpenClaw.
Phase 1: Architecture Assessment
Before building, assess what you need:
Agent Complexity Matrix
| Complexity | Examples | Channels | Crons | Memory | Skills |
|---|---|---|---|---|---|
| Simple | Personal assistant, reminder bot | 1 | 0-2 | Basic MEMORY.md | 2-5 |
| Standard | Business ops, content creator | 1-2 | 3-5 | Daily + long-term | 5-10 |
| Advanced | Multi-agent swarm, trading system | 3+ | 5-10 | Full system + databases | 10-20 |
| Enterprise | Full business automation | 5+ | 10+ | Multi-DB + RAG | 20+ |
Readiness Checklist
readiness_check:
hardware:
- [ ] Machine with 4GB+ RAM (8GB recommended)
- [ ] Stable internet connection
- [ ] Node.js v20+ installed
- [ ] Git installed
accounts:
- [ ] Anthropic API key (primary model)
- [ ] At least one channel configured (Telegram recommended for starting)
- [ ] Optional: OpenAI key (for embeddings/fallback)
planning:
- [ ] Agent purpose defined (1 sentence)
- [ ] Target audience identified
- [ ] Success metrics defined
- [ ] Budget estimated (model costs)
Phase 2: Installation & Configuration
Quick Start (5 Minutes)
# Install OpenClaw
npm install -g openclaw
# Initialize workspace
openclaw init
# Configure (interactive)
openclaw setup
# Start the gateway
openclaw gateway start
# Verify
openclaw status
Configuration Architecture
OpenClaw config lives at ~/.openclaw/config.yaml. Key sections:
# Essential config structure
version: 1
gateway:
port: 3578 # Default port
heartbeat:
intervalMs: 1800000 # 30 min default
prompt: "..." # Heartbeat instruction
models:
default: anthropic/claude-sonnet-4-20250514 # Cost-effective default
# Override per-session or per-agent
channels:
telegram:
botToken: "..." # From @BotFather
# discord, slack, signal, whatsapp, imessage, webchat
agents: {} # Multi-agent configs
bindings: [] # Channel-to-agent routing
Model Selection Guide
| Model | Best For | Cost | Speed | Thinking |
|---|---|---|---|---|
| claude-sonnet-4-20250514 | Daily ops, chat, most tasks | $$ | Fast | Good |
| claude-opus-4-6 | Complex reasoning, strategy | $$$$ | Slower | Excellent |
| gpt-4o | Vision tasks, alternatives | $$$ | Fast | Good |
| claude-haiku | High-volume, simple tasks | $ | Fastest | Basic |
Cost optimization rule: Use Sonnet as default, Opus for strategy/complex tasks, Haiku for high-frequency simple operations.
Environment Variables
# Required
ANTHROPIC_API_KEY=sk-ant-...
# Optional but recommended
OPENAI_API_KEY=sk-... # Fallback model
BRAVE_API_KEY=... # Web search
Phase 3: Workspace Design — The Agent's Brain
Your workspace (~/.openclaw/workspace/) IS the agent's persistent memory and personality. Design it carefully.
Essential File Architecture
workspace/
├── SOUL.md # WHO the agent is (personality, values, voice)
├── AGENTS.md # HOW it operates (rules, workflows, protocols)
├── IDENTITY.md # Quick identity card (name, role, emoji)
├── USER.md # WHO it serves (user context, preferences)
├── MEMORY.md # Long-term curated memory
├── HEARTBEAT.md # Proactive check instructions
├── TOOLS.md # Local tool notes, API keys location
├── ACTIVE-CONTEXT.md # Current priorities, hot items
├── memory/ # Daily logs
│ ├── 2026-02-19.md
│ └── heartbeat-state.json
├── skills/ # Installed ClawHub skills
├── scripts/ # Custom automation scripts
├── reference/ # Knowledge base documents
├── projects/ # Project-specific work
└── docs/ # OpenClaw documentation
SOUL.md — The Personality Blueprint
This is the most important file. It defines WHO your agent is.
Template:
# SOUL.md — [Agent Name]
## Prime Directive
[One sentence: what is this agent's primary purpose?]
## Core Truths
- [Personality trait 1 — be specific, not generic]
- [Personality trait 2]
- [Communication style]
- [Decision-making philosophy]
## Anti-Patterns
Never do these:
- [Specific behavior to avoid]
- [Another anti-pattern]
## Relationship With Operator
- [How formal/casual]
- [When to ask vs act]
- [Escalation rules]
## Boundaries
- [What's o
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
FAQ
Что делает скилл OpenClaw Mastery — The Complete Agent Engineering & Operations System?
You are an expert OpenClaw platform engineer. Follow this complete system to design, deploy, optimize, and scale autonomous AI agents on OpenClaw.
Как установить скилл OpenClaw Mastery — The Complete Agent Engineering & Operations System?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл OpenClaw Mastery — The Complete Agent Engineering & Operations System запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…