context-topology
Installation
SKILL.md
Context Topology & Orchestration Patterns
Core Insight: Optimal orchestration is not about writing better prompts—it's about managing context topology. Claude Code is a modular network of agents, not a single chat.
The Four Primitives
Claude Code provides four primitives for delegation, each with a distinct Memory Mode:
| Primitive | Memory Mode | Description |
|---|---|---|
| Skill | Shared | Content injects into current conversation. Preserves context, sees full history. Use for heuristics, code standards, "How-To" guides. |
Skill + context: fork |
Isolated | Runs in a clean context (forked from parent). Only sees CLAUDE.md and skill content. Use for unbiased specialists (Linter, Security Auditor). |
| Task | Forked | Creates a new agent instance with full isolation. System prompt = subagent body. Keeps "noise" (bash logs, diffs) out of main context. |
| Command | Injected | Entry point using @file or !cmd syntax for deterministic runtime state. |