git-delegation

Delegate authenticated Git operations to a Manager agent.

5.3k|652|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/alibaba/hiclaw --skill git-delegation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-delegation
Source: https://github.com/alibaba/hiclaw/tree/main/manager/agent/worker-skills/git-delegation
Command: npx skills add https://github.com/alibaba/hiclaw --skill git-delegation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows Workers to execute any Git operation that requires authentication by delegating it to the Manager, as Workers lack direct access to Git credentials.

Core Features & Use Cases

  • Full Git Operation Delegation: Supports all Git commands, including cloning, fetching, pushing, branching, committing, merging, and rebasing.
  • Secure Credential Handling: Ensures that sensitive Git credentials are never exposed to the Worker.
  • Use Case: A Worker needs to clone a private repository, make changes, and push them to a feature branch. This Skill enables the Worker to send these commands to the Manager for secure execution.

Quick Start

Send a git-request to the manager to clone the repository located at https://github.com/org/repo.git into the specified workspace.

Frequently Asked Questions about git-delegation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform git operations without exposing credentials to the worker agent?

To perform git operations without exposing credentials, delegate tasks like cloning and pushing to a Manager agent. This ensures secure execution by keeping sensitive Git credentials isolated from the Worker.

Can I clone a private repository without direct credential access?

Yes, you can clone a private repository without direct credential access by sending a git-request to the Manager. The Manager handles the authenticated clone operation securely within the designated workspace.

What git commands can be delegated to a Manager agent?

All standard git commands can be delegated to a Manager agent, including cloning, fetching, pushing, branching, committing, merging, and rebasing. This covers the full spectrum of repository management operations.

How does delegating version control tasks to another agent work?

Delegating version control tasks works by routing git commands from a Worker to a Manager. The Manager executes these commands in a workspace using its own authenticated access, returning the results without exposing credentials.

Does this git delegation method support rebasing and merging feature branches?

Yes, this git delegation method supports rebasing and merging feature branches. Workers can send complex repository management commands like merging and rebasing to the Manager for secure execution.