<< All versions

Skill v0.1.0

currentAutomated scan100/100
knuckles-team/repository-manager/repository-manager-bulk-git-operations
──Details
PublishedNovember 17, 2026 at 11:07 AM
Content Hashsha256:e9f92d881f71d7f3...
Git SHA0859a435702d
──Files
Files (1 file, 5.7 KB)
SKILL.md5.7 KBactive
SKILL.md · 109 lines · 5.7 KB

name: repository-manager-bulk-git-operations skill_type: skill description: >- Bulk, parallel git operations across a whole workspace of repositories via the repository-manager MCP server — clone, pull, push, add, commit, pre-commit, and enumerate every repo across a GitLab instance / GitHub org into an ingest manifest (which also natively ingests them into the knowledge graph as typed :GitRepository nodes). Raw host git commands are permanently retired and always refused. Use when the agent must operate over many repos at once or discover the full repo inventory. Do NOT use for single-session worktree branches (repository-manager-worktree-orchestration) or per-project install/validate/ version bumps (repository-manager-workspace-validation). license: MIT tags: [repository-manager, git, bulk, enumerate, mcp] metadata: author: Knuckles-Team version: '0.1.0'


Repository Manager — Bulk Git Operations

Fan-out git operations across every repository in a workspace, plus enterprise-scale remote enumeration, over the repository-manager MCP server. Long-running actions run as background jobs; poll them via the job status path.

When to use

  • Clone / pull / push / add / commit across many repos in parallel.
  • Run pre-commit hooks or a gated commit_code (hooks then commit) across projects.
  • enumerate every repository across a GitLab instance / GitHub org into an ingest

manifest — and natively ingest them into the KG as :GitRepository nodes.

★ There is no arbitrary/raw git command action. rm_git_raw is accepted by the action resolver (so it does not read as a typo) but the handler always returns a refusal — "Raw host commands are permanently retired; use a typed repository-manager action through governed delegation." — regardless of command. If the task genuinely has no typed action here, that is a signal to stop and report the gap, not to route around it with a raw command.

When NOT to use

  • Isolated per-session branch worktrees → repository-manager-worktree-orchestration.
  • Install / build / validate / version-bump managed projects → repository-manager-workspace-validation.

Prerequisites & environment

Connect via the mcp-client skill against the `repository-manager` MCP server.

VariableRequiredNotes
REPOSITORY_MANAGER_WORKSPACE / WORKSPACE_PATH✅Workspace root holding the checkouts
REPOSITORY_MANAGER_THREADS / RM_MAX_WORKERSoptionalParallelism for bulk ops
RM_GATE_BEFORE_PUSHoptionalRun the pre-push validation gate before pushing
GITLAB_URL / GITLAB_PRIVATE_TOKENfor enumerate gitlabGitLab instance + PAT
GITHUB_TOKEN / GH_TOKENfor enumerate githubGitHub PAT
GIT_OPERATIONSTOOLoptionalGate the git-operations tool tag on

Tools & actions

Tool groupPer-operation tools
rm_git_*rm_git_raw, rm_git_clone, rm_git_enumerate, rm_git_pull, rm_git_push, rm_git_add, rm_git_commit, rm_git_pre_commit, rm_git_commit_code, rm_git_status, rm_git_cancel

Key parameters

  • command — the VCS selector (gitlab|github) for enumerate. (raw also reads

command for its message, but the action always refuses — see above.)

  • projects — comma-separated repo URLs (clone) or directory names/paths (pull/push/add/commit);

for enumerate, comma-separated GitLab groups / GitHub orgs (omit for whole instance / your user).

  • message — commit message for commit / commit_code.
  • run_precommit — for commit_code: run hooks before committing (default true).
  • job_id — required for status and cancel; use the id returned by a submitted rm_git_* job.

Recipes

Pull every repo in the workspace:

rm_git_pull()

Commit code across two repos with pre-commit hooks first:

rm_git_commit_code(projects="scion-sdk,gitlab-api", message="chore: sweep", run_precommit=true)

Enumerate an entire GitLab instance (also KG-ingests as :GitRepository nodes):

rm_git_enumerate(command="gitlab")

Enumerate specific GitHub orgs:

rm_git_enumerate(command="github", projects="my-org,another-org")

Gotchas

  • clone/pull/push/commit/pre_commit/commit_code return a job id and run in

the background — poll with rm_git_status(job_id="<id>") rather than expecting inline results.

  • Do not submit add and commit as separate dependent jobs; use commit_code for its ordered

stage → gate → commit operation.

  • cancel cancels queued work. Once a job is running it returns an explicit refusal because the

underlying Git/pre-commit operation has no safe cooperative-cancellation boundary.

  • enumerate returns {count, run_id, manifest, ingested}; ingested is null when no KG engine is

reachable (best-effort, non-fatal).

  • push honors the pre-push gate when RM_GATE_BEFORE_PUSH is set — a failing gate blocks the push.
  • commit/commit_code require message. raw is permanently retired (see above) — do not

build a workflow that depends on it succeeding.

  • Any tool's live action set is self-discoverable: list the served rm_git_* tools (tools/list); that is the current set — use it if this table and the

live server ever disagree.

Related

  • repository_ingest_repositories — the Wire-First native ingestion tool that enumerates a VCS and pushes

the repos into the knowledge graph as typed :GitRepository nodes (the same ingestion enumerate triggers).

  • repository-manager-worktree-orchestration for isolated session branches.
  • repository-manager-development-lifecycle — the governed entrypoint; this skill is the

lower-level bulk verb surface underneath it, for many-repo fan-out rather than one lane's lifecycle.

All versions