用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/experientiallabs/openclaas --skill setup-tinker命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | setup-tinker |
| description | Deploy the CLaaS Tinker stack (API + OpenClaw/Telegram) via Docker Compose. No GPU required. |
Deploy the full CLaaS stack using Docker Compose with Tinker-hosted inference — no local GPU needed.
When this skill is invoked, perform the following steps. The user may pass a Telegram bot token and/or Tinker API key as arguments; if not, ask for them.
Verify Docker is running:
docker info > /dev/null 2>&1
If Docker is not running, tell the user to start Docker Desktop (or the Docker daemon) and re-run.
.env.tinkerFrom the repo root, check if docker/.env.tinker exists. If not, copy the example:
cp docker/.env.tinker.example docker/.env.tinker
Set the required variables in docker/.env.tinker:
| Variable | Required | Default |
|---|---|---|
TELEGRAM_BOT_TOKEN | Yes | — |
TINKER_API_KEY | Yes | — |
MODEL | No | Qwen/Qwen3-30B-A3B |
LORA_NAME | No | openclaw/assistant |
CLAAS_API_PORT | No | 8080 |
OPENCLAW_PORT | No | 18789 |
Prompt the user for TELEGRAM_BOT_TOKEN and TINKER_API_KEY if they were not passed as arguments. Update the file using sed or the Edit tool.
docker compose -f docker/docker-compose.yml --env-file docker/.env.tinker --profile tinker up --build -d
Poll the services until they are ready (timeout after 3 minutes):
# claas-api (serves both inference and training)
until curl -sf http://localhost:8080/ > /dev/null 2>&1; do sleep 5; done
Then wait for the init-tinker container to complete:
docker compose -f docker/docker-compose.yml --env-file docker/.env.tinker --profile tinker logs -f init-tinker 2>&1 | head -50
# Models (served by CLaaS API)
curl -s http://localhost:8080/v1/models
# CLaaS health
curl -s http://localhost:8080/v1/health
# LoRA adapters
curl -s http://localhost:8080/v1/lora
# OpenClaw logs — look for Telegram bot username
docker compose -f docker/docker-compose.yml --env-file docker/.env.tinker --profile tinker logs openclaw-tinker 2>&1 | tail -20
Report the status of all services and the Telegram bot username from the OpenClaw logs.
Tell the user the stack is running and they can send a DM to their Telegram bot. The bot will respond using the openclaw/assistant-latest LoRA adapter via Tinker-hosted inference.
/setup-tinker.TELEGRAM_BOT_TOKEN in docker/.env.tinker. Generate a new token from @BotFather if needed.MODEL value must match a model ID supported by Tinker (e.g. Qwen/Qwen3-30B-A3B). Check available models via Tinker's get_server_capabilities endpoint.http://claas-api:8080 (Docker service DNS), not localhost. Re-run the init container: docker compose -f docker/docker-compose.yml --env-file docker/.env.tinker --profile tinker up init-tinker.docker compose -f docker/docker-compose.yml --env-file docker/.env.tinker --profile tinker logs -f <service>.