
GIT Delegation
将所有 git 操作委托给 Manager 执行。Worker 无法直接访问 git credentials,因此任何需要认证的 git...
Install
npx skills add agentscope-ai/AgentTeams --skill git-delegation -g -a claude-code -y- Repository
- agentscope-ai/AgentTeams5.9k
- Category
- Git and review
- Updated
- 3d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 2,123 tokens
- Runs scripts
- No, instructions only
What it does
将所有 git 操作委托给 Manager 执行。Worker 无法直接访问 git credentials,因此任何需要认证的 git 操作(clone、push、fetch 等)都需要通过此机制委托给 Manager。
Git Delegation
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 repositoriesgit fetch/git pull- Fetch/pull from remotegit push- Push to remotegit checkout/git switch- Switch branchesgit branch- Manage branchesgit add/git commit- Stage and commitgit merge- Merge branchesgit rebase- Rebase commits (including interactive)git cherry-pick- Cherry-pick commitsgit reset/git revert- Undo changesgit stash- Stash changesgit tag- Manage tagsgit submodule- Manage submodules- And any other git command...
If git can do it, you can delegate it.
When to Use This Skill vs github-operations
| Task | Use git-delegation | Use github-operations |
|---|---|---|
| Clone repository | ✅ | |
| Pull/fetch changes | ✅ | |
| Read/write files | ✅ | |
| Create/switch branches | ✅ | |
| Commit/push code | ✅ | |
| Rebase/cherry-pick | ✅ | |
| Manage tags | ✅ | |
| Create PR | ✅ | |
| Review/merge PR | ✅ | |
| Comment on PR | ✅ | |
| Create/update Issue | ✅ |
Message Format
Send a git-request: message to the Manager.
First, get your actual Matrix domain:
echo $AGENTTEAMS_MATRIX_DOMAIN
# e.g.: matrix-local.agentteams.io:18080
Then send (substitute the real domain, do NOT write $AGENTTEAMS_MATRIX_DOMAIN literally):

