grammy-dev
grammY (Telegram bot framework) dev plugin for Agents Store. Covers bot core, filter queries, middleware, commands, keyboards, sessions, conversations, files, payments, deployment, scaling, and the full @grammyjs/* plugin catalog for Node.js/Deno/TypeScript bot developers.
v1.1.3Updated
- grammy
- grammyjs
- telegram
- bot
- telegram-bot
- typescript
- nodejs
- deno
- dev
- agents-store
Install
Pick your agent for the steps.
Install on Claude Code
1.Add the marketplace
/plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
/plugin install grammy-dev@agents-store-claude-pluginsType it inside Claude Code.
Install on GitHub Copilot CLI
1.Add the marketplace
copilot plugin marketplace add Agents-Store/claude-plugins2.Install the plugin
copilot plugin install grammy-dev@agents-store-claude-plugins
GitHub Copilot CLI does not receive: commands, agents.
Install on Cursor
1.Manual install
Cursor has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Cursor reads plugins from.
Cursor’s plugin documentation now lives at docs.grok.com (cursor.com/docs/plugins redirects there). Plugins come from its marketplace, a team marketplace or a local folder.
Install on Codex
1.Add the marketplace
codex plugin marketplace add Agents-Store/codex-plugins2.Install the plugin
codex plugin add grammy-dev@agents-store-codex-plugins
Codex does not receive: commands, agents.
Install on Gemini CLI
1.Clone the mirror
git clone https://github.com/Agents-Store/gemini-extensions2.Install the plugin
gemini extensions link ./gemini-extensions/grammy-devRun it from the folder you cloned into.
Consumer access to Gemini CLI ended on 2026-06-18. This target serves enterprise Gemini Code Assist; Antigravity is the consumer successor.
Install on Antigravity
1.Clone the mirror
git clone https://github.com/Agents-Store/antigravity-skills2.Install the plugin
agy plugin install ./antigravity-skills/grammy-devRun it from the folder you cloned into.
Antigravity does not receive: commands.
Install on Kimi Code
1.Clone the mirror
git clone https://github.com/Agents-Store/kimi-plugins2.Install the plugin
/plugins install ./kimi-plugins/grammy-devRun it from the folder you cloned into, and type it inside Kimi Code.
Kimi Code does not receive: commands, agents, hooks, MCP servers.
Install on Devin
1.Install the plugin
devin plugins install Agents-Store/devin-plugins#grammy-dev
Devin does not receive: commands, agents, hooks, MCP servers.
Install on Hermes Agent
1.Install the plugin
hermes plugins install Agents-Store/hermes-plugins/grammy-dev
Hermes Agent does not receive: commands, agents, hooks, MCP servers.
Install on OpenCode
1.Manual install
OpenCode has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place OpenCode reads plugins from.
OpenCode does not receive: hooks.
Install on Pi
1.Manual install
Pi has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Pi reads plugins from.
Pi does not receive: commands, agents, hooks, MCP servers.
Install on OpenClaw
1.Clone the mirror
git clone https://github.com/Agents-Store/openclaw-generated-plugins2.Install the plugin
openclaw plugins install ./openclaw-generated-plugins/grammy-devRun it from the folder you cloned into.
OpenClaw does not receive: commands, agents, hooks, MCP servers.
Install on Agent Plugins 1.0
1.Manual install
Agent Plugins 1.0 has no install command for a single plugin. Copy the plugin's folder from its place in the mirror on GitHub into the place Agent Plugins 1.0 reads plugins from.
Agent Plugins 1.0 does not receive: commands, agents, hooks.
What is inside
Skills (16)
- api-reference
This skill should be used when the user asks for "grammY API reference", "Bot API method", "ctx.api signature", "sendMessage parameters", "answerCallbackQuery", "editMessageText", "getChat", "specific Telegram Bot API endpoint", or needs precise method signatures and parameter details for the grammY Bot API client.
- commands-and-keyboards
This skill should be used when the user asks about "slash commands in grammY", "bot.command", "setMyCommands", "inline keyboard", "reply keyboard", "callback query", "buttons in Telegram bot", or needs to add interactive commands and keyboards to a grammY bot.
- conversations
This skill should be used when the user asks about "grammY conversations plugin", "@grammyjs/conversations", "multi-step wizard", "ask user for input", "conversation.wait", "conversation.form", "checkpoint and rewind", "conversation menu", "wait timeout", "persist conversations", or needs to model multi-message dialog flows in a grammY bot.
- deployment-hosting
This skill should be used when the user asks about "deploy grammY bot", "webhookCallback", "long polling vs webhooks", "deploy to Cloudflare Workers", "deploy to Vercel", "deploy to Deno Deploy", "Fly.io grammY", "Heroku Telegram bot", "Supabase Edge Functions", "VPS bot deployment", "Firebase functions Telegram", "Zeabur", or needs to put a grammY bot into production.
- error-handling
This skill should be used when the user asks about "grammY error handling", "bot.catch", "GrammyError", "HttpError", "BotError", "errorBoundary", "bot crashed", "unhandled promise rejection in bot", or needs to understand the three error types grammY throws and how to catch them.
- examples
This skill should be used when the user asks "show me a complete grammY example", "give me a full grammY bot file", "example of a Telegram bot with menu", "complete echo bot in grammY", "example session counter", "example webhook bot Cloudflare Workers", "example conversation form bot", or wants end-to-end scenario walkthroughs rather than isolated snippets.
- files-and-media
This skill should be used when the user asks about "send photo in grammY", "send file", "send document", "send video", "InputFile", "send media group", "download user file", "getFile", "voice message", or needs to handle media uploads or downloads in a Telegram bot.
- filter-queries
The grammY filter query syntax of bot.on. Covers the update tree (message, edited_message, channel_post, callback_query), colon paths such as message:text or message:entities:url, wildcard and shortcut forms (msg, edit, :text, :file), combining queries as OR arrays or AND chains, and how ctx is type-narrowed. Use when choosing which updates a handler receives. For command handlers use commands-and-keyboards, for handler order and next() use middleware.
- middleware
This skill should be used when the user asks about "grammY middleware", "bot.use", "Composer", "middleware ordering", "skip handler", "compose plugins", "custom middleware", or needs to understand how grammY chains and routes update handlers.
- payments-business-games
This skill should be used when the user asks about "Telegram Stars in grammY", "sendInvoice", "pre_checkout_query", "successful_payment", "XTR currency", "Telegram payments", "Business connection", "business_message", "Telegram games", "createInvoiceLink", or needs to integrate Telegram payments, Business mode, or games into a grammY bot.
- plugins-catalog
This skill should be used when the user asks about "grammY plugins", "what plugins are available for grammY", "@grammyjs", "hydrate plugin", "parse-mode plugin", "i18n", "ratelimiter", "router", "emoji", "chat-members", "stateless-question", "fluent", "commands plugin", "stream plugin", "files plugin", or needs an overview of the official grammY plugin ecosystem.
- scaling-runner
This skill should be used when the user asks about "grammY runner", "@grammyjs/runner", "concurrent updates in grammY", "rate limit grammY", "transformer-throttler", "auto-retry", "sequentialize", "high-throughput Telegram bot", or needs to scale a grammY bot beyond default sequential polling.
- sdk-patterns
grammY (Telegram bot framework) code patterns - creating a Bot, reading the Context (ctx.from, ctx.chat), handlers with bot.command, bot.hears and bot.on, ctx.reply versus ctx.api or bot.api for other chats and scheduled posts, editing and deleting messages, bot.init, and typing a custom Context with plugin flavors (session). Use for how-do-I-write-this questions in grammY code. For filter queries use filter-queries, for keyboards commands-and-keyboards, for session storage sessions.
- sessions
This skill should be used when the user asks about "grammY session", "store user state", "ctx.session", "session storage", "Redis session", "MongoDB session", "PostgreSQL session", "free session storage", "lazy session", "multi session", or needs to persist per-chat data across messages.
- setup
This skill should be used when the user asks to "install grammY", "create a Telegram bot", "set up my first bot", "verify grammY installation", "get a bot token", "BotFather", or needs to bootstrap a brand-new grammY project from zero to a running echo bot.
- troubleshoot
This skill should be used when the user reports that "grammY bot is broken", "401 Unauthorized", "409 Conflict", "bot not responding", "double replies", "TypeScript error in grammY", "ctx.session is undefined", "conversations not working", "bot only responds once then stops", or any other grammY runtime / type / deployment failure.
Agents (1)
- grammy-developer
Use this agent when the user needs help writing or modifying Telegram bot code with the grammY framework — implementing handlers, wiring up plugins (sessions, conversations, menu, i18n), building webhook adapters for a hosting platform, or debugging grammY-specific errors. <example> Context: User is starting a fresh Telegram bot project. user: "Help me build a Telegram bot that asks the user for their name, then their email, and stores it" assistant: "I'll use the grammy-developer agent to scaffold a conversation-based bot with @grammyjs/conversations and sessions." <commentary>Multi-step user input across messages → grammY conversations plugin; persistent storage → session plugin. The agent knows the right combination.</commentary> </example> <example> Context: User is debugging a deployed bot. user: "My grammY bot deployed to Cloudflare Workers replies twice to every message. What's wrong?" assistant: "I'll use the grammy-developer agent to diagnose the long-polling-vs-webhook collision." <commentary>Classic grammY production bug — `bot.start()` left in code that also handles a webhook. Agent knows the diagnosis path.</commentary> </example> <example> Context: User wants advanced bot features. user: "Add Telegram Stars payments to my bot — users should be able to buy a one-time `pro` upgrade" assistant: "I'll use the grammy-developer agent to wire up sendInvoice with XTR currency, the pre_checkout_query handler, and the successful_payment listener." <commentary>Payments flow needs three distinct handlers and a specific currency code. Agent knows the full handshake.</commentary> </example>
README
Claude Code plugin that turns Claude into a grammY specialist for building Telegram bots in Node.js, Deno, or TypeScript.
grammY is the modern Telegram Bot framework — see https://grammy.dev. This plugin gives Claude authoritative knowledge of grammY's bot core, filter-query DSL, middleware system, all official @grammyjs/* plugins, and deployment patterns across every supported hosting platform. It targets grammY 1.46 (Telegram Bot API 10.3).
What you get
16 skills (auto-trigger from natural-language requests):
| Skill | Triggers on |
|---|---|
setup | "install grammY", "create my first Telegram bot", "verify bot token" |
sdk-patterns | "use grammY Bot class", "send a message", "context object" |
filter-queries | "bot.on filter", "listen for photos", "filter query DSL" |
middleware | "bot.use", "Composer", "middleware ordering" |
error-handling | "bot.catch", "GrammyError", "error boundary" |
commands-and-keyboards | "slash command", "inline keyboard", "callback query" |
sessions | "session plugin", "store user state", "Redis session", "lazy session" |
conversations | "@grammyjs/conversations", "multi-step wizard", "form input" |
files-and-media | "send photo", "InputFile", "download file" |
plugins-catalog | "grammY plugins list", "hydrate", "i18n", "menu plugin" |
scaling-runner | "@grammyjs/runner", "throttler", "auto-retry", "concurrency" |
deployment-hosting | "webhook vs polling", "deploy to Cloudflare Workers", "Vercel", "VPS" |
payments-business-games | "Telegram Stars", "sendInvoice", "Business connection", "games" |
api-reference (manual) | curated Bot API method reference, opens on explicit ask |
troubleshoot | "401 Unauthorized", "Conflict", "bot not responding" |
examples | "show a complete grammY example" — opens scenario library |
1 agent: grammy-developer — invokes when the user wants help writing actual grammY code (/start handlers, webhook adapters, plugin integration).
2 bundled scripts (under scripts/):
init-bot.sh <dir>— scaffolds a fresh TypeScript grammY project (package.json,tsconfig.json,src/bot.ts,.env.example,.gitignore).generate-webhook-adapter.sh <framework> <out-file>— emits awebhookCallbackadapter forexpress,fastify,hono,cloudflare, orhttps(vercelis accepted as an alias — grammY has no Vercel adapter; Vercel Node.js functions use thehttpsone).
Install
This plugin lives in the AGENTS.STORE Public Plugins marketplace.
/plugin install grammy-dev
No environment variables. No .mcp.json. Pure knowledge plugin.
Prerequisites
- Node.js 22 or 24 LTS (or Deno 2.x, or Bun 1.x) for actually running a bot you build — Node 18 and 20 are end-of-life.
- A bot token from @BotFather for your bot.
Claude doesn't need either to give you grammY code — the prerequisites are for your bot, not the plugin.
Out of scope
- This plugin teaches Claude how to build a Telegram bot. To operate a Telegram user account programmatically (read DMs, send messages from a user phone number), use a separate MTProto user-account client (for example Telethon or GramJS) instead.
- This plugin does not bundle any MCP server. grammY is a code framework — it does not run a hosted service Claude can call.
License
MIT.
Source
- Source on GitHub
- Mirror: Agents-Store/claude-plugins
- Mirror: Agents-Store/cursor-plugins
- Mirror: Agents-Store/codex-plugins
- Mirror: Agents-Store/gemini-extensions
- Mirror: Agents-Store/antigravity-skills
- Mirror: Agents-Store/kimi-plugins
- Mirror: Agents-Store/devin-plugins
- Mirror: Agents-Store/hermes-plugins
- Mirror: Agents-Store/opencode-plugins
- Mirror: Agents-Store/pi-extensions
- Mirror: Agents-Store/openclaw-generated-plugins
- Mirror: Agents-Store/agentplugins