cat:spawn-subagent

Community

Isolate tasks with a controlled subagent.

Authorcowwoc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Launch a Claude Code subagent in an isolated git worktree to execute a task without user supervision. This approach ensures deterministic execution, strict context isolation, and clear governance over how tasks are executed within a project.

Core Features & Use Cases

  • Isolated subagent execution: Launch a Claude Code subagent in a separate git worktree to complete a task without exposing its internal reasoning to the main agent.
  • Hook inheritance and policy enforcement: Subagents automatically inherit project hooks and must comply with mandatory rules defined in the prompt.
  • Deterministic governance: Fail-fast prompts, explicit file paths, and exact commit/STATE.md updates are carried out in the same commit.

Quick Start

Prepare PLAN.md describing the task, then spawn a subagent using the Task tool. The subagent will run in its own worktree and return a structured summary of results, including STATE.md updates in the same commit.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cat:spawn-subagent
Download link: https://github.com/cowwoc/cat/archive/main.zip#cat-spawn-subagent

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.