Nested Subagent — Development skill for Claude Code
Enable nested subagents in Claude Code - subagents can spawn their own subagents.
How to install Nested Subagent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gruckion/nested-subagent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Nested Subagent does
Enable nested subagents in Claude Code - subagents can spawn their own subagents.
Alternatives in Development
- On — PUA 开启默认模式 — 每次新会话自动加载 PUA 核心 skill 19.5k ★
- Happy Coder — by GrocerPublishAgent - Spawn and control multiple Claude Codes in parallel from your phone or desktop 15.7k ★
- Notebooklm Skill — Use this skill to enable Claude Code to communicate directly with your Google NotebookLM notebooks 5.9k ★
README
Nested Subagent

[](https://opensource.org/licenses/MIT) [](https://docs.anthropic.com/en/docs/claude-code) [](https://github.com/gruckion/nested-subagent/pulls)
Enable **unlimited nested subagents** in Claude Code. Subagents can spawn their own subagents.
Quick Start
Option 1: Install from Marketplace (Recommended)
- Run
/pluginin Claude Code - Go to Marketplaces tab
- Select + Add Marketplace
- Enter
gruckion/nested-subagent - Go to Discover tab and install the plugin
Option 2: Install Locally
git clone https://github.com/gruckion/nested-subagent.git
cd nested-subagent/mcp-server && npm install
claude /plugin install ./nested-subagent
Option 3: Per-Session (CLI)
claude --plugin-dir /path/to/nested-subagent
What's Included
| Component | Name | Description |
|---|---|---|
| MCP Tool | Task |
Spawns isolated Claude processes with full tool access |
Example

Usage
Claude automatically uses the nested subagent tool when your task requires multi-level delegation:
Build a math utility that needs its own subagents for verify, plan, and code steps.
Process these issues where each issue handler spawns specialized workers.
Run a workflow that delegates to sub-sub-agents for parallel execution.
Why Use This?
Claude Code's native Task tool **blocks subagents from spawning other subagents**:
// src/tools/AgentTool/prompt.ts - the recursion blocker
.filter(_ => _.name !== AgentTool.name)
This plugin works around that limitation using the official `claude -p` headless mode. Each spawned
Related Skills
Init Rules
Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions whi
Pbi Optimise
Run a 14-rule performance scan on any DAX measure, identifying anti-patterns like unnecessary iterators, FILTE
Lanes
Set up lane configuration for this repo — boundaries, role commands, nested CLAUDE.md files
Game Development
Route a game project through Sigma's existing steps and nested game-planning methods.
Codexmcp
Enable seamless collaboration between Claude Code and Codex, transforming from a single agent to multiple agen
Claude Code SDK TS
Configure models, enable tools, stream events, then fetch text, JSON, run details or token stats in one call v
Related Agents
Enable Monitor Mode
airmon-ng start wlan0 airodump-ng wlan0mon airodump-ng -w capture_prefix --output-format pcap,csv wlan0mon kis
Continuous Release Orchestrator
Enable on-demand production deployment with automated quality gates and release readiness validation.
Karr Foundation Worker
karr-foundation worker — multi-board discovery, overview, agent command resolution, drain loops, per-repo lock