/github-ops:bulk-repo-opsfrom github-ops
Apply one GitHub-side change to many repos: topics, descriptions, visibility, archive, rename, default branch, settings. Dry-run plan, one confirmation, verify each. Use whenever a settings or metadata change touches more than a few repos: "archive all X", "tag these repos", "add a description/homepage to all my sites", "turn off wikis everywhere", "rename these repos".
Ships in github-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One change across a set of repos, done as select → plan → confirm → apply → verify.
Local git work across clones is bulk-git-ops; deletion is delete-repo (it has its own
safeguards).
Build the set from: an explicit list; gh repo list <owner> --limit 5000 --json ... with a
filter (pull fully and reconcile as in list-repos); gh search repos "<query>" --owner <o> --limit 1000; or the components of a master repo (git config -f .gitmodules --get-regexp url).
Resolve every entry to its canonical full_name (renames, repo-exists).
A table: repo, current value, new value. Drop rows already at the target. Show the count. The user's yes covers exactly this table.
| Operation | Read current | Apply |
|---|---|---|
| Add / remove topics | gh api repos/<r> -q .topics | gh repo edit <r> --add-topic a,b / --remove-topic a |
| Description / homepage | .description, .homepage | gh repo edit <r> --description "..." --homepage <url> |
| Visibility | .visibility | per repo, set-repo-visibility (going public needs its history sweep, per repo) |
| Archive / unarchive | .archived | gh repo archive <r> --yes / gh repo unarchive <r> --yes |
| Rename | .full_name | gh repo rename <new> -R <r> --yes, then fix local remotes and .gitmodules URLs |
| Default branch | .default_branch | gh repo edit <r> --default-branch <b> (branch must exist) |
| Features | .has_issues, .has_wiki, .has_projects | gh repo edit <r> --enable-issues=false etc. |
| Merge settings | .allow_squash_merge ... | gh repo edit <r> --enable-squash-merge --delete-branch-on-merge |
| Transfer | .owner.login | GH_TOKEN=$T gh api -X POST repos/<r>/transfer -f new_owner=<o> (admin token, references/auth.md) |
Sequentially or 4 at a time; back off on 403 secondary rate limits (wait 60s, retry once).
Log each result as you go so a partial run can resume.
Re-read the field for every repo from the API; exit codes don't count. Report:
[{"repo": "alex-dev/Foo", "op": "add-topic", "before": ["cli"], "after": ["cli","github"], "ok": true}]
Lead with n ok / n skipped / n failed. Archiving and renaming break inbound links, CI
badges, submodule URLs and package references: name any you know of.
What SKILL.md sets; muted values are Claude Code's defaults
github-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin github-ops26 skills in this plugin
/breakaway-repoStart a new GitHub repo seeded from the current working directory (respecting .gitignore, no shared history) to try a radically different approach safely. Use on "break away from this repo"./bulk-apply-changeApply one file change to many GitHub repos with multi-gitter (script, dry run, push or PRs, verify). Use whenever the same edit is wanted in more than a few repos: "change this in all my repos", "update the footer/badge/workflow on every site", "add a LICENSE/CLAUDE.md to all of them", "bump X everywhere"./bulk-auditRead-only hygiene report across an owner's repos (missing description, topics, homepage, README, license; default-branch name; stale; forks/archived), as a table and JSON that feeds bulk-repo-ops. Use on "audit my repos", "which repos have no description", "repo hygiene report", "what's missing across my repos".Other plugins' skills for the same job