Install
openclaw skills install teamclawtestv101ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
A high-performance Agent subsystem designed for complex multi-agent orchestration (OASIS),automated computer use tasks, and real-time visual monitoring via a dedicated Web UI.
openclaw skills install teamclawtestv101<a name="english-version"></a>
Teamclaw is a multifunctional AI Agent service providing:
All scripts are located in selfskill/scripts/ and are called uniformly through the run.sh entry point. All are non-interactive.
selfskill/scripts/
├── run.sh # Main entry (start/stop/status/setup/add-user/configure)
├── adduser.py # Non-interactive user creation
└── configure.py # Non-interactive .env configuration management
All commands are executed from the project root directory.
# Install dependencies
bash selfskill/scripts/run.sh setup
# Initialize configuration file
bash selfskill/scripts/run.sh configure --init
# Configure LLM (required)
bash selfskill/scripts/run.sh configure --batch \
LLM_API_KEY=sk-your-key \
LLM_BASE_URL=https://api.deepseek.com \
LLM_MODEL=deepseek-chat
# Create user
bash selfskill/scripts/run.sh add-user system MySecurePass123
bash selfskill/scripts/run.sh start # Start background service
bash selfskill/scripts/run.sh status # Check status
bash selfskill/scripts/run.sh stop # Stop service
# View current configuration (sensitive values masked)
bash selfskill/scripts/run.sh configure --show
# Set single item
bash selfskill/scripts/run.sh configure PORT_AGENT 51200
# Batch set
bash selfskill/scripts/run.sh configure --batch TTS_MODEL=gemini-2.5-flash-preview-tts TTS_VOICE=charon
| Configuration Item | Description | Default Value |
|---|---|---|
LLM_API_KEY | LLM API key (required) | — |
LLM_BASE_URL | LLM API address | https://api.deepseek.com |
LLM_MODEL | Model name | deepseek-chat |
LLM_PROVIDER | Provider (google/anthropic/deepseek/openai, auto-inferred) | Auto |
LLM_VISION_SUPPORT | Image support (auto-inferred) | Auto |
PORT_AGENT | Main Agent service port | 51200 |
PORT_SCHEDULER | Scheduling port | 51201 |
PORT_OASIS | OASIS forum port | 51202 |
PORT_FRONTEND | Web UI port | 51209 |
PORT_BARK | Bark push port | 58010 |
TTS_MODEL | TTS model (optional) | — |
TTS_VOICE | TTS voice (optional) | — |
INTERNAL_TOKEN | Internal communication key (auto-generated) | Auto |
| Port | Service |
|---|---|
| 51200 | AI Agent main service |
| 51201 | Scheduled tasks |
| 51202 | OASIS forum |
| 51209 | Web UI |
Authorization: Bearer <user_id>:<password>
Authorization: Bearer <INTERNAL_TOKEN>:<user_id>
INTERNAL_TOKEN is auto-generated on the first startup and can be viewed via configure --show-raw.
Base URL: http://127.0.0.1:51200
POST /v1/chat/completions
Authorization: Bearer <token>
{"model":"mini-timebot","messages":[{"role":"user","content":"Hello"}],"stream":true,"session_id":"my-session"}
POST /system_trigger
X-Internal-Token: <INTERNAL_TOKEN>
{"user_id":"system","text":"Execute task","session_id":"task-001"}
POST /cancel
{"user_id":"<user_id>","session_id":"<session_id>"}
POST http://127.0.0.1:51202/topics
{"question":"Discussion topic","user_id":"system","max_rounds":3,"discussion":true,"schedule_yaml":"...","callback_url":"http://127.0.0.1:51200/system_trigger","callback_session_id":"my-session"}
Below is a sample configuration from an actual running instance (sensitive information masked):
bash selfskill/scripts/run.sh configure --init
bash selfskill/scripts/run.sh configure --batch \
LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx4c74 \
LLM_BASE_URL=https://deepseek.com \
LLM_MODEL=deepseek-chat \
LLM_VISION_SUPPORT=true \
TTS_MODEL=gemini-2.5-flash-preview-tts \
TTS_VOICE=charon \
PORT_AGENT=51200 \
PORT_SCHEDULER=51201 \
PORT_OASIS=51202 \
PORT_FRONTEND=51209 \
PORT_BARK=58010 \
OPENAI_STANDARD_MODE=false
bash selfskill/scripts/run.sh add-user system <your-password>
Output of configure --show after configuration:
PORT_SCHEDULER=51201
PORT_AGENT=51200
PORT_FRONTEND=51209
PORT_OASIS=51202
OASIS_BASE_URL=http://127.0.0.1:51202
PORT_BARK=58010
INTERNAL_TOKEN=f1aa****57e7 # Auto-generated, do not leak
LLM_API_KEY=sk-7****4c74
LLM_BASE_URL=https://deepseek.com
LLM_MODEL=deepseek-chat
LLM_VISION_SUPPORT=true
TTS_MODEL=gemini-2.5-flash-preview-tts
TTS_VOICE=charon
OPENAI_STANDARD_MODE=false
Note:
INTERNAL_TOKENis auto-generated on first startup,PUBLIC_DOMAIN/BARK_PUBLIC_URLare auto-written by tunnel, no manual configuration needed.
cd /home/avalon/Teamclaw
# Initial configuration
bash selfskill/scripts/run.sh setup
bash selfskill/scripts/run.sh configure --init
bash selfskill/scripts/run.sh configure --batch LLM_API_KEY=sk-xxx LLM_BASE_URL=https://api.deepseek.com LLM_MODEL=deepseek-chat
bash selfskill/scripts/run.sh add-user system MyPass123
# Start service
bash selfskill/scripts/run.sh start
# Access Web UI
# Open browser and navigate to: http://127.0.0.1:51209
# Log in with username: system and password: MyPass123
# Call API
curl -X POST http://127.0.0.1:51200/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer system:MyPass123" \
-d '{"model":"mini-timebot","messages":[{"role":"user","content":"Hello"}],"stream":false,"session_id":"default"}'
# Stop service
bash selfskill/scripts/run.sh stop
selfskill/scripts/ and do not affect the original project functionalitystart supports idempotent callsINTERNAL_TOKENlogs/launcher.loghttp://127.0.0.1:51209add-user command (default: username system, password MySecurePass123)<a name="中文版本"></a>
Teamclaw 是一个多功能 AI Agent 服务,提供:
所有脚本位于 selfskill/scripts/,统一通过 run.sh 入口调用,全部非交互式。
selfskill/scripts/
├── run.sh # 主入口(start/stop/status/setup/add-user/configure)
├── adduser.py # 非交互式用户创建
└── configure.py # 非交互式 .env 配置管理
所有命令在项目根目录下执行。
# 安装依赖
bash selfskill/scripts/run.sh setup
# 初始化配置文件
bash selfskill/scripts/run.sh configure --init
# 配置 LLM(必填)
bash selfskill/scripts/run.sh configure --batch \
LLM_API_KEY=sk-your-key \
LLM_BASE_URL=https://api.deepseek.com \
LLM_MODEL=deepseek-chat
# 创建用户
bash selfskill/scripts/run.sh add-user system MySecurePass123
bash selfskill/scripts/run.sh start # 后台启动
bash selfskill/scripts/run.sh status # 检查状态
bash selfskill/scripts/run.sh stop # 停止服务
# 查看当前配置(敏感值脱敏)
bash selfskill/scripts/run.sh configure --show
# 设置单项
bash selfskill/scripts/run.sh configure PORT_AGENT 51200
# 批量设置
bash selfskill/scripts/run.sh configure --batch TTS_MODEL=gemini-2.5-flash-preview-tts TTS_VOICE=charon
| 配置项 | 说明 | 默认值 |
|---|---|---|
LLM_API_KEY | LLM API 密钥(必填) | — |
LLM_BASE_URL | LLM API 地址 | https://api.deepseek.com |
LLM_MODEL | 模型名称 | deepseek-chat |
LLM_PROVIDER | 厂商(google/anthropic/deepseek/openai,可自动推断) | 自动 |
LLM_VISION_SUPPORT | 是否支持图片(可自动推断) | 自动 |
PORT_AGENT | Agent 主服务端口 | 51200 |
PORT_SCHEDULER | 定时调度端口 | 51201 |
PORT_OASIS | OASIS 论坛端口 | 51202 |
PORT_FRONTEND | Web UI 端口 | 51209 |
PORT_BARK | Bark 推送端口 | 58010 |
TTS_MODEL | TTS 模型(可选) | — |
TTS_VOICE | TTS 声音(可选) | — |
INTERNAL_TOKEN | 内部通信密钥(自动生成) | 自动 |
| 端口 | 服务 |
|---|---|
| 51200 | AI Agent 主服务 |
| 51201 | 定时调度 |
| 51202 | OASIS 论坛 |
| 51209 | Web UI |
Authorization: Bearer <user_id>:<password>
Authorization: Bearer <INTERNAL_TOKEN>:<user_id>
INTERNAL_TOKEN 首次启动自动生成,可通过 configure --show-raw 查看。
Base URL: http://127.0.0.1:51200
POST /v1/chat/completions
Authorization: Bearer <token>
{"model":"mini-timebot","messages":[{"role":"user","content":"你好"}],"stream":true,"session_id":"my-session"}
POST /system_trigger
X-Internal-Token: <INTERNAL_TOKEN>
{"user_id":"system","text":"请执行某任务","session_id":"task-001"}
POST /cancel
{"user_id":"<user_id>","session_id":"<session_id>"}
POST http://127.0.0.1:51202/topics
{"question":"讨论主题","user_id":"system","max_rounds":3,"discussion":true,"schedule_yaml":"...","callback_url":"http://127.0.0.1:51200/system_trigger","callback_session_id":"my-session"}
以下是一份实际运行的配置示例(敏感信息已脱敏):
bash selfskill/scripts/run.sh configure --init
bash selfskill/scripts/run.sh configure --batch \
LLM_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxx4c74 \
LLM_BASE_URL=https://deepseek.com \
LLM_MODEL=deepseek-chat \
LLM_VISION_SUPPORT=true \
TTS_MODEL=gemini-2.5-flash-preview-tts \
TTS_VOICE=charon \
PORT_AGENT=51200 \
PORT_SCHEDULER=51201 \
PORT_OASIS=51202 \
PORT_FRONTEND=51209 \
PORT_BARK=58010 \
OPENAI_STANDARD_MODE=false
bash selfskill/scripts/run.sh add-user system <your-password>
配置完成后 configure --show 输出:
PORT_SCHEDULER=51201
PORT_AGENT=51200
PORT_FRONTEND=51209
PORT_OASIS=51202
OASIS_BASE_URL=http://127.0.0.1:51202
PORT_BARK=58010
INTERNAL_TOKEN=f1aa****57e7 # 自动生成,勿泄露
LLM_API_KEY=sk-7****4c74
LLM_BASE_URL=https://deepseek.com
LLM_MODEL=deepseek-chat
LLM_VISION_SUPPORT=true
TTS_MODEL=gemini-2.5-flash-preview-tts
TTS_VOICE=charon
OPENAI_STANDARD_MODE=false
说明:
INTERNAL_TOKEN首次启动自动生成,PUBLIC_DOMAIN/BARK_PUBLIC_URL由 tunnel 自动写入,无需手动配置。
cd /home/avalon/Teamclaw
# 首次配置
bash selfskill/scripts/run.sh setup
bash selfskill/scripts/run.sh configure --init
bash selfskill/scripts/run.sh configure --batch LLM_API_KEY=sk-xxx LLM_BASE_URL=https://api.deepseek.com LLM_MODEL=deepseek-chat
bash selfskill/scripts/run.sh add-user system MyPass123
# 启动
bash selfskill/scripts/run.sh start
# 访问 Web UI
# 打开浏览器导航到:http://127.0.0.1:51209
# 使用用户名:system,密码:MyPass123 登录
# 调用 API
curl -X POST http://127.0.0.1:51200/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer system:MyPass123" \
-d '{"model":"mini-timebot","messages":[{"role":"user","content":"你好"}],"stream":false,"session_id":"default"}'
# 停止
bash selfskill/scripts/run.sh stop
selfskill/scripts/,不影响项目原有功能start 支持幂等调用INTERNAL_TOKEN 勿泄露logs/launcher.loghttp://127.0.0.1:51209add-user 命令创建的凭证(默认:用户名 system,密码 MySecurePass123)