remote-from-telegram
GitHub将当前 Agent 会话连接至 Telegram 频道桥接,支持通道管理、启动桥接及状态报告。
Trigger Scenarios
Install
npx skills add codeaholicguy/ai-devkit --skill remote-from-telegram -g -y
SKILL.md
Frontmatter
{
"name": "remote-from-telegram",
"description": "AI DevKit · Connect the current agent session to an available Telegram channel bridge."
}
Remote From Telegram
Use this skill when the user wants to control or chat with the current session from Telegram.
Prefer the installed ai-devkit binary; if unavailable, use npx ai-devkit@latest. Run AI DevKit commands outside filesystem sandboxes because they inspect host-level agent and channel state.
Workflow
-
Check readiness:
ai-devkit status --jsonIf AI DevKit is not ready, use
ai-devkit-setupskill first. Stop if setup leaves manual actions. -
Inspect channels and agents:
ai-devkit channel list ai-devkit agent list --json -
Identify the current agent by matching this session to an
agent list --jsonentry. If unclear, ask for the agent name. -
Find configured Telegram channels. If none exist, tell the user to run:
ai-devkit channel connect telegramStop after giving that action.
-
Choose a channel. Use the requested channel or the only available Telegram channel. If multiple Telegram channels are available, ask the user which one to use. Available means Telegram, enabled, authorized, and not already running.
-
If no Telegram channel is available because bridges are already running, ask before stopping one. After confirmation:
ai-devkit channel stop <channel> -
Start the bridge in the background:
ai-devkit channel start <channel> --agent <agent-name> --daemon -
Report the connected channel, agent name, and how to stop it:
ai-devkit channel stop <channel>.
Boundaries
- Do not create or connect a Telegram channel for the user; only point them to
channel connect. - Do not stop a running bridge without explicit confirmation.
- Do not guess when both agent or channel selection are ambiguous.
Version History
- 5941ca5 Current 2026-09-08 23:35


