๐Ÿ“Œ Introduction

OpenClaw is an AI assistant execution framework supporting skill extensions, automated tool calling, and multi-platform messaging integration. This guide walks you through setting up a complete trading assistant system from scratch.

โฑ๏ธ Estimated time: 30-60 minutes

๐Ÿ”ง Step 1: Install OpenClaw

npm install -g openclaw
openclaw onboard

โš™๏ธ Step 2: Configure Provider

Edit ~/.openclaw/openclaw.json to add your model provider:

{
  "models": {
    "providers": {
      "bailian": {
        "baseUrl": "https://coding.dashscope.aliyuncs.com/v1",
        "apiKey": "sk-your-api-key",
        "api": "openai-completions"
      }
    }
  }
}

๐Ÿ“ฆ Step 3: Install Skills

# Simmer trading skill
npx skills add joeseesun/anything-to-notebooklm -y

# Web content extraction
npx skills add joeseesun/defuddle-skill -y

# Design advisor
npx skills add joeseesun/qiaomu-design-advisor -y

# Knowledge site generator
npx skills add joeseesun/knowledge-site-creator -y

๐Ÿ”‘ Step 4: Configure API Keys

โš ๏ธ Security alert: Never commit API keys to Git! Use .env files or environment variables for secret management.

export SIMMER_API_KEY="sk_live_..."
export MEMOS_API_KEY="..."
export DASHSCOPE_API_KEY="sk-..."

๐ŸŒ Step 5: Configure Gateway

OpenClaw Gateway manages background tasks, cron jobs, and channel integrations:

# Start the gateway
openclaw gateway start

# Check status
openclaw gateway status

# View logs
openclaw gateway logs

๐Ÿ“ฑ Step 6: Connect Telegram (Optional)

For Telegram bot integration:

# Add Telegram channel config to openclaw.json
{
  "channels": {
    "telegram": {
      "botToken": "YOUR_BOT_TOKEN",
      "allowedUsers": ["your-telegram-id"]
    }
  }
}

โœ… Verification Checklist

  • โœ… OpenClaw installed globally via npm
  • โœ… Model provider configured with valid API key
  • โœ… Essential skills installed
  • โœ… API keys set as environment variables
  • โœ… Gateway running and healthy
  • โœ… Test message sent successfully

๐Ÿ”ง Troubleshooting

Gateway won't start

  • Check if port 3000 is already in use
  • Verify API keys are valid
  • Review logs: openclaw gateway logs

Skills not loading

  • Ensure skills are in ~/.openclaw/skills/
  • Check skill SKILL.md files for syntax errors
  • Restart gateway after adding new skills

๐Ÿ“š Related Resources