Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add RaNDoM6913/claude-code-superkit --skill tg-miniappgit clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/random6913/claude-code-superkit/tg-miniapp)<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/tg-miniapp"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/tg-miniapp/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/tg-miniapp"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/tg-miniapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01670 |
| Opus 5.5 | $0.00019 | $0.00668 |
| Sonnet 5.5 | $0.00009 | $0.00334 |
| Haiku 4.5 | $0.00005 | $0.00167 |
Grade A, and why
tg-miniapp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Telegram Mini App — Critical Patterns
🔴 CRITICAL: Safe Area в Fullscreen
safeAreaInset может вернуть 0 при инициализации — нельзя читать один раз.
Значения обновляются асинхронно. iOS и Android дают разные safe areas.
Решение — реактивный хук (файл: src/hooks/useSafeAreaInset.ts):
import { useSafeAreaInset } from "@/hooks/useSafeAreaInset";
// В компоненте:
const safeArea = useSafeAreaInset();
// Полные поля:
safeArea.top // комбинированная safe area (systemTop + contentTop, с fallback)
safeArea.bottom // нижний отступ
safeArea.systemTop // высота статус-бара устройства (0 вне fullscreen)
safeArea.contentTop // высота TG-контролов — "Закрыть", "˅", "..." (0 вне fullscreen)
safeArea.isFullscreen // true если Mini App в fullscreen
// Простое использование — paddingTop = combined safe area:
<div style={{ paddingTop: safeArea.top }}>
Минимальные fallback для fullscreen:
- iOS:
top = 100px(если сумма < 80) - Android:
top = 80px(если сумма < 80)
Архитектура safe area зон (fullscreen):
┌──────────────────────────────┐
│ 22:54 📶 📶 🔋 │ ← systemTop (статус-бар / notch)
│ ✕ Закрыть ˅ ... │ ← contentTop (TG floating controls)
│ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │ ← safeArea.top = systemTop + contentTop
│ App content │
safeAreaInset.topиcontentSafeAreaInset.top— аддитивны в fullscreen- Вне fullscreen оба = 0 (нативный TG-хидер управляет сам)
Sticky header с safe area:
// WRONG — контент просвечивает сквозь gap
<div className="sticky top-0">Header</div>
// CORRECT
<div className="sticky top-0" style={{ paddingTop: safeArea.top, background: COLORS.bg }}>
Header
</div>
🔴 CRITICAL: Брендинг в зоне TG-контролов (fullscreen header)
В fullscreen режиме можно разместить текст/логотип между системными кнопками TG ("Закрыть" слева, "˅ + ..." справа). Это заменяет кастомный хидер и экономит место.
Паттерн — branding в TG controls zone:
const safeArea = useSafeAreaInset();
{/* Прозрачный spacer = вся safe area */}
{safeArea.top > 0 && (
<div className="shrink-0 relative" style={{ height: safeArea.top }}>
{/* Текст позиционирован точно в зоне TG-контролов */}
{safeArea.isFullscreen && safeArea.contentTop > 0 && (
<div
className="absolute left-0 right-0 flex items-center justify-center pointer-events-none"
style={{
top: safeArea.systemTop,
height: safeArea.contentTop,
}}
>
<span
className="text-[15px] font-bold tracking-[0.08em] uppercase"
style={{ color: "rgba(228,228,240,0.55)" }}
>
MyApp
</span>
</div>
)}
</div>
)}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 178 lines · 47 tokens per session scan A 354502e87336
tg-miniapp is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,670 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
tg-miniapp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tg-miniappRaNDoM6913/claude-code-superkit | Skill | 3 | today | MIT | A | 47 | Claude Code |
| flutter-developmenttravisjneuman/.claude | Skill | 116 | today | MIT | A | 41 | Claude Code |
| ionicMindrally/skills | Skill | 325 | 1mo ago | Apache-2.0 | A | 22 | Claude Code |
| mobile-nativecodeworksh/codework | Skill | 26 | today | MIT | A | 167 | Claude Code, Codex |
| pretextNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 13 | Claude Code, Codex |
| html-emailasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 8 | Claude Code |
| layout-skillcode-yeongyu/oh-my-openagent | Skill | 71k | yesterday | none | A | 88 | Claude Code, Codex |