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/upstream-sync/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/upstream-sync)<a href="https://agentmods.dev/skills/mark-life/telegram-claude-codex/upstream-sync"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/upstream-sync/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/upstream-sync"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/upstream-sync.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.00083 | $0.01741 |
| Opus 5.5 | $0.00033 | $0.00696 |
| Sonnet 5.5 | $0.00017 | $0.00348 |
| Haiku 4.5 | $0.00008 | $0.00174 |
Grade A, and why
upstream-sync 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 — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merging upstream into the bot you are running inside
This bot is a fork. The shared version lives on the upstream remote; your own
branch is @{u}, the branch git push sends to. Run this only when the owner
asks for it. The order below is mandatory for the same reason as in self-update:
the service restarts from what is committed and pushed, and a bad merge that
restarts can leave the owner with a bot that does not come back.
Every command runs from the repo root at the path your prompt names. Read
AGENTS.md there first.
Before you start
All three must hold. If one does not, change nothing, tell the owner in one sentence what is wrong, and stop.
git status --porcelain # must print nothing
git fetch
git log @{u}..HEAD --oneline # must print nothing: no unpushed commits
git remote get-url upstream # must succeed
A missing upstream remote is set up by the admin, not by you. Do not add it.
The loop
-
Fetch and look at what is coming:
git fetch upstream git log --oneline HEAD..upstream/main git rev-parse HEAD # the pre-merge commit: keep it for rollbackAn empty
git logmeans there is nothing to merge. Say so in one sentence and stop: no commit, no restart. -
Merge. Never rebase: your branch is pushed and a rebase rewrites it.
git merge --no-edit upstream/mainOn a conflict:
- Keep the fork's side of every conflict in code the fork changed on purpose. Read both sides; keep upstream's new lines when they do not clash with the fork's edit.
bun.lock: take upstream's version (git checkout --theirs bun.lock); step 5 rebuilds it.- A migration file this fork also has under the same name: keep upstream's and delete the fork's copy.
- A conflict you cannot resolve with confidence:
git merge --abort, report which files, and stop.
-
Clean
packages/db/src/migrations/local.ts, on a clean merge too, not only after a conflict. Drop from it every migration whose namepackages/db/src/migrations/index.tsnow lists, with its import. That migration came back from upstream under the same name; it is already applied and does not run again. A name in both lists fails the boot. Never editindex.tsor a migration upstream sent. -
Follow the upgrade guides this merge brings, in name order (
YYYYMMDD-NN-slug: date, then sequence). Each is written for you, for a change that needs a step on the fork's side:
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 · 183 lines · 83 tokens per session scan A 7c44fe60c560
upstream-sync is a skill published in the GitHub repository Mark-Life/telegram-claude-codex (12 stars, last pushed 5d ago), licensed MIT. It adds 83 tokens to every session and 1,741 once invoked, about $0.0003 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.
upstream-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| upstream-syncMark-Life/telegram-claude-codex | Skill | 12 | 5d ago | MIT | A | 83 | 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 |