telegram-manual
Configure the Telegram bot addon for this agent — read this when the human asks to set up a Telegram bot.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure the Telegram bot addon for this agent — read this when the human asks to set up a Telegram bot.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
灵台量化数据管道——股票/加密币行情采集、清洗、存储与质量检查。含 Yahoo Finance + Kraken (CCXT) 双数据源,支持日线/1h 自动增量更新。
Configure the Feishu (Lark) bot addon for this agent — read this when the human asks to set up a Feishu bot.
Configure the IMAP email addon for this agent — read this when the human asks to set up email.
Configure the WeChat addon for this agent — read this when the human asks to set up WeChat.
Reference manual for the `avatar` tool — debugging, advanced patterns, best practices, and worked examples. Read when you need depth beyond the tool description.
Reference manual for the `bash` tool — debugging, advanced patterns, best practices, and worked examples. Read when you need depth beyond the tool description.
| name | telegram-manual |
| description | Configure the Telegram bot addon for this agent — read this when the human asks to set up a Telegram bot. |
| version | 3.0.0 |
You are helping the human set up a Telegram bot for this agent. Your job is to create the config file yourself — do not just list the steps and ask the human to do it.
.secrets/The Telegram config lives inside your own working directory:
.secrets/telegram.json (relative to your working directory)
init.json addons.telegram.config field is simply .secrets/telegram.json (no ../, no absolute path).*_env indirection. No .env file involved. The config is self-contained.Addons are an admin-only responsibility. Avatars should never configure addons — the orchestrator owns them. Colocating the config with the orchestrator's working directory makes that ownership explicit.
If your init.json already has addons.telegram.config pointing at ../.addons/telegram/config.json and the old setup is working, leave it alone. The old path keeps functioning. Only create setup at the new path when the human is setting up Telegram for the first time, or explicitly asks to migrate.
bot_token_env. The .env file is only for LLM API keys and other non-addon secrets..secrets/telegram.json, run system(action="refresh") yourself to reload. Do not ask the human to refresh for you..secrets/telegram.json exists, is valid JSON, and that your init.json addons.telegram.config points at .secrets/telegram.json. Report back to the human with the specific problem.connected: false even when working. Always verify by attempting actual operation — if it succeeds, the connection is fine.Ask the human for:
/newbot → follow prompts → copy token)from field.Once you have the bot token:
Create the config file at .secrets/telegram.json in your own working directory:
{
"bot_token": "<the token they gave you>",
"allowed_users": [123456789],
"poll_interval": 1.0
}
Wire it into init.json. Read your init.json. If addons.telegram is missing, add it:
"addons": {
"telegram": {
"config": ".secrets/telegram.json"
}
}
If addons.telegram.config already exists and points at a legacy path (e.g. ../.addons/telegram/config.json), see the "Legacy Path" section above — do not rewrite it unless the human asked you to migrate.
Activate: run system(action="refresh") to reload the addon config. Then verify the bot is responding. Tell the human Telegram is configured.
See the example config at assets/config.json (next to this SKILL.md) for a full reference of all available fields.