Bring remote changes into local branches across all tracked repositories using fast-forward only, then report what changed. Run only when the user explicitly asks to sync, pull or update their repositories.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Remote?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dev-wesley-13-remote)
---
name: remote
description: Bring remote changes into local branches across all tracked repositories using fast-forward only, then report what changed. Run only when the user explicitly asks to sync, pull or update their repositories.
argument-hint: "[repo-path ...]"
disable-model-invocation: true
allowed-tools: Bash(bash *git-parity.sh*)
---
# git-parity: remote
Report (already generated; branches strictly behind their remote were fast-forwarded, nothing else was touched):
!`bash "${CLAUDE_PLUGIN_ROOT}/scripts/git-parity.sh" remote $ARGUMENTS`
If no report appears above (only Claude Code runs that line), run the script once yourself and use its output: `bash <plugin-root>/scripts/git-parity.sh remote <arguments the user gave>`, where `<plugin-root>` is two directories above this file.
On Windows the script needs a POSIX shell. When the repositories live in WSL, run this (the quoting is deliberate: write the script's Windows path with forward slashes, no backslashes and no inner quotes, because PowerShell strips the quotes and bash eats backslashes):
`wsl.exe -d <distro> -- bash -c 'bash "$(wslpath -u <windows-path-with-forward-slashes>/scripts/git-parity.sh)" remote <arguments>'`
Examples of the path: `C:/Users/me/.codex/plugins/cache/git-parity/git-parity/<version>` or `//wsl.localhost/Ubuntu-24.04/home/me/project/.agents/plugins/git-parity`. Otherwise use Git Bash. Do not reimplement the script in PowerShell, and do not edit line endings: the file already uses LF.
If the output ends with a "Setup" section or a "Note:" about the current repository, no list (or not this repository) is saved yet. After the report, tell the user in one or two sentences which groups were detected, ask about anything listed under "Ask the user about", and ask once whether to save. On a yes, run the printed `add` command(s) exactly; if a command fails, show it so the user can run it. Do not ask again in this session after a no.
## What to do
1. Show the report as is: table, "Clean" line, "Next steps". Translate prose to the user's language; keep names, states and commands verbatim.
2. Start with one or two sentences: how many repos were updated ("updated +N" in Detail) and how many need the user.
3. For a DIVERGED row, explain both sides in one line each and offer the options (merge, rebase, or leave it). Run nothing without an explicit yes.
## Hard rules
- Never pull over uncommitted changes, never `stash`, `reset`, `rebase`, `merge` (other than what the script already did), `checkout`/`switch`, force anything or delete a branch on your own.
- Never push. Use `/git-parity:local` for that.
- A skipped repo is a correct outcome. Report it; do not "fix" it.