subagents

Spawn governed subagents with scoped tool permissions via runAgent.

10|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/CsHeng/dot-claude --skill subagents-csheng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagents
Source: https://github.com/CsHeng/dot-claude/tree/main/skills/subagents
Command: npx skills add https://github.com/CsHeng/dot-claude --skill subagents-csheng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Execution-layer skill for spawning subagents via runAgent.

Core Features & Use Cases

  • RunAgent Wrapper: Thin wrapper that delegates to governance for agent routing.
  • Scoped Permissions: Subagents run with explicit, limited tool permissions.

Quick Start

Use the subagents skill to spawn a delegated subagent under governance control.

Frequently Asked Questions about subagents

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

FAQPage Schema
How do I delegate tasks to subagents with limited tool permissions?

Delegation with restricted tool permissions is enforced through governance routing before subagent invocation. The subagents skill wraps runAgent to spawn subagents that execute only with explicit, scoped permissions you define, ensuring controlled task distribution across agents.

What's the difference between runAgent and governed subagent delegation?

Governed subagent delegation adds a permission-enforcement layer before runAgent invocation. While runAgent executes agents directly, the subagents skill routes through governance first, validating and restricting available tools, making it suitable for orchestration scenarios requiring safety controls.

When should I use subagent orchestration over direct agent execution?

Use subagent orchestration when you need explicit governance over distributed task execution, tool access restrictions, or safe agent lifetime control. It's designed for scenarios where permission enforcement and delegation governance must happen before any subagent spawns.

Can I enforce tool restrictions on delegated subagents?

Yes. The subagents skill enforces scoped permissions as a core feature—subagents run only with the explicit, limited tool set you authorize. Governance routing validates permissions prior to runAgent invocation, ensuring no unauthorized tool access.

How does governance routing work in subagent delegation?

Governance routing intercepts delegation requests before runAgent executes, checking permission rules and agent routing policies you define. This thin wrapper encapsulates permission checks and safe subagent lifetime control, preventing unauthorized tool access at delegation time.