v2.1.2 — Telegram Command Menu & PAI Skill Discovery
What's New
Telegram Command Menu — Type / in your chat and you'll see a full menu of available commands. Built-in commands (like /new, /sessions, /cancel) are listed alongside any PAI skills you have installed.
PAI Skill Discovery — The gateway scans ~/.claude/skills/ at startup and registers discovered skills as Telegram bot commands. For example, if you have a Research skill, typing /research quantum computing routes it through Claude Code in full mode.
Details
- New
src/skills.tsmodule — scans skill directories, parses SKILL.md YAML frontmatter, normalizes to Telegram-safe command names registerBotCommands()wraps Telegram'ssetMyCommandsAPI- Skill routing rewrites
/skillname argsto"Use the SkillName skill: args"before passing to Claude - Built-in commands always take priority over skills (no collisions)
/helpnow shows discovered skills section- Telegram practical limit: ~50 total commands (13 built-in + up to 37 skills in menu). All discovered skills remain routable even if not in the menu.
- Registration is non-fatal — if it fails, the bot works normally without the command menu
full-system.mdincludes a skill routing hint so Claude invokes skills via the Skill tool