Fold Subagents Into Agent Loop

Decide whether each subagent in an existing multi-agent system (orchestrator plus specialists, routers, planners, domain agents) should be folded into a single main agent loop that uses progressively disclosed skills and tool search, and migrate one subagent at a time behind a task-completion eval. Keeps a subagent only when the single loop shows measurable context-bloat degradation, when work needs parallel throwaway context windows, or when one agent cannot pick tools or holds conflicting instructions. Covers failure modes of org-chart architectures (context loss, subagent sprawl, the Frankenprompt, localized evals, latency), the target single-loop design, merging coupled specialists, calling subagents as tools as an interim step, and how teams contribute skills, MCP tools, and knowledge bases under one central owner. Use when reviewing or simplifying an agent architecture, planning a subagent migration, or when a multi-agent agent is slow, inconsistent, or hard to own.

uygnoey Updated 4 repo stars

File contents

uygnoey/skills-from-claude-blog commit 9ac45dd176

Frequently asked questions

npx get-skill add uygnoey/fold-subagents-into-agent-loop