๐ 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