Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
This skill allows you to delegate any git operation to the Manager. Since Workers don't have access to git credentials, all git commands that require authentication must be delegated.
What Can Be Delegated
Any git command, including but not limited to:
git clone - Clone repositories
git fetch / git pull - Fetch/pull from remote
git push - Push to remote
git checkout / git switch - Switch branches
git branch - Manage branches
git add / git commit - Stage and commit
git merge - Merge branches
git rebase - Rebase commits (including interactive)
workspace: Directory to work in (parent dir for clone, repo dir for other ops)
operations: List of git commands to execute (literally what to run)
context: (Optional) What you're trying to accomplish - helps Manager understand intent
Step-by-Step Workflow
1. Check for Processing Marker
Before making changes, check if the task directory is being processed:
# Sync from MinIO
mc mirror "${AGENTTEAMS_STORAGE_PREFIX}/shared/tasks/{task-id}/" \
"/root/agentteams-fs/shared/tasks/{task-id}/"# Check for processing markerif [ -f "/root/agentteams-fs/shared/tasks/{task-id}/.processing" ]; thenecho"Task directory is being processed. Wait for manager to complete."fi
2. Prepare Your Request
Write out the git commands you want executed:
@manager:DOMAIN task-20260225 git-request:
workspace: /root/agentteams-fs/shared/tasks/task-20260225/workspace
operations:
- git clone https://github.com/agentscope-ai/AgentTeams.git
- cd agentteams && git checkout -b feature-xyz
---CONTEXT---
Starting work on feature XYZ
---END---
3. Wait for Response
Success — git-result:
@alice:DOMAIN task-20260225 git-result:
Git operations completed successfully.
Cloned to: /root/agentteams-fs/shared/tasks/task-20260225/workspace/agentteams
Created branch: feature-xyz
Run `agentteams-sync` to sync.
Failure — git-failed:
@alice:DOMAIN task-20260225 git-failed:
Git operation failed: {error message}
{Suggestion for how to fix}
4. Sync and Continue
After receiving git-result::
# Sync from MinIO
agentteams-sync
# Now you can work locallycd /root/agentteams-fs/shared/tasks/task-20260225/workspace/agentteams
# Read files, modify files, etc.cat src/main.py
# ... make changes ...# When ready to commit, sync to MinIO first
mc mirror "/root/agentteams-fs/shared/tasks/task-20260225/" \
"${AGENTTEAMS_STORAGE_PREFIX}/shared/tasks/task-20260225/" --overwrite
You can run any git command that doesn't need authentication locally:
# These work locally (no auth needed):
git status
git log
git diff
git branch
git diff --staged
# These require delegation (need auth):
git clone https://github.com/...
git push
git fetch
git pull
Advanced Operations
Interactive Rebase
@manager:DOMAIN task-20260225 git-request:
workspace: /root/agentteams-fs/shared/tasks/task-20260225/workspace/agentteams
operations:
- git rebase -i HEAD~3
---CONTEXT---
Squashing the last 3 commits into one
---END---
Cherry-pick
@manager:DOMAIN task-20260225 git-request:
workspace: /root/agentteams-fs/shared/tasks/task-20260225/workspace/agentteams
operations:
- git cherry-pick abc123def
---CONTEXT---
Cherry-picking fix from main branch
---END---
Before sending a git-request:, plan ALL operations in your head first. Think through the entire workflow — clone, branch, file creation, commit, push — and include everything in a SINGLE request. Do NOT send partial requests and iterate.
Bad (multiple requests, trial-and-error):
# Request 1: just clone
git-request: clone repo...
# Wait... then Request 2: create branch
git-request: checkout branch...
# Wait... then Request 3: add files and push
git-request: add, commit, push...