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 pytdbot/client --skill aigit clone --depth 1 https://github.com/pytdbot/clientWrote 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/pytdbot/client/ai)<a href="https://agentmods.dev/skills/pytdbot/client/ai"><img src="https://agentmods.dev/badge/skills/pytdbot/client/ai/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/pytdbot/client/ai"><img src="https://agentmods.dev/badge/skills/pytdbot/client/ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 180 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00049 | $0.03557 |
| Opus 5.5 | $0.00020 | $0.01423 |
| Sonnet 5.5 | $0.00010 | $0.00711 |
| Haiku 4.5 | $0.00005 | $0.00356 |
Grade A, and why
pytdbot 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 1mo 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 — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pytdbot
Pytdbot is an async TDLib wrapper for Telegram users/bots in Python, with high-level helpers (bound methods, Client helpers, utils). It is not the HTTP Telegram Bot API — do not use Bot API method names, types, or libraries. Use Pytdbot/TDLib names and types only.
python -m pytdbot.docs (use this for the API)
Before calling an unfamiliar method or building a type, run the docs CLI. It searches the installed library and prints parameters, types, and descriptions.
| Command | When to use | Example |
|---|---|---|
search <query> |
Find symbols by keyword | python -m pytdbot.docs search "send photo" |
function <name…> |
Full TDLib method signature(s) | python -m pytdbot.docs function sendMessage getChat |
type <name…> |
Fields of a TDLib type | python -m pytdbot.docs type message |
class <name…> |
Abstract class → concrete types | python -m pytdbot.docs class InputFile |
update <name…> |
Update payload shape | python -m pytdbot.docs update updateNewMessage |
helper [name…] |
Pytdbot bound methods, Client helpers, utils | python -m pytdbot.docs helper reply_text reply_photo |
helper -q <query> |
Search helpers only | python -m pytdbot.docs helper -q escape |
batch <kind:name…> |
Mixed lookups in one call | python -m pytdbot.docs batch function:sendMessage type:message helper:reply_text |
stats |
Counts / TDLib version | python -m pytdbot.docs stats |
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +84 lines · +9 tokens per session c7d6bfbefc00
- 1mo ago First seen · 216 lines · 40 tokens per session scan A 5d195182cf53
pytdbot is a skill published in the GitHub repository pytdbot/client (137 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 3,557 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-08-30.
Other skills, from other repositories
fastapi
Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…
fastapi-expert
Expert-level FastAPI development for high-performance Python APIs with async support. Use when the user mentions Python, API, async, REST, OpenAPI, or Pydantic, or when the task involves FastAPI Features.
asyncio
Python asyncio - Modern concurrent programming with async/await, event loops, tasks, coroutines, primitives, aiohttp, and FastAPI async patterns.
fastapi
Build production FastAPI services with Pydantic v2 models, async-safe I/O, dependency injection, OpenAPI, webhook raw-body routes, and structured errors. Use for JSON APIs, Stripe webhooks, and TestClient/httpx testing.
affinity-python-sdk
Writes Python code using the Affinity SDK for CRM data access and automation.
python
Use when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.