Borrowing it
Nothing to install: this file belongs to garfiec/Librechat-Mobile. 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/garfiec/Librechat-Mobile/develop/.claude/skills/sync-upstream/SKILL.mdgit clone --depth 1 https://github.com/garfiec/Librechat-MobileWrote 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/garfiec/librechat-mobile/sync-upstream)<a href="https://agentmods.dev/skills/garfiec/librechat-mobile/sync-upstream"><img src="https://agentmods.dev/badge/skills/garfiec/librechat-mobile/sync-upstream/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/garfiec/librechat-mobile/sync-upstream"><img src="https://agentmods.dev/badge/skills/garfiec/librechat-mobile/sync-upstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00089 | $0.04282 |
| Opus 5.5 | $0.00036 | $0.01713 |
| Sonnet 5.5 | $0.00018 | $0.00856 |
| Haiku 4.5 | $0.00009 | $0.00428 |
Grade A, and why
sync-upstream 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 3d 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 — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sync Upstream
Synchronize the Switchboard app with a newer version of the official LibreChat server.
You are the coordinator. You run the lightweight deterministic work yourself with Bash
(prereqs, target/mode resolution, final consistency asserts) and own the three human decision
points. All heavy parallel work is delegated to two dynamic workflows — you never read or
write app code yourself.
[you] 0. Prereqs + resolve target + detect mode (Bash — fail loud on ambiguity)
│
[WF1] 1. sync-upstream-discovery — parallel multi-angle sweep → converged findings
│
[you] 2. HITL INTERVIEW — the one real gate: target + scope + direction (AskUserQuestion)
│
[WF2] 3. sync-upstream-implement — implement → build+consistency gates → ≥2 independent review passes
│
[you] 4. TEST + PUSH TAIL — present test plan, facilitate device testing, hold the push gate
Two workflows do the work; you hold the seams. A workflow cannot pause to ask the user — that is exactly why the target choice, the proposal approval, and the no-push/device-test boundary live in your main loop between invocations, never inside a script.
Two modes
Resolve these before anything else (Phase 0), because they change the whole run:
| Mode | Trigger | Goal | Version bookkeeping |
|---|---|---|---|
| sync | resolved target commit ≠ current pin | absorb new upstream changes | advances (version.properties, UPSTREAM_VERSION, submodule, commit map) |
| audit | resolved target commit == current pin (or audit in $ARGUMENTS) |
re-check that the LAST synced delta was fully/correctly absorbed — find misses | none — the pin does not move |
Audit's default range is the last synced delta (previous pin → current pin), recovered from
UPSTREAM_VERSION's own git history. --full widens it to full-pin reconciliation.
Target Modes (sync)
| Mode | Target looks like | backendTargetVersion |
UPSTREAM_VERSION | Gating strategy |
|---|---|---|---|---|
| release | v0.8.8 (default: latest stable tag) |
0.8.8 |
tag=v0.8.8, commit=<tag commit> |
isCompatibleOrNewer(version, "0.8.8-rc1") |
| rc | v0.8.8-rc1 |
0.8.8-rc1 |
tag=v0.8.8-rc1, commit=<tag commit> |
isCompatibleOrNewer(version, "0.8.8-rc1") |
| partial | dev, main, or a SHA |
<base>+dev.<sha8> |
tag=<last v-tag at/before commit>, commit=<target SHA> |
supportsFeature(detected, "<next-rc-line>", landedDate) |
What ships with it
6 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.
- 3d ago Changed · +13 lines 52962610dc64
- 25d ago Changed · +28 lines 174030602ecc
- 1mo ago Changed 0944ba2c627b
- 2mo ago First seen · 234 lines · 89 tokens per session scan A 4dc411212ded
sync-upstream is a skill published in the GitHub repository garfiec/Librechat-Mobile (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 89 tokens to every session and 4,282 once invoked, about $0.0004 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.
sync-upstream compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sync-upstreamgarfiec/Librechat-Mobile | Skill | 146 | yesterday | Apache-2.0 | A | 89 | Claude Code |
| publish-siteNousResearch/hermes-agent | Skill | 261k | yesterday | MIT | A | 19 | Claude Code, Codex |
| codexNousResearch/hermes-agent | Skill | 261k | yesterday | MIT | A | 17 | Claude Code, Codex |
| code-reviewasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 230 | Claude Code |
| batchasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 30 | Claude Code |
| githubasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 19 | Claude Code, Codex |
| gitasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 163 | Claude Code |