Learn Claude Code

12 Capabilities at a Glance

Everything Claude Code can do for your paper. Click any entry for a 30-second summary and a paper-writing scenario.

Grouped by Type

Tools & Execution
Planning & Coordination
Memory Management
Concurrency
Collaboration
01
s01Single-tool agent loop

The Agent LoopBash is All You Need

95 lines of code1 tools

The minimal agent kernel is a while loop + one tool

Open
02
s02Tool dispatch map

ToolsOne Handler Per Tool

121 lines of code4 tools

The loop stays the same; new tools register into the dispatch map

Open
03
s03TodoManager + nag reminder

TodoWritePlan Before You Act

177 lines of code5 tools

An agent without a plan drifts; list the steps first, then execute

Open
04
s04Subagent spawn with isolated messages[]

SubagentsClean Context Per Subtask

154 lines of code5 tools

Subagents use independent messages[], keeping the main conversation clean

Open
05
s05SkillLoader + two-layer injection

SkillsLoad on Demand

188 lines of code5 tools

Inject knowledge via tool_result when needed, not upfront in the system prompt

Open
06
s06micro-compact + auto-compact + archival

CompactThree-Layer Compression

212 lines of code5 tools

Context will fill up; three-layer compression strategy enables infinite sessions

Open
07
s07TaskManager with file-based state + dependency graph

TasksTask Graph + Dependencies

204 lines of code8 tools

A file-based task graph with ordering, parallelism, and dependencies -- the coordination backbone for multi-agent work

Open
08
s08BackgroundManager + notification queue

Background TasksBackground Threads + Notifications

198 lines of code6 tools

Run slow operations in the background; the agent keeps thinking ahead

Open
09
s09TeammateManager + file-based mailbox

Agent TeamsTeammates + Mailboxes

345 lines of code10 tools

When one agent can't finish, delegate to persistent teammates via async mailboxes

Open
10
s10request_id correlation for two protocols

Team ProtocolsShared Communication Rules

416 lines of code12 tools

One request-response pattern drives all team negotiation

Open
11
s11Task board polling + timeout-based self-governance

Autonomous AgentsScan Board, Claim Tasks

506 lines of code14 tools

Teammates scan the board and claim tasks themselves; no need for the lead to assign each one

Open
12
s12Composable worktree lifecycle + event stream over a shared task board

Worktree + Task IsolationIsolate by Directory

695 lines of code16 tools

Each works in its own directory; tasks manage goals, worktrees manage directories, bound by ID

Open

Python re-implementation size

s01
95
s02
121
s03
177
s04
154
s05
188
s06
212
s07
204
s08
198
s09
345
s10
416
s11
506
s12
695