/init

Initializes a project with a CLAUDE.md guide and offers interactive setup.

Changed in 2026-06-11-78624ff0

What /init does

This command initializes a project by creating a CLAUDE.md guide. Setting `CLAUDE_CODE_NEW_INIT=1` enables an interactive flow that guides you through skills, hooks, and personal memory files. It also offers to import existing configurations from other AI tools.

Syntax

/init

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command initializes a project with a CLAUDE.md guide and can offer an interactive setup for skills and hooks?

    • Generates boilerplate code
    • Initializes a project with a CLAUDE.md guide
    • Creates a new empty project folder
    • Sets up a new Git repository
    Show answer

    /init: Initializes a project with a CLAUDE.md guide

  2. Which command generates an HTML report analyzing your recent Claude Code session usage on the current machine?

    • Summarizes project progress
    • Optimizes Claude Code performance
    • Generates an HTML report of session usage
    • Provides real-time analytics dashboard
    Show answer

    /insights: Generates an HTML report of session usage

  3. Which command installs the Claude GitHub App for a repository, optionally setting up GitHub Actions workflows and secrets?

    • Installs the Claude GitHub App
    • Clones a GitHub repository
    • Configures Git credentials
    • Deploys code to GitHub Pages
    Show answer

    /install-github-app: Installs the Claude GitHub App

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.