add-payments
Skill0 starsChanged 36 days agoMITView on GitHub
Add payments to an existing Telegram bot or Mini App — Stars for digital goods by default, a card provider for physical goods, TON only where Telegram allows it. Optionally pass what is being sold.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- diegovasquez-ai/skills-apptheir own version, first seen Oct 25, 2026
- getjack-org/skillstheir own version, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- diegovasquez-ai/skills-app★ 14same name
- getjack-org/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- add-ton-connectSkill
- audit-projectSkill
- deploy-testnetSkill
- new-botSkill
- new-mini-appSkill
- telegram-botSkill
- telegram-devSkill
- telegram-launchSkill
- telegram-mini-appSkill
- telegram-paymentsSkill
- telegram-tonSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Read the project: framework, language, where the bot handlers and the database are, whether a Mini App exists.
- Very specific: line 17
Add an orders table or collection: id (opaque, unguessable), user id, item, price, status, telegram_payment_charge_id (unique), timestamps.
- Very specific: line 23
If the webhook sets allowed_updates, add pre_checkout_query.
- Very specific: line 26
Run the telegram-security-reviewer agent on the result and report what is left to do, including testing in the Telegram test environment.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add payments
What is sold: $ARGUMENTS (ask if empty).
- Read the project: framework, language, where the bot handlers and the database are, whether a Mini App exists.
- Decide the method with the
telegram-paymentsrule and tell the user before writing code: digital goods and services → Stars; physical → a card provider; payouts and on-chain assets → TON (telegram-ton). If the user asked for crypto for digital goods, explain why that gets the app hidden on mobile and propose Stars. - Add an
orderstable or collection: id (opaque, unguessable), user id, item, price, status,telegram_payment_charge_id(unique), timestamps. - Server creates the order and the invoice (
sendInvoiceorcreateInvoiceLinkfor the Mini App). The client never sends a price. - Handlers: fast
pre_checkout_querythat checks the order, fulfilment onsuccessful_paymentkeyed on the charge id, refund command for admins,/termsand/paysupport. - If the webhook sets
allowed_updates, addpre_checkout_query. - Tests: duplicate
successful_payment, unknown payload, another user's order, expired order, refund. Run them. - Run the
telegram-security-revieweragent on the result and report what is left to do, including testing in the Telegram test environment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

