update-git-repos

update-git-repos is a skill for Claude Code from paulbaranowski/wild-horses. It costs 95 tokens per session (3,609 once invoked), scanned A, original, MIT.

A command for updating multiple Git repositories from their remote copies. A Git repository is a project whose files and change history are tracked; the remote copy is usually hosted on a service such as GitHub.

In plain words
What is it for?
Finding repositories, adding or removing them from the update list, viewing the configuration, and pulling updates from selected branches across all configured repositories.
Why use it?
It avoids opening each project and pulling updates separately, while providing choices when local uncommitted work could be affected.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/paul/dev/foo.

Part of the update-git-repos plugin — 1 skill shipped together

Good fit Finding repositories, adding or removing them from the update list, viewing the configuration, and pulling updates from selected branches across all configured repositories.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add paulbaranowski/wild-horses
Claude Code
/plugin install update-git-repos

Made for: Claude Code.

Or install update-git-repos, the plugin that ships this one along with the rest of its 1 skill.

Wrote 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.

agentmods badge for update-git-repos

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulbaranowski/wild-horses/update-git-repos/github.svg)](https://agentmods.dev/skills/paulbaranowski/wild-horses/update-git-repos)
Your own site
<a href="https://agentmods.dev/skills/paulbaranowski/wild-horses/update-git-repos"><img src="https://agentmods.dev/badge/skills/paulbaranowski/wild-horses/update-git-repos/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.

agentmods 80×15 button for update-git-repos

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulbaranowski/wild-horses/update-git-repos"><img src="https://agentmods.dev/badge/skills/paulbaranowski/wild-horses/update-git-repos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,609 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.03609
Opus 5.5 $0.00038 $0.01444
Sonnet 5.5 $0.00019 $0.00722
Haiku 4.5 $0.00010 $0.00361

Measured 3mo ago against content hash 4b2c9b0a4555, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

update-git-repos 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 3mo 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.

plugins/update-git-repos/skills/update-git-repos/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

update-git-repos

Pull every repo in the config from origin/<branch> in one shot. When a working tree is dirty, pull-all applies the configured default action — ask (the default), skip, or stash — resolved per-repo then globally; ask reports the repo for the workflow to prompt you to choose stash → fetch/merge → pop, or skip.

Quick reference

  • Config: ~/.config/wild-horses/update-git-repos/repos.json — {"default_dirty_action": "ask|skip|stash", "repos": [{"path": "...", "branch": "main", "dirty_action": "ask|skip|stash"}, ...]}. Both action keys are optional; default_dirty_action defaults to ask, and a per-repo dirty_action overrides it. Resolution: per-repo dirty_action → top-level default_dirty_action → ask.
  • CLI: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/update_repos_cli.py" <subcommand>
  • Subcommands: bootstrap-discover --root DIR, add PATH [--branch B], remove PATH, set-action <ask|skip|stash|inherit> [--repo PATH], list, pull-all, pull-one PATH [--stash], fix-bare PATH
  • list prints the full config as JSON. Use it only when the user wants to preview what's configured without pulling — it is not part of the pull flow (step 1 below uses pull-all's own empty-config signal instead).
  • Every subcommand prints JSON on stdout. Parse it; do not screen-scrape.
  • Exit codes: 0 means the command itself succeeded (per-repo errors live inside the JSON's status field); non-zero means the command itself failed (bad path, corrupt config, etc).

Procedure

Start with the pull (step 1) — pull-all is the authoritative existence check. It returns {"empty": true, ...} (exit 0) when the config has no repos; only then fall back to bootstrap (step 2). Don't precheck with a separate list call — that dumps the entire config into context to answer a yes/no pull-all already answers, and pull-all re-reads the same config from disk anyway, so you pay for the config twice.

1. Pull everything

Read the full file on GitHub · 160 lines

Files

What ships with it

2 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.

Changes

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.

  1. 3mo ago First seen · 160 lines · 95 tokens per session scan A 4b2c9b0a4555

Subscribe to this mod's changes

update-git-repos is a skill published in the GitHub repository paulbaranowski/wild-horses (14 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 3,609 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.

Related

update-git-repos compared with skills from other repositories

update-git-repos next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-git-repospaulbaranowski/wild-horsesSkill141mo agoMITA95Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k4d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.8ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k2d agoMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex