Skip to content

Delegate Skills - Setup Guide

Source: bassemZohdy/delegate-skills Category: Agent Infrastructure / Multi-Agent Orchestration License: MIT ยท Published: June 28, 2026

Delegate long-running coding tasks to background agent workers with full git worktree isolation. The parent agent spawns a worker in a separate worktree, the worker does the task, and the parent gets a summary - without polluting the main working directory or context window. Self-healing monitoring restarts failed workers automatically.


Architecture

Parent Agent (Hermes)
  โ”‚
  โ”œโ”€ spawns โ†’ Worker Agent (isolated git worktree)
  โ”‚              โ”‚
  โ”‚              โ”œโ”€ runs task in background
  โ”‚              โ”œโ”€ self-healing monitor watches for failures
  โ”‚              โ””โ”€ returns summary + artifacts
  โ”‚
  โ””โ”€ continues other work while worker runs

Key Capabilities

Feature Description
Git worktree isolation Each worker gets its own worktree - no collisions
Self-healing monitoring Crashed workers are detected and restarted
Summary return Workers return structured results, not raw logs
Multi-agent support Claude Code, Hermes, any agent with shell access
Artifact handoff Workers can produce files, branches, or PRs

Installation

npx skills add bassemZohdy/delegate-skills

Direct clone:

git clone https://github.com/bassemZohdy/delegate-skills.git
cp -r delegate-skills/skills/* ~/.hermes/profiles/<your-profile>/skills/

Prerequisites

# Ensure git worktree support
git config --global core.worktreeConfig true

# The background agent CLI (choose one)
npm install -g @anthropic-ai/claude-code   # Claude Code
# or: Hermes Agent is already your runtime

Usage with Hermes Agent

"Delegate the payment refactoring to a background agent"
"Spawn a worker to fix all the lint errors in the api/ directory"

The skill handles: 1. Creating an isolated git worktree 2. Spawning the background agent with the task 3. Monitoring for completion or failure 4. Returning a summary when done


CorpusIQ Use Cases

Use Case How
Parallel feature work Delegate independent tasks to concurrent workers
Code cleanup sprints Spawn workers for linting, formatting, dead code removal
Test suite expansion One worker per test module
Multi-repo operations Workers operate in isolated worktrees across repos

Pitfalls

  • Workers consume additional disk space (one worktree per task)
  • Large monorepos may have slow worktree creation
  • Background agents need their own API keys configured
  • Check git worktree list periodically to clean up stale workers

Same Name, Different Project

Looking for the other Delegate Skills? AmElnagdy Delegate Skills - CLI Agent Fleet Orchestration (October 2026) is a separate project that shares this name: it dispatches coding tasks to installed implementer CLIs (Codex, Claude Code, Gemini-family, and others) instead of background worktree workers.


This guide is part of the Hermes Skills Catalog. Discovered June 29, 2026. Powered by CorpusIQ.

Integration with CorpusIQ

CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.

This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.

See what CorpusIQ connects

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing