Extensibility & Teams
This section covers the advanced patterns that make Claude Code a true development platform; hooks for automation, plugins that compose skills into workflows, the creator workflow for building and sharing extensions, and agent teams that coordinate multiple Claude instances on complex projects.
Lessons 15-27 take you from single-agent customization to multi-agent orchestration, parallel isolation with worktrees, remote session management, scheduled task automation, and event-driven channels that let agents react to file changes, git commits, and external triggers without polling.
Most extensibility primitives in this section have direct counterparts in OpenCode, the open-source coding agent (narrower in scope than Claude Code, but same primitives). Hooks and the plugin loop map to OpenCode plugins loaded from .opencode/plugins/ or npm. Agent teams and subagents map to OpenCode primary agents (switchable with Tab) and subagents (invoked via @mention). Remote sessions map to opencode serve, the headless HTTP server. Sharing and collaboration map to OpenCode's /share command. Worktrees, ralph loops, cron, and channel adapters are platform-agnostic patterns: the workflow ideas transfer even where the exact CLI surface differs.