Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Phase 2: Planning & Knowledge

An agent without a plan drifts

阶段概述

Phase 2 解决一个核心问题:如何在有限上下文窗口内高效工作

核心策略:磁盘与上下文的分工——把不急需的数据放磁盘,上下文只保留当前需要的内容。

  • s03 TodoWrite - 进度存磁盘,不占上下文
  • s04 Subagents - 探索性工作隔离到独立上下文
  • s05 Skills - 知识存磁盘,按需加载
  • s06 Context Compact - 历史存磁盘,当前内容压缩

Sessions