Lesson 08 of 11 · Module 8

Claude Code CLI for terminal-first development

Teach installation, authentication, workspace trust, tools, permission modes, slash commands, memory, Git and MCP from the terminal.

Built from aikickstart_sec08.md and Claude Code CLI material

Claude Code CLI is a high-leverage developer surface. The course should make mode selection, memory files and shell boundaries explicit before learners run real work.

What to understand

  • Permission modes are operating controls, not convenience toggles.
  • CLAUDE.md captures project-specific memory and must be short, current and reviewed.
  • Shell and Git actions should be verified and reversible unless explicitly approved.
Visualisation

Claude Code CLI operating loop

  1. 1Trust workspace

    Confirm the folder is the intended project.

  2. 2Explore

    Read files and plan before editing.

  3. 3Set mode

    Choose the least permissive mode that fits the task.

  4. 4Run

    Edit or execute with visible checkpoints.

  5. 5Review

    Inspect diff, tests and Git state.

Step by step

1

Choose the mode

Choose the mode - product screen reference

Map default, plan, accept-edits, auto and bypass-style modes to learner risk levels.

HintUse the cautious end until the task and folder are trusted.

Reference screens

Course screenshots and visual references for the lesson flow. Re-check the live product before paid delivery or public launch.

Screen reference
Claude Code CLI: Terminal Installing Claude Code
Claude Code CLI: Terminal Installing Claude Code
Claude Code CLI: Terminal Verifying The Install
Claude Code CLI: Terminal Verifying The Install
Claude Code CLI: Terminal First Launch And Auth
Claude Code CLI: Terminal First Launch And Auth
Claude Code CLI: Terminal Login And Status
Claude Code CLI: Terminal Login And Status
Claude Code CLI: Terminal Permission Modes
Claude Code CLI: Terminal Permission Modes
Claude Code CLI: Terminal Read Only Exploration
Claude Code CLI: Terminal Read Only Exploration
Claude Code CLI: Terminal Creating Claude MD
Claude Code CLI: Terminal Creating Claude MD
Claude Code CLI: Terminal Managing Memory Files
Claude Code CLI: Terminal Managing Memory Files
Claude Code CLI: Terminal Edit Approval Prompt
Claude Code CLI: Terminal Edit Approval Prompt
Claude Code CLI: Terminal Core Slash Commands
Claude Code CLI: Terminal Core Slash Commands
Claude Code CLI: Terminal Scaffolding A Skill
Claude Code CLI: Terminal Scaffolding A Skill
Claude Code CLI: Terminal Skill MD Contents
Claude Code CLI: Terminal Skill MD Contents
Claude Code CLI: Terminal Running The Skill
Claude Code CLI: Terminal Running The Skill
Claude Code CLI: Terminal Adding A Marketplace
Claude Code CLI: Terminal Adding A Marketplace
Claude Code CLI: Terminal Installing A Plugin
Claude Code CLI: Terminal Installing A Plugin
Claude Code CLI: Terminal Adding An MCP Server
Claude Code CLI: Terminal Adding An MCP Server
Claude Code CLI: Terminal MCP Status And Auth
Claude Code CLI: Terminal MCP Status And Auth
Claude Code CLI: Terminal Inspecting Changes
Claude Code CLI: Terminal Inspecting Changes
Claude Code CLI: Terminal Branch And Commit
Claude Code CLI: Terminal Branch And Commit
Claude Code CLI: Terminal Wrapping Up
Claude Code CLI: Terminal Wrapping Up
Hands-on task

Write a CLAUDE.md and permission-mode checklist for one repo.

What you produce

A Claude Code CLI first-run checklist.

Production prompt examples

Claude Code CLI brief
Goal:
[What outcome should exist by the end of this lesson?]

Context:
[Audience, account tier, device, constraints, and current workflow.]

Inputs:
[Screens, docs, local files, or example data allowed for this exercise.]

Allowed actions:
[Read, draft, compare, summarise, or inspect.]

Ask before:
[Connecting apps, writing to files, sending externally, spending quota, changing settings.]

Output:
[The exact worksheet, plan, checklist, or capture pack to produce.]

Definition of done:
[How the learner or facilitator checks the result.]

Start by restating the plan in five bullets before executing.

Common mistakes to avoid

  • Using permissive modes to avoid prompts.
  • Letting a stale CLAUDE.md steer a new task.

Key terms

CLAUDE.md
A project memory/instruction file for Claude Code.
Permission mode
A setting controlling what the agent may do without asking.

Resources

Checkpoint

Which permission mode would you choose for first contact with an unfamiliar repo, and why?