/github-ops:bulk-labels-rulesfrom github-ops
Sync issue labels, rulesets / branch protection, and issue or PR templates across many repos from one source repo or spec. Use on "same labels on all my repos", "protect main everywhere", "copy this ruleset to these repos", "standardise issue templates".
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 source of truth (a repo or a JSON spec), applied to a set of repos with plan → one yes → apply → verify.
Source: a repo (gh label list -R <src> --json name,color,description --limit 500) or a
JSON spec of the same shape.
gh label clone <src> -R <target> --force (adds and overwrites, never
deletes). From a spec: gh label create "<name>" -R <t> --color <hex> --description "<d>" --force.gh label delete "<name>" -R <t> --yes.Prefer rulesets over classic branch protection. Read the source:
gh api repos/<src>/rulesets -q '.[]|{id,name,target,enforcement}'
gh api repos/<src>/rulesets/<id> | jq 'del(.id,.source,.source_type,.node_id,._links,.created_at,.updated_at,.current_user_can_bypass)' > /tmp/<task>/ruleset.json
gh api repos/<t>/rulesets).gh api -X POST repos/<t>/rulesets --input /tmp/<task>/ruleset.json.
Update: gh api -X PUT repos/<t>/rulesets/<id> --input ....403
or "Upgrade to GitHub Pro" there is that, not a bug: list those repos and move on.bulk-apply-change --skip-pr). Say so in the plan and add the owner as a
bypass actor if they push directly.Classic protection instead (only if asked): gh api -X PUT repos/<t>/branches/<b>/protection --input <json>.
These are files (.github/ISSUE_TEMPLATE/*, .github/pull_request_template.md): copy them
with bulk-apply-change (script: copy from a source dir, idempotent). An owner-wide default
can live once in the owner's .github repo instead of every repo: suggest that when the set
is "all my repos".
Per repo and per item: added / updated / unchanged / failed (reason); lead with the counts.
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