Agent Skills › codeaholicguy/ai-devkit › remote-from-telegram

remote-from-telegram

GitHub

连接当前 Agent 会话到 Telegram 频道,实现通过 Telegram 控制或聊天。流程包括检查状态、列出通道与代理、选择并启动桥接服务,以及指导用户完成授权。

skills/remote-from-telegram/SKILL.md codeaholicguy/ai-devkit

Trigger Scenarios

用户希望通过 Telegram 与控制中的 AI 助手交互 需要建立或管理 Telegram 与当前 Agent 会话之间的连接

Install

npx skills add codeaholicguy/ai-devkit --skill remote-from-telegram -g -y
More Options

Use without installing

npx skills use codeaholicguy/ai-devkit@remote-from-telegram

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill remote-from-telegram -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

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

  1. Check readiness:

    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:

    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:

    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:

    ai-devkit channel stop <channel>
    
  7. Start the bridge in the background:

    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.

Version History

  • e96ca22 Current 2026-09-22 05:12

    澄清了 Telegram 频道授权流程,移除了对已授权状态的强制要求,允许在桥接启动后由用户发送消息完成授权。

  • 5941ca5 2026-09-08 23:35

Same Skill Collection

skills/agent-communication/SKILL.md
skills/agent-management/SKILL.md
skills/agent-orchestration/SKILL.md
skills/ai-devkit-setup/SKILL.md
skills/brainstorm/SKILL.md
skills/changelog/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-design/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-review/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/refactor/SKILL.md
skills/remote-from-slack/SKILL.md
skills/security-review/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

Metadata

Files
0
Version
e96ca22
Hash
9e3a21ce
Indexed
2026-09-08 23:35

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-27 05:33
浙ICP备14020137号-1