Skill v0.1.0
currentAutomated scan100/100name: 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. enumerateevery 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.
| Variable | Required | Notes | |
|---|---|---|---|
REPOSITORY_MANAGER_WORKSPACE / WORKSPACE_PATH | ✅ | Workspace root holding the checkouts | |
REPOSITORY_MANAGER_THREADS / RM_MAX_WORKERS | optional | Parallelism for bulk ops | |
RM_GATE_BEFORE_PUSH | optional | Run the pre-push validation gate before pushing | |
GITLAB_URL / GITLAB_PRIVATE_TOKEN | for enumerate gitlab | GitLab instance + PAT | |
GITHUB_TOKEN / GH_TOKEN | for enumerate github | GitHub PAT | |
GIT_OPERATIONSTOOL | optional | Gate the git-operations tool tag on |
Tools & actions
| Tool group | Per-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) forenumerate. (rawalso 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 forcommit/commit_code.run_precommit— forcommit_code: run hooks before committing (default true).job_id— required forstatusandcancel; use the id returned by a submittedrm_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_codereturn a job id and run in
the background — poll with rm_git_status(job_id="<id>") rather than expecting inline results.
- Do not submit
addandcommitas separate dependent jobs; usecommit_codefor its ordered
stage → gate → commit operation.
cancelcancels 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.
enumeratereturns{count, run_id, manifest, ingested};ingestedisnullwhen no KG engine is
reachable (best-effort, non-fatal).
pushhonors the pre-push gate whenRM_GATE_BEFORE_PUSHis set — a failing gate blocks the push.commit/commit_coderequiremessage.rawis 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-orchestrationfor 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.