Advanced

Topics beyond the basics. Read the main guide first.

  • Hooks — run commands automatically on Claude Code events (e.g., before/after tool calls).
  • Slash commands and subagents — define custom /commands and specialized subagents in your project.
  • Routines — scheduled remote Claude Code agents that run in the cloud on a cron.
  • Authentication — API keys, OAuth flows, and where secrets actually live.

Table of contents