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 mostafa-drz/claude-skills --skill sync-branchgit clone --depth 1 https://github.com/mostafa-drz/claude-skillsWrote 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/mostafa-drz/claude-skills/sync-branch)<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/sync-branch"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/sync-branch/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/mostafa-drz/claude-skills/sync-branch"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/sync-branch.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.00049 | $0.01277 |
| Opus 5.5 | $0.00020 | $0.00511 |
| Sonnet 5.5 | $0.00010 | $0.00255 |
| Haiku 4.5 | $0.00005 | $0.00128 |
Grade A, and why
sync-branch 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 13d 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 — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sync Branch
Merge one branch into another, handling conflicts and preserving work in progress.
Preferences
Read ~/.claude/skills/sync-branch/preferences.md using the Read tool. If not found, no preferences are set.
Context
On startup, use Bash to detect: current git branch, git status, and remote URL (git remote get-url origin). Skip any that fail.
Command routing
Check $ARGUMENTS:
help→ display help then stopconfig→ interactive setup then stopreset→ delete~/.claude/skills/sync-branch/preferences.md, confirm, stop- anything else → sync branches
Flags
Parse from $ARGUMENTS:
--no-push— merge locally, don't push--dry-run— show what would happen without executing- Positional args:
$0= source branch,$1= target branch
Help
Sync Branch — Merge one branch into another
Usage:
/sync-branch Merge default source into current branch
/sync-branch <source> Merge source into current branch
/sync-branch <source> <target> Merge source into target
/sync-branch --no-push <source> Merge without pushing
/sync-branch --dry-run <source> Preview without executing
/sync-branch config Set defaults
/sync-branch reset Clear preferences
/sync-branch help This help
Examples:
/sync-branch main
/sync-branch main all-demos
/sync-branch --dry-run main feature/auth
/sync-branch --no-push develop
How it works:
1. Stashes uncommitted work (if any)
2. Updates source and target branches from remote
3. Merges source into target
4. Resolves conflicts (preserving both sides)
5. Pushes target (unless --no-push)
6. Restores original branch and stash
Current preferences:
(shown above under Preferences)
Config
Use AskUserQuestion:
Q1 — "Default source branch?" (main (default), develop, custom) Q2 — "Auto-push after merge?" (Yes (default), No) Q3 — "Conflict resolution style?" (preserve-both (default) — keep changes from both sides, ask-each — show each conflict and ask, prefer-source — favor source branch, prefer-target — favor target branch)
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.
- 13d ago Changed · +3 lines 9625c6e1fd14
- 2mo ago Changed · +3 lines · +49 tokens per session a042f07835fc
- 3mo ago First seen · 178 lines · 0 tokens per session scan A 0254b0b826f0
sync-branch is a skill published in the GitHub repository mostafa-drz/claude-skills (5 stars, last pushed 13d ago), licensed MIT. It adds 49 tokens to every session and 1,277 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-31.
sync-branch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sync-branchmostafa-drz/claude-skills | Skill | 5 | 13d ago | MIT | A | 49 | Claude Code |
| rudder-import-and-evolverudderlabs/rudder-agent-skills | Skill | 19 | 4d ago | MIT | A | 37 | Claude Code |
| iterateSZoloth/skill-pack | Skill | 14 | 2mo ago | MIT | A | 73 | Claude Code |
| vienen-las-visitasmcasillas17/mexican-mom | Skill | 2 | 3mo ago | MIT | A | 63 | Claude Code |
| bootstrap-projectjkm-4314/claude-code-skills | Skill | 4 | 6mo ago | MIT | A | 54 | Claude Code |
| session-endjkm-4314/claude-code-skills | Skill | 4 | 6mo ago | MIT | A | 27 | Claude Code |
| visual-explainer-diffjircik/Visual-Explainer | Skill | 6 | 6mo ago | MIT | A | 87 | Claude Code, Codex |