Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Operate a VPS From Telegram With Guardrails

Overview

Run a self-hosted OpenClaw assistant on your own server, reach it through a Telegram bot, let it run read-only checks from an allowlist, and require your approval for restarts and other changes.

Problem or Objective

More in Coding and Code Review

AI Agents and Models

Tools and Integrations

Tools
OpenClaw · Telegram
Prerequisites
A server you control, an OpenClaw install, a Telegram bot token, an API key from your chosen model provider, and a git host with a command-line tool for pull requests (not verified here).

How It Works

Install OpenClaw on the server you want to look after and add a Telegram bot as its channel. Run the assistant under its own operating-system user that can read logs and service status but cannot write to production files or restart services without help. Set the exec tool to an allowlist with ask mode, and put only inspection commands on the allowlist, such as disk usage, service status and recent log lines. Anything else, including a service restart, then needs a human answer. For code or configuration changes, have the assistant edit a separate clone of the repository and open a pull request through your git host's command-line tool, which you review and merge yourself. From Telegram, ask for a health summary or a log check; approve a restart only after reading the exact command. Before relying on this, test from Telegram that a restart request really stops and waits for you.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up OpenClaw.
  2. Connect the toolsConnect the tools this workflow relies on: OpenClaw, Telegram.
  3. Check the prerequisitesA server you control, an OpenClaw install, a Telegram bot token, an API key from your chosen model provider, and a git host with a command-line tool for pull requests (not verified here).
  4. Gather your detailsCollect what the prompt asks for: Server the assistant looks after, Services to check, How many log lines to read, Path of the separate repository clone.
  5. Run the starter promptPaste the starter prompt below into OpenClaw and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.openclaw.ai before you rely on it.

Practical Starter Prompt: Check my server and ask before changing it

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You look after the server [Server the assistant looks after]. When I ask in Telegram, run only allowlisted inspection commands: disk usage, the status of [Services to check], and the last [How many log lines to read] lines of their logs, then give me a short health summary. Never edit files on the server. If something needs a restart, show me the exact command and wait for my approval before running it. If code or configuration must change, edit the clone in [Path of the separate repository clone], open a pull request and send me its link; do not merge it.

Approve a restart only after reading the exact command, and review every pull request before merging. Before the first real use, test that a command outside the allowlist waits for your answer in Telegram; if it does not, run restarts yourself over SSH.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The OpenClaw pages support a Telegram channel set up with a bot token, a shell tool whose allowlist and ask modes can make commands outside the allowlist wait for a human, and a warning that tools run on the host unless sandboxing is configured. They do not show where approval prompts appear in Telegram, and the pull request step depends on your git host, which was not checked.

Limitations and Considerations

The exec page says disabling file tools does not make exec read-only and that no-approval host exec is the default, so set the mode and allowlist yourself and test them; the operating-system user is your real read-only boundary. The README asks you to treat inbound messages as untrusted input and to read the security guide, exposure runbook and sandboxing guide before connecting other users or exposing the Gateway remotely. Keep the Telegram bot private to you and keep server keys out of chat. Your model provider receives the prompts and command output you send it. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Related Videos

About openclaw/openclaw

About openclaw/openclaw

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Chat channels - OpenClaw (opens in a new tab)

    Project documentation · docs.openclaw.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • It needs a bot token and no plugin install, so it is the fastest channel to get working.
  2. Exec tool - OpenClaw (opens in a new tab)

    Project documentation · docs.openclaw.ai · Undated · Source checked 27 Nov 2026, 09:29 UTC

    What this source supports
    • Disabling OpenClaw filesystem tools such as `write`, `edit`, or `apply_patch` does not make `exec` read-only.
    • If you want approvals/allowlist behavior, set `tools.exec.mode` and tighten the host approvals file.
    • Use `/exec ask=always` with a message to require human approval for that run.
  3. openclaw/openclaw README (opens in a new tab)

    Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC

    What this source supports
    • Treat inbound messages as untrusted input.
    • Tools run on the host for the main session unless you configure sandboxing.
Report a problem

More with OpenClaw

Planned, not done

Prepare Veterinary Insurance Forms From Statements and Email

Have OpenClaw on your own computer match vet charges in an exported bank statement to invoice emails, prepare your pet insurance claim forms, and leave the claims as drafts you check and send yourself.

openclaw.aiopenclaw/openclaw
Planned, not done

Coordinate a Personal Schedule and EV Status

Set up OpenClaw to send a morning chat message with your day's calendar and appointments plus the EV charge level you give it, so you can plan charging around your schedule.

docs.openclaw.aiopenclaw/openclaw
Planned, not done

Coordinate Family Schedules With Scoped Household Agents

Run a separate family agent in a self-hosted OpenClaw Gateway, bound to the household group chat with a narrow tool list, to keep the family schedule and send a morning rundown.

docs.openclaw.aiopenclaw/openclaw

View all: OpenClaw