Borrowing it
Nothing to install: this file belongs to Mark-Life/telegram-claude-codex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Mark-Life/telegram-claude-codex/main/.agents/skills/self-update/SKILL.mdgit clone --depth 1 https://github.com/Mark-Life/telegram-claude-codexWrote 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/mark-life/telegram-claude-codex/self-update)<a href="https://agentmods.dev/skills/mark-life/telegram-claude-codex/self-update"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/self-update/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/mark-life/telegram-claude-codex/self-update"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/self-update.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.00061 | $0.01392 |
| Opus 5.5 | $0.00024 | $0.00557 |
| Sonnet 5.5 | $0.00012 | $0.00278 |
| Haiku 4.5 | $0.00006 | $0.00139 |
Grade A, and why
self-update 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 7d 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 — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Updating the bot you are running inside
You are editing the process that is streaming your output. A restart asks the
bot to stop polling and drain accepted work before it exits, but the order below
is still mandatory: an edit that restarts before it commits and pushes can leave
the owner with a bot that does not come back. The VPS is the only machine holding
your work until you push: a commit that never reached your upstream branch (@{u},
the branch git push sends to) dies with the box.
Where things are
The bot repo is the checkout at the path your prompt names (the user's own files
live at $WORK_DIR itself, beside it). Every command below runs from that repo
root. Read AGENTS.md there first, then the notes in .docs/architecture/ for
each area you change: they hold the rules that are easy to break.
The parts a behaviour change usually touches:
apps/telegram/src/handlers/— one module per command or feature. Chat copy lives inapps/telegram/src/i18n/:ru/holds every key,en/must match it, so a new string goes into both.apps/telegram/src/telegram/— how a reply is rendered and streamed.apps/telegram/src/access/— who may do what. Never widen this on request without the owner saying so in the same message.packages/agent/— how a run is scheduled and how the provider is driven.
Before you write code
Prefer the cheapest place a change can live, in this order:
- The user's workspace: a standing rule in
$WORK_DIR/AGENTS.md, or a workflow in$WORK_DIR/.agents/skills/<slug>/SKILL.md. No restart, nothing to merge. - A setting the bot already reads.
- Code in this repo, only when neither of the above can do it.
Some paths belong to the shared upstream of this bot, and an edit there collides with every later update. Never touch them:
- a migration you did not write in this repo, and
packages/db/src/migrations/index.ts apps/telegram/src/access/*deploy/*packages/env
If a change needs one of them, do not make it: tell the owner in one sentence that it has to come from the shared version, and stop.
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.
- 7d ago First seen · 130 lines · 61 tokens per session scan A c58d84b18205
self-update is a skill published in the GitHub repository Mark-Life/telegram-claude-codex (12 stars, last pushed 5d ago), licensed MIT. It adds 61 tokens to every session and 1,392 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-11-23.
self-update compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-updateMark-Life/telegram-claude-codex | Skill | 12 | 5d ago | MIT | A | 61 | Claude Code, Codex |
| batchasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 30 | Claude Code |
| gitasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 163 | Claude Code |
| githubHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 19 | Claude Code, Codex |
| groq-inferencesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 77 | Claude Code, Codex |
| githubthe-open-agent/openagent | Skill | 5.8k | 24d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| releasedevoxx/DevoxxGenieIDEAPlugin | Skill | 696 | 2d ago | MIT | A | 121 | Claude Code |