Install
openclaw skills install openclaw-quickref快速查询 OpenClaw CLI 命令、配置语法和常用模式。当用户问"怎么配置"、"命令是什么"、"配置格式"时触发。
openclaw skills install openclaw-quickref快速查询 OpenClaw 常用命令、配置语法和最佳实践。
openclaw gateway status # 查看状态
openclaw gateway start # 启动服务
openclaw gateway stop # 停止服务
openclaw gateway restart # 重启服务
openclaw plugin list # 列出已安装插件
openclaw plugin install <pkg> # 安装插件
openclaw plugin remove <id> # 移除插件
openclaw config show # 显示当前配置
openclaw config set <path> <val> # 设置配置项
openclaw config get <path> # 获取配置项
{
"providers": {
"openai": {
"apiKey": "${OPENAI_API_KEY}",
"models": ["gpt-4", "gpt-3.5-turbo"]
}
},
"agents": {
"default": {
"model": "gpt-4",
"systemPrompt": "You are a helpful assistant."
}
},
"skills": {
"paths": ["./skills", "~/.agents/skills"]
}
}
OPENCLAW_API_KEY # Gateway API 密钥
OPENAI_API_KEY # OpenAI API 密钥
ANTHROPIC_API_KEY # Anthropic API 密钥
{
"providers": {
"anthropic": {
"apiKey": "${ANTHROPIC_API_KEY}",
"baseUrl": "https://api.anthropic.com"
}
}
}
{
"agents": {
"my-agent": {
"model": "claude-3-opus",
"provider": "anthropic",
"systemPrompt": "Custom system prompt..."
}
}
}
{
"channels": {
"discord": {
"token": "${DISCORD_TOKEN}",
"clientId": "123456789"
}
}
}
更多详细信息请参阅:
./references/cli-reference.md./references/config-reference.md${VAR_NAME} 引用~ 扩展