OpenClaw Remote MiniMax Setup
Set up a remote OpenClaw host in a repeatable, low-surprise way.
Scope
Use this skill for remote Linux deployments where the user provides:
- SSH access
- A MiniMax API key
- A Telegram bot token
- A target model of
minimax/MiniMax-M2.1
Prefer the official OpenClaw documentation first, then execute the deployment over SSH.
Read these references when needed
- Read
references/workflow.mdfor the full deployment flow. - Read
references/config-template.mdbefore writing or patching the remote OpenClaw config. - Read
references/failure-modes.mdwhen Telegram does not reply, the gateway exits after install, or the service dies after SSH disconnect.
Core rules
- Do not publish or store user secrets in the skill, repo, or commit history.
- Replace all secrets in examples with environment placeholders.
- Validate the remote config before declaring success.
- Verify both the model path and the Telegram path.
- Treat a successful install as incomplete until the service survives SSH disconnect.
Minimal workflow
- Read the relevant OpenClaw docs for installation, providers, and Telegram.
- Inspect the remote host: OS, sudo availability,
curl,node, andopenclaw. - Install OpenClaw safely.
- Prefer fetching the official installer locally, reviewing it, copying it to the remote host, and executing it there.
- Write a minimal config using the MiniMax China endpoint and Telegram bot token.
- Run
openclaw config validate. - Ensure
gateway.mode=localbefore first service start. - Install and start the gateway service.
- Enable persistence for
systemctl --userdeployments.- On remote VPS installs, run
sudo loginctl enable-linger <user>.
- On remote VPS installs, run
- Verify with:
openclaw gateway statusopenclaw status- a local smoke test against
MiniMax-M2.1 - a Telegram send test
- If outbound Telegram send says
chat not found, tell the user to open the bot DM and press Start, then retry.
Completion standard
Only call the deployment complete when all of the following are true:
openclaw gateway statusreportsRuntime: runningopenclaw statusshows TelegramONandOK- A local agent test returns through
MiniMax-M2.1 - A Telegram test message can be delivered after the user has started the bot
- The service remains active after SSH disconnect because linger is enabled
Output style
When reporting progress or completion:
- State what was installed
- State the configured model and provider endpoint
- State the Telegram bot username
- State the last blocking issue, if any
- End with the exact next user action if a manual Telegram step is still required