Skip to main content
SECTION

Foundations — Understanding Claude Code

From how Claude Code works to interactive usage, slash commands, tools, and the settings directory — the fundamentals that form the foundation of the agentic harness.

This group covers the fundamentals you need before using Claude Code in earnest. You will learn, in order, how the agentic loop works, what features exist, how to type in interactive mode, how to use slash commands and tools, and where settings are stored. Everything you learn here — the loop, tools, permissions, the settings directory — is exactly the material MoAI-ADK builds its harness on.

Background reference
This page is background material on Claude Code itself, the platform MoAI-ADK runs on. MoAI-ADK’s own features are covered in the sections above it in the sidebar.
Info
Learning goal (one-line summary): Understand how Claude Code works and its core usage interfaces, so you can follow the workflow documents and MoAI-ADK harness design that come later without getting stuck.

Learning Flow

flowchart TD
    A[How It Works] --> B[Features at a Glance]
    B --> C[Interactive Mode]
    C --> D[Slash Commands]
    D --> E[Tools Reference]
    E --> F[.claude Directory]

First get the big picture with How It Works, then scan the feature map to see what tools exist. Next, learn the actual input methods with Interactive Mode and slash commands, and finish off behavior and environment with the Tools Reference and the settings directory — that completes your fundamentals.

Contents

DocumentDescription
How It WorksThe agentic loop and core components
Features at a GlanceFull feature catalog and learning path
Interactive ModeREPL, shortcuts, permission modes
Slash CommandsBuilt-in and custom commands, and the /moai relationship
Tools ReferenceBuilt-in tools and permissions
.claude DirectorySettings directory structure and scopes
Permissions and Plan ModeAllow/ask/deny rules, permission modes, plan mode

Once you have the fundamentals, move on to the next group, Context and Memory, to learn how to handle token costs — the starting point of MoAI-ADK tokenomics.