tbot-controller
Operate TradingBoat/TBOT (TBOT runtime stack) via a controlled automation interface (DB-first queries; lifecycle control on explicit request).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/plusgenie/tbot-controllerWhat this skill does
- Query TBOT sqlite DB for alerts/orders/errors/portfolio (DB-first)
- Start/stop TradingBoat/TBOT (docker compose or systemd)
- Fetch health/status (containers, ports, basic checks) only when explicitly requested
- Read recent logs only when explicitly requested
Safety rules
- Default to read-only operations (status/logs) unless user explicitly requests a control action.
- For any state-changing action (start/stop/restart/send), require explicit confirmation via the flag --run-it or environment variable RUN_IT=1. The controller will refuse execution otherwise.
- Never print secrets (webhook keys, tokens). Redact them.
Refusal criteria (must-stop conditions)
The agent MUST stop and ask for user action if any of the following is true:
- Runtime location is unknown and discovery cannot uniquely resolve it.
- The TBOT database path cannot be found or opened read-only.
- A request would start/stop/restart services or send signals without
--run-it/RUN_IT=1. - A request implies destructive DB changes (DROP/TRUNCATE/ALTER) or “run arbitrary SQL”.
Prerequisites (first-time users)
This skill controls a separate TBOT runtime stack. The reference/runtime implementation is:
- openclaw-on-tradingboat (TBOT runtime stack): https://github.com/PlusGenie/openclaw-on-tradingboat
This tbot-controller skill does not download or install the runtime for you. If the runtime is missing, the skill will run read-only DB helpers where possible, but status/logs/control actions will fail until the runtime exists.
Install the runtime (recommended)
- Clone the runtime repo:
git clone https://github.com/PlusGenie/openclaw-on-tradingboat.git
cd openclaw-on-tradingboat
- Ensure you can start it manually (outside this skill). For Docker Compose based installs, this typically means:
docker compose up -d
- Tell this skill where the runtime lives (recommended):
- Set
TBOT_COMPOSE_DIRto the folder that containsdocker-compose.ymlorcompose.yaml.
Examples:
export TBOT_COMPOSE_DIR="$HOME/develop/github/openclaw-on-tradingboat"
Or add it to ~/.openclaw/.env / your skill env block in openclaw.json.
Configure runtime secrets (outside this skill)
- TBOT typically uses a
.envfile for broker credentials and webhook keys. - Do not commit secrets to git.
- If you are unsure whether the runtime is set to paper or live, this skill must refuse to execute any trade/action until you confirm which it is.
Install / script permissions
This skill is invoked via a bash entrypoint script. Ensure it is executable:
chmod +x scripts/tbot.sh
Python deps (OpenClaw-native)
This skill uses uv to run Python scripts in an isolated environment and auto-install dependencies from:
{baseDir}/scripts/requirements.txt
Install uv (macOS):
brew install uv
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-plusgenie-tbot-controller": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
iseclaw-intel
Indonesian Web3 intelligence via Iseclaw ACP agent. Real-time market data, token signals, TGE research, and GameFi analysis from Southeast Asia's first transparent AI agent.
vynn-backtester
Run trading strategy backtests with natural language — powered by Vynn
q-kdb-code-review
AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.
soul-weaver
AI Soul Weaver - 12 Curated Celebrity Templates + Custom Generation. Generate OpenClaw agent configurations through dialog or select from 12 world-famous tech & business leaders.