dynamic-telegram-bot-api-mcp: Instructions file for Codex

AGENTS.md

dynamic-telegram-bot-api-mcp AGENTS.md is an instructions file for Codex, OpenCode from PrimeUpYourLife/dynamic-telegram-bot-api-mcp. It costs 1,683 tokens per session, scanned A, original, MIT.

Repository instructions for a Node.js 20+ TypeScript MCP server that exposes Telegram's Bot API to coding agents. Telegram's Bot API lets software interact with Telegram accounts and chats.

In plain words
What is it for?
Use it when developing, configuring, testing, or extending this Telegram MCP server, including its tools, validation, uploads, and schema handling.
Why use it?
It gives contributors the repository layout, setup details, commands, and implementation rules needed to make consistent changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is PrimeUpYourLife/dynamic-telegram-bot-api-mcp's own configuration. It tells Codex and OpenCode how to work on dynamic-telegram-bot-api-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dynamic-telegram-bot-api-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to PrimeUpYourLife/dynamic-telegram-bot-api-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PrimeUpYourLife/dynamic-telegram-bot-api-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/PrimeUpYourLife/dynamic-telegram-bot-api-mcp

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for dynamic-telegram-bot-api-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md/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.

agentmods 80×15 button for dynamic-telegram-bot-api-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/primeupyourlife/dynamic-telegram-bot-api-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,683 This file is loaded in full into every session.
When invoked 1,683 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01683 $0.01683
Opus 5.5 $0.00673 $0.00673
Sonnet 5.5 $0.00337 $0.00337
Haiku 4.5 $0.00168 $0.00168

Measured 1mo ago against content hash d73106a5ac8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dynamic-telegram-bot-api-mcp AGENTS.md 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.

AGENTS.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repository Instructions

These instructions apply to the entire repository. More specific AGENTS.md files, if added in subdirectories, may refine them for their subtree.

Repository Overview

This project is a Node.js 20+ Model Context Protocol server written in strict TypeScript. It exposes the Telegram Bot API through a small, stable set of MCP tools backed by a generated local schema.

Key locations:

  • src/config.ts: process environment and current-project .env loading, validation, and path resolution.
  • src/index.ts: stdio entrypoint and startup schema refresh.
  • src/project-context.ts: MCP roots resolution, per-project configuration precedence, and Telegram client caching.
  • src/server.ts: MCP server composition and tool registration.
  • src/tools/: implementations of the five public MCP tools.
  • src/telegram-client.ts: Telegram HTTP calls, retries, errors, auditing, and ArrayBuffer-backed multipart file construction.
  • src/schema-parser.ts, src/schema-store.ts, and src/schema.ts: schema parsing, validation, persistence, and types.
  • src/validation.ts: runtime validation of Telegram method arguments.
  • src/uploads.ts: local-file validation and multipart upload handling.
  • data/telegram-bot-api.json: generated, checked-in Telegram API catalog.
  • server.json: official MCP Registry metadata for the published npm package.
  • scripts/refresh-schema.ts: command-line schema refresh.
  • test/: Vitest test suite.
  • .github/workflows/refresh-schema.yml: refreshes the schema, synchronizes release versions, creates GitHub releases, and dispatches npm publication.
  • .github/workflows/publish-npm.yml: validates and publishes a matching Git tag to npm when a GitHub release is published, or when dispatched manually or by the schema refresh workflow.

Setup and Commands

Use the package scripts as the source of truth:

npm ci                 # Install exactly from package-lock.json
npm run dev            # Run the TypeScript entrypoint locally
npm run refresh-schema # Refresh the checked-in Telegram schema
npm run check          # Type-check without emitting files
npm test               # Run the Vitest suite once
npm run build          # Compile TypeScript into dist/

Read the full file on GitHub · 107 lines

Changes

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.

  1. 1mo ago Changed · +1 lines · +15 tokens per session d73106a5ac8a
  2. 2mo ago Changed · +1 lines · +90 tokens per session ff35b9bdef42
  3. 2mo ago First seen · 105 lines · 1,578 tokens per session scan A 8d4caa43a711

Subscribe to this mod's changes

dynamic-telegram-bot-api-mcp AGENTS.md is an instructions file published in the GitHub repository PrimeUpYourLife/dynamic-telegram-bot-api-mcp (0 stars, last pushed 19d ago), licensed MIT. It adds 1,683 tokens to every session, about $0.0067 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-01.

Related

dynamic-telegram-bot-api-mcp AGENTS.md compared with instructions from other repositories

dynamic-telegram-bot-api-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dynamic-telegram-bot-api-mcp AGENTS.mdPrimeUpYourLife/dynamic-telegram-bot-api-mcpInstructions file019d agoMITA1,683Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode