OpenClaw Agent Onboarding Playbook

The Complete Newbie Guide β€” Everything you need to go from zero to running your own AI agent infrastructure

🎯 What Is OpenClaw?

OpenClaw is a self-hosted AI agent framework that runs on your machine. Unlike cloud-based AI services, you own your data, your models, and your agent's behavior. Think of it as having a personal AI assistant living on your computerβ€”not rented from a corporation.

πŸ’‘ Key distinction: OpenClaw isn't just a chatbot. It's a framework for building agentic systemsβ€”autonomous agents that can run on schedules, spawn sub-agents, manage tools/skills, and interact across multiple channels (Telegram, Discord, WhatsApp, Signal, etc.).

πŸš€ Getting Started: First 30 Minutes

1

Installation

# Install OpenClaw globally
npm install -g openclaw

# Verify installation
openclaw --version

# Check status
openclaw status
2

Initialize Your Workspace

# Create your agent workspace
mkdir -p ~/.openclaw/workspace
cd ~/.openclaw/workspace

# The agent reads these files on startup:
# - SOUL.md      β†’ Why you exist
# - IDENTITY.md  β†’ How you behave  
# - USER.md      β†’ Who you're helping
# - MEMORY.md    β†’ Long-term memory (private)
3

Configure Your Gateway

# Start the gateway (runs as daemon)
openclaw gateway start

# Check if it's running
openclaw gateway status

# View logs
openclaw logs
4

Connect a Channel (Telegram)

  1. Create a bot via BotFather on Telegram
  2. Get your BOT_TOKEN
  3. Set username (e.g., @YourAgentBot)
# Configure OpenClaw
openclaw config.telegram.token set "YOUR_BOT_TOKEN"
openclaw config.telegram.enabled set true

# Restart gateway
openclaw gateway restart

# Start chatting with your bot!

πŸ“š Core Concepts

Sessions

TypePurposeWhen to Use
MainDirect chat with youReal-time conversations, quick tasks
Sub-agentIsolated task executionLong-running jobs, parallel work
ACPCode-focused tasksSoftware development, coding
Key rule: Main sessions share history. Sub-agents are isolatedβ€”perfect for "do this research while I do something else."

Memory System

MEMORY.md β†’ Curated long-term memory (only load in private/direct chats)

memory/YYYY-MM-DD.md β†’ Daily logs (create these automatically)

AGENTS.md β†’ Your operating rules

TOOLS.md β†’ Your tool configurations

⚠️ Critical: Memory files are your agent's continuity. Without them, each session starts blank.

Skills vs Tools

πŸ”§ Tools

Built-in capabilities:

  • Web search
  • File read/write
  • Execute commands
  • Browser control

🧩 Skills

Modular packages from clawhub.com:

  • Weather data
  • GitHub integration
  • X/Twitter API
  • Whisper transcription

Cron Jobs

Scheduled tasks for morning briefs, monitoring, backups, market checks:

# Example: Daily at 9 AM
openclaw cron add --name "morning-brief" \
  --schedule "0 9 * * *" \
  --task "Generate morning summary"

πŸ”§ Essential Commands Cheat Sheet

# ─── SESSIONS ───
openclaw sessions list              # See active sessions
openclaw sessions history <key>     # View session chat history
openclaw sessions send <key> "msg"  # Send message to session

# ─── SUB-AGENTS ───
openclaw subagents list             # List running sub-agents
openclaw subagents kill <id>          # Terminate a sub-agent

# ─── CRON ───
openclaw cron list                    # View scheduled jobs
openclaw cron add <json>              # Add new job
openclaw cron remove <id>             # Delete job
openclaw cron run <id>                # Trigger job now

# ─── SKILLS ───
openclaw skills list                  # See installed skills
openclaw skills search <query>        # Find on clawhub
openclaw skills install <name>        # Install a skill
openclaw skills update <name>         # Update to latest

# ─── GATEWAY ───
openclaw gateway status               # Check if running
openclaw gateway restart              # Restart with new config
openclaw gateway stop                 # Stop daemon

# ─── CONFIG ───
openclaw config get <path>            # Get config value
openclaw config set <path> <value>    # Set config value
openclaw config.schema.lookup <path>  # See valid options

πŸŽ“ Skill Development

Installing Your First Skill

# Search for skills
openclaw skills search weather

# Install one
openclaw skills install weather

# Read the skill documentation
cat ~/.openclaw/skills/weather/SKILL.md

Creating a Custom Skill

Skills live in ~/.openclaw/skills/<skill-name>/:

my-skill/
β”œβ”€β”€ SKILL.md          # Documentation + usage
β”œβ”€β”€ config.json       # Default config
└── scripts/          # Executable scripts
    └── my-script.py

🧠 Best Practices

1️⃣ File Management

  • Always use absolute paths in scripts
  • Use trash not rm for deletions
  • Commit changes to Git regularly

2️⃣ Session Hygiene

  • Spawn sub-agents for long tasks
  • Set timeouts on exec commands
  • Check sub-agent status before spawning new ones

3️⃣ Memory Discipline

  • Update daily memory files
  • Curate MEMORY.md weekly
  • Never share MEMORY.md in group chats

4️⃣ Security

  • Store secrets in env vars
  • Never hardcode API keys in skills
  • Review sub-agent output before acting

5️⃣ Cost Management

  • Use cheaper models for background tasks
  • Reserve premium models for direct chat
  • Monitor with venice-router --budget-status

πŸ› οΈ Common First Projects

β˜€οΈ Morning Brief Bot

Daily 7 AM message with weather, calendar, and priorities

weather summarize 0 7 * * *

πŸ™ GitHub Monitor

Watch repos for new issues/PRs and notify

github */30 * * * *

πŸ” Research Assistant

Spawn sub-agent to research topic, summarize, report back

web_search summarize On-demand

πŸ“ˆ Trading Dashboard

Market analysis, price alerts, playbook generation

Custom scripts */6 * * * *

🚨 Common Pitfalls

MistakeWhy It HurtsSolution
Running everything in main sessionBlocks you, no parallelismUse sessions_spawn for long tasks
No memory filesAgent forgets everythingCreate daily files, update MEMORY.md
Exposing secrets in skillsSecurity riskUse env vars, keep configs separate
Ignoring skill docsMisuse, errorsAlways read SKILL.md first
Too many cron jobsCredit burn, noiseBatch tasks, use heartbeats instead
Wrong model for jobWaste moneyMatch model tier to task complexity

πŸ“– Resources

πŸ“š Documentation

docs.openclaw.ai

πŸ’¬ Community

discord.com/invite/clawd

🧩 Skills

clawhub.com

πŸ”§ Source

github.com/openclaw

βœ… Onboarding Checklist

Complete this before "going live":

Bottom line: Start simple. Get a working Telegram bot that can answer questions. Add skills one by one. Build up your automation gradually. The power comes from composing tools, not from any single feature.