Skip to content

v2.1.2 — Telegram Command Menu & PAI Skill Discovery

Choose a tag to compare

@jdrolls jdrolls released this 02 Mar 03:02

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.ts module — scans skill directories, parses SKILL.md YAML frontmatter, normalizes to Telegram-safe command names
  • registerBotCommands() wraps Telegram's setMyCommands API
  • Skill routing rewrites /skillname args to "Use the SkillName skill: args" before passing to Claude
  • Built-in commands always take priority over skills (no collisions)
  • /help now 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.md includes a skill routing hint so Claude invokes skills via the Skill tool

Full Changelog

v2.1.1...v2.1.2