Skip to main content

remote-from-telegram

AI DevKit · Connect the current agent session to an available Telegram channel bridge.

来源信息

仓库
codeaholicguy/ai-devkit
最近来源活动
2026年9月12日 13:34
检测到的 SKILL.md 语言
英语
星标
1,652
Forks
259

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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 1. Check readiness: ```bash ai-devkit status --json ``` If AI DevKit is not ready, use `ai-devkit-setup` skill first. Stop if setup leaves manual actions. 2. Inspect channels and agents: ```bash ai-devkit channel list ai-devkit agent list --json ``` 3. Identify the current agent by matching this session to an `agent list --json` entry. If unclear, ask for the agent name. 4. Find configured Telegram channels. If none exist, tell the user to run: ```bash ai-devkit channel connect telegram ``` Stop after giving that action. 5. 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, configured with bot credentials, and not already running. Do not reject a Telegram channel only because it is not authorized yet; Telegram authorization cannot complete until after the bridge is started and the user sends a message to the bot. 6. If no Telegram channel is available because bridges are already running, ask before stopping one. After confirmation: ```bash ai-devkit channel stop <channel> ``` 7. Start the bridge in the background: ```bash ai-devkit channel start <channel> --agent <agent-name> --daemon ``` 8. Report the connected channel, agent name, and how to stop it: `ai-devkit channel stop <channel>`. If the channel was not authorized before start, explicitly tell the user the bridge is running and they must now send any message to the Telegram bot to authorize that chat before using it. ## 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.
在 GitHub 查看