/claude-sentinel:configurefrom claude-sentinel
Set up the Telegram channel for Claude Sentinel — save the bot token, review access policy, and prepare the gateway environment. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up", or wants to check channel status. VPS-aware version with headless guidance.
Ships in claude-sentinel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Writes the bot token to ~/.claude/channels/telegram/.env AND
~/.claude/channels/telegram/gateway.env (both needed — .env for the MCP server,
gateway.env for the systemd service). Orients the user on access policy.
Arguments passed: $ARGUMENTS
Read state files and give the user a complete picture:
Token — check ~/.claude/channels/telegram/.env for TELEGRAM_BOT_TOKEN.
Show set/not-set; if set, show first 10 chars masked (123456789:...).
Gateway env — check ~/.claude/channels/telegram/gateway.env exists and
matches. Warn if missing or mismatched.
Access — read ~/.claude/channels/telegram/access.json (missing file =
defaults: dmPolicy: "pairing", empty allowlist). Show:
Gateway status — check if telegram-gateway.service is running:
systemctl --user is-active telegram-gateway.service 2>/dev/null
What next — concrete next step based on state:
/sentinel:configure <token>."/sentinel:access pair <code>."/sentinel:deploy to install the
persistent gateway."Push toward lockdown. Once IDs are captured via pairing, suggest switching to
allowlist policy. Pairing is temporary — allowlist is the goal.
<token> — save it$ARGUMENTS as the token (trim whitespace). BotFather tokens look like
123456789:AAH... — numeric prefix, colon, long string.mkdir -p ~/.claude/channels/telegram.env if present; update/add the TELEGRAM_BOT_TOKEN= line,
preserve other keys (like OPENAI_API_KEY). Write back, no quotes around value.gateway.env with same token (separate file for systemd EnvironmentFile).chmod 600 both files — the token is a credential.clear — remove the tokenDelete the TELEGRAM_BOT_TOKEN= line from .env and delete gateway.env.
.env once at boot. Token changes need a session restart.access.json is re-read on every inbound message — policy changes take effect
immediately./sentinel:deploy if the gateway isn't installed yet.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/accessManage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
/deploy-sentinelDeploy Claude Sentinel on a VPS — install the persistent Telegram gateway, set up systemd services, configure cron jobs for memory compaction, create the bot identity, and build the required directory structure. Use when the user asks to "install sentinel", "deploy telegram gateway", "set up persistent sessions", "install claude-sentinel", "configure telegram bot on VPS", "set up crons for telegram", "create bot identity", or wants to make their Claude Code Telegram bot persistent.
/Other plugins' skills for the same job
npx claudepluginhub southlab-ai/claude-plugin-marketplace --plugin claude-sentinel