telegram-mini-app
Skill by benjaminasterA
Guides developers building Telegram Mini Apps, web apps that run inside Telegram. It covers the Telegram Web App API, TON Connect, in-app payments and user authentication.
Install telegram-mini-app
Built from the published package, never by AI.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-awesome-skills/skills/telegram-mini-app ~/.claude/skills/telegram-mini-appRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-awesome-skills/skills/telegram-mini-app ~/.gemini/antigravity-cli/skills/telegram-mini-appAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The telegram-mini-app skill guides an AI assistant through building Telegram Mini Apps, which are web apps that run inside Telegram. It covers the Telegram Web App API, the TON ecosystem, payments, and user authentication. The skill includes code patterns for a basic Mini App page, a React hook for Telegram data, a bot command that opens the app, TON Connect wallet setup, and a TON transaction.
It also describes monetization options such as TON payments, Telegram Stars invoices, ads, and referral sharing. It lists anti-patterns around matching Telegram theme colors, mobile-first layout, and loading states. A sharp edges table flags risks such as not validating initData and TON Connect issues on mobile. The source credits vibeship-spawner-skills under Apache 2.0. It is aimed at developers building Mini Apps for Telegram users.
Written from the project's SKILL.md and checked against it.
What it can do
- Mini App setupShows a basic HTML Mini App page and a React hook for Telegram user data.
- Bot integrationShows a bot command that replies with a button opening the Mini App.
- TON Connect integrationCovers wallet connection with TON Connect, including a manifest file.
- TON transactionsShows how to send a TON payment transaction from a Mini App button.
- Telegram Stars paymentsShows a bot invoice using Telegram Stars (XTR) for premium access.
- Referral sharingShows a referral link and share button to invite friends.
- Mini App UX guidanceCovers theme matching, mobile-first layout, and loading state patterns.
Try asking
- Set up a basic Telegram Mini App with a React hook for user data.
- Add a TON Connect wallet button to my Telegram Mini App.
- Create a bot command that opens my Mini App with an inline button.
Good to know
- The source lists risk as unknown.
- Revenue potential ratings in the monetization table are qualitative, not measured.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/telegram-mini-app/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to telegram-mini-app
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
telegram-mini-app: common questions
What does the telegram-mini-app skill cover?
It covers the Telegram Web App API, the TON ecosystem, in-app payments, user authentication, and Mini App UX patterns. The source also lists viral Mini App mechanics.
Does it show how to accept payments in a Mini App?
Yes. The source includes a TON transaction example using TON Connect and a Telegram Stars invoice example for bots.
Does the source mention validating user data?
Yes. A sharp edges table warns that not validating initData from Telegram is a high severity issue, but the table links to a section that is not included in the file.
How do I install telegram-mini-app?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is telegram-mini-app free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is telegram-mini-app safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to telegram-mini-app?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
