Logo Vincent
Claude Code Agent Loop: Dissecting the Heart of an AI Coding Assistant

Claude Code Agent Loop: Dissecting the Heart of an AI Coding Assistant

How does Claude Code understand your requests, invoke tools, and self-recover step by step? A source-code deep dive into the Agent Loop's core architecture — streaming responses, parallel tool execution, auto-compaction, and error recovery.

Claude
Claude Code settings.json Explained (1): Where Config Files Live and Who Wins

Claude Code settings.json Explained (1): Where Config Files Live and Who Wins

A complete guide to Claude Code's configuration file system — five config sources, their file paths, priority rules, array merging vs value overriding, and enterprise managed settings delivery.

Claude
Claude Code settings.json Deep Dive (Part 2): The Permissions System

Claude Code settings.json Deep Dive (Part 2): The Permissions System

A thorough breakdown of Claude Code's permissions configuration — allow/deny/ask rule arrays, wildcard syntax, MCP tool permissions, defaultMode options, and additionalDirectories.

Claude
Claude Code settings.json Deep Dive (Part 3): The Hooks System

Claude Code settings.json Deep Dive (Part 3): The Hooks System

A thorough breakdown of Claude Code's hooks configuration — four hook types, core events (PreToolUse/PostToolUse/Stop/Notification), stdin/stdout protocol, exit code semantics, and practical examples.

Claude
Claude Code settings.json Deep Dive (4): env, Models, Auth, and Other Useful Fields

Claude Code settings.json Deep Dive (4): env, Models, Auth, and Other Useful Fields

A comprehensive guide to the remaining settings.json fields in Claude Code — env variable injection, model configuration, authentication helpers, Git attribution, session cleanup, language and UI, thinking depth, auto-updates, memory system, and more.

Claude
Claude Code /agents: Give Each Task Its Own Specialist AI

Claude Code /agents: Give Each Task Its Own Specialist AI

Create custom sub-agents for code exploration, architecture planning, and more — each with its own role, tools, and instructions.

Claude
Claude Code /doctor: Fix Setup Issues in 30 Seconds

Claude Code /doctor: Fix Setup Issues in 30 Seconds

API not connecting? MCP broken? /doctor auto-detects installation, connectivity, and config issues — here's how to fix them fast.

Claude
Claude Code /effort: Make AI Think Harder (or Faster)

Claude Code /effort: Make AI Think Harder (or Faster)

Simple rename? Set effort to low. Complex refactor? Crank it to max. Here's how /effort saves tokens without losing quality.

Claude
Claude Code /cost: Track Every Dollar Your AI Spends

Claude Code /cost: Track Every Dollar Your AI Spends

See real-time API costs, model pricing, and token breakdowns per session — /cost helps you make every dollar count.

Claude
Claude Code /export: Save AI Conversations Before They're Gone

Claude Code /export: Save AI Conversations Before They're Gone

Export conversations to files or clipboard for sharing, archiving, and review — so no valuable AI discussion goes to waste.

Claude
Claude Code /rewind: Undo Any AI Mistake in One Command

Claude Code /rewind: Undo Any AI Mistake in One Command

AI broke your code? /rewind rolls back both code and conversation to any point — your safety net when things go wrong.

Claude
Claude Code /plugin: Extend Your AI With Custom Skills

Claude Code /plugin: Extend Your AI With Custom Skills

Install, enable, and manage plugins that add custom commands, skills, agents, and hooks — build your own AI development toolkit.

Claude
© 2026 vincentqiao.com . All rights reserved.