Claude Code 101로 돌아가기Back to Claude Code 101
Module 02 — 기본 사용법Module 02 — Basic Usage

기본 사용법
마스터
Claude Code
Basic Usage

Claude Code의 핵심 기능을 완전히 익혀봅시다 Master the core features of Claude Code

커맨드 보기View Commands 권한 모드 이해하기Understand Permission Modes
스크롤Scroll
00

첫 실행 흐름 & 기본 패턴

Claude Code를 처음 실행할 때 어떤 일이 일어나는지, 그리고 어떻게 대화하면 되는지 알아봅시다.

First Run Flow & Basic Patterns

Learn what happens when you first run Claude Code and how to interact with it effectively.

첫 실행 3단계3 Steps for First Run

1

프로젝트 디렉토리에서 실행Run from Project Directory

작업할 프로젝트 폴더로 이동한 뒤 claude를 입력합니다.Navigate to your project folder and type claude.

Terminal
cd your-project claude # 처음 실행 시: 로그인 화면이 나타납니다
2

로그인 (최초 1회)Login (First Time Only)

처음 실행하면 로그인하라는 메시지가 표시됩니다. Claude Pro/Max/Teams/Enterprise 구독 또는 API 키로 로그인할 수 있습니다. 한 번 로그인하면 자격 증명이 저장되어 다시 로그인할 필요가 없습니다.On first launch, you will be prompted to log in. You can log in with a Claude Pro/Max/Teams/Enterprise subscription or an API key. Once logged in, your credentials are saved and you won't need to log in again.

# 나중에 계정을 전환하고 싶을 때 > /login
3

CLAUDE.md 자동 생성Auto-generate CLAUDE.md

/init 명령을 실행하면 Claude가 프로젝트를 분석하고 CLAUDE.md 파일을 자동으로 생성합니다. 이 파일에는 빌드 명령어, 테스트 방법, 코드 스타일 등 프로젝트 정보가 담깁니다.Running the /init command will have Claude analyze your project and automatically generate a CLAUDE.md file. This file contains build commands, testing methods, code style, and other project information.

> /init # Claude가 프로젝트를 분석하고 CLAUDE.md를 자동 생성합니다

기본 대화 패턴Basic Conversation Patterns

Claude Code는 자연어로 말하면 됩니다. 복잡한 명령어를 외울 필요 없이 하고 싶은 것을 그냥 말하면 됩니다.Just speak to Claude Code in natural language. No need to memorize complex commands — simply describe what you want to do.

코드 이해Code Understanding

코드베이스를 분석하거나 특정 파일의 동작 방식을 설명해 달라고 합니다.Ask Claude to analyze the codebase or explain how specific files work.

이 코드가 어떻게 작동하는지 설명해줘 이 프로젝트는 무엇을 하나요? 폴더 구조를 설명해줘

파일 편집File Editing

특정 파일에서 버그를 수정하거나 기능을 추가할 때 파일 이름을 언급합니다.Mention the file name when fixing bugs or adding features to a specific file.

login.ts에서 세션 만료 버그를 수정해줘 App.tsx에 다크 모드 토글을 추가해줘

테스트 실행Running Tests

테스트를 실행하고 실패하는 경우 자동으로 수정까지 요청할 수 있습니다.Run tests and request automatic fixes for any failures.

테스트를 실행하고 실패하는 것을 수정해줘 이 함수에 대한 단위 테스트를 작성해줘

Git 워크플로우Git Workflow

커밋, 브랜치 생성, 변경 사항 확인 등 Git 작업도 자연어로 요청합니다.Request Git operations like commits, branch creation, and change reviews in natural language.

변경 사항을 커밋해줘 어떤 파일을 변경했나요? feature/login 브랜치를 만들어줘

Claude가 접근할 수 있는 것What Claude Can Access

기본 접근 가능Accessible by Default

  • 현재 디렉토리 및 하위 폴더의 모든 파일All files in the current directory and subdirectories
  • 터미널 (쉘 명령어 실행)Terminal (shell command execution)
  • Git 상태 및 히스토리Git status and history
  • 웹 검색Web search
⚠️

승인 후 가능Requires Approval

  • 파일 편집 (기본 모드에서는 먼저 물어봄)File editing (asks first in default mode)
  • 쉘 명령어 실행 (먼저 물어봄)Shell command execution (asks first)
  • 프로젝트 디렉토리 외부 파일 접근 불가Cannot access files outside the project directory
💡
동료와 대화하듯 말하세요: "버그 수정" 보다는 "사용자가 잘못된 자격 증명을 입력한 후 빈 화면을 보는 로그인 버그 수정"처럼 구체적으로 설명할수록 더 좋은 결과를 얻습니다.
Talk like you're talking to a colleague: Instead of "fix the bug," say something like "fix the login bug where users see a blank screen after entering wrong credentials." The more specific you are, the better the results.
01

슬래시 커맨드 완전 가이드

Claude Code에서 /로 시작하는 특수 명령어들입니다. 대화 중 언제든 입력할 수 있어요.

Complete Guide to Slash Commands

Special commands in Claude Code that start with /. You can enter them at any point during a conversation.

커맨드Command 설명Description 사용 시점When to Use
/help 도움말 및 사용 가능한 명령어 목록 표시Show help and list of available commands 처음 사용할 때, 명령어가 기억나지 않을 때When first starting out, or when you forget a command
/init 프로젝트 루트에 CLAUDE.md 파일 자동 생성Auto-generate CLAUDE.md file in the project root 새 프로젝트를 시작할 때When starting a new project
/plan Plan Mode로 전환 (코드 수정 없이 계획만 세움)Switch to Plan Mode (plan only, no code changes) 복잡한 작업 전 전략을 먼저 세울 때When you want to strategize before a complex task
/compact 대화 내용을 요약해서 컨텍스트 압축Summarize conversation to compress context 대화가 길어져서 느려질 때, 토큰 절약할 때When the conversation gets long and slow, or to save tokens
/clear 대화 기록 완전 초기화Completely reset conversation history 완전히 새 주제로 넘어갈 때When switching to a completely new topic
/resume 이전 대화 이어서 하기Continue a previous conversation 터미널을 껐다 다시 켰을 때After closing and reopening the terminal
/mcp MCP 서버 연결 상태 확인 및 관리Check and manage MCP server connections 외부 도구 연결이 필요할 때When external tool integration is needed
/cost 현재 세션의 토큰 사용량과 비용 확인Check token usage and cost for the current session 비용이 얼마나 들었는지 궁금할 때When you want to know how much you've spent
/review 코드 변경 사항 리뷰 요청Request a review of code changes 작업 결과를 검토하고 싶을 때When you want to review the work done
/permissions 현재 권한 설정 확인 및 변경View and change current permission settings 어떤 도구에 권한을 줬는지 확인할 때When checking which tools have been granted access

자주 쓰는 커맨드 사용 예시Examples of Commonly Used Commands

/init — 프로젝트 초기 설정Project initial setup
# 프로젝트 루트에서 실행 > /init Claude가 프로젝트를 분석하고 CLAUDE.md를 자동 생성합니다. 빌드 명령어, 테스트 방법, 코드 스타일 등이 기록됩니다.
/compact — 대화 압축Compress conversation
# 대화가 길어져서 응답이 느려질 때 > /compact 이전 대화 내용을 요약하여 토큰을 절약합니다. 맥락은 유지되지만 세부 내용은 압축됩니다. # 특정 주제에 집중하여 압축하고 싶을 때 > /compact 로그인 기능 관련 내용만 남겨줘
/plan — 계획 모드Plan mode
# 코드를 바로 수정하지 않고 계획만 세울 때 > /plan > 로그인 페이지에 소셜 로그인을 추가하고 싶어 Claude가 파일 수정 없이 작업 계획만 제안합니다. 계획이 마음에 들면 Shift+Tab으로 일반 모드 전환 후 실행!

CLI 실행 명령어CLI Execution Commands

슬래시 커맨드 외에, 터미널에서 claude를 실행할 때 사용하는 플래그들입니다.In addition to slash commands, these are the flags you use when running claude from the terminal.

명령어Command 설명Description 예시Example
claude 대화형 모드 시작Start interactive mode claude
claude "task" 일회성 작업 실행Run a one-off task claude "빌드 에러 수정해줘"
claude -p "query" 질문 후 종료 (비대화형)Ask and exit (non-interactive) claude -p "이 함수 설명해줘"
claude -c 가장 최근 대화 계속하기Continue the most recent conversation claude -c
claude -r 이전 대화 선택하여 재개Select and resume a previous conversation claude -r
claude commit Git 커밋 생성 (메시지 자동 작성)Create a Git commit (auto-generate message) claude commit
💡
꿀팁: /를 입력하면 자동완성 목록이 나옵니다. 전부 외울 필요 없이 /만 기억하세요!
Pro Tip: Typing / shows an autocomplete list. You don't need to memorize everything — just remember /!
02

권한 모드 이해

Claude Code는 3가지 모드로 작동합니다. 얼마나 자유롭게 행동하게 할 것인가의 차이입니다.

Understanding Permission Modes

Claude Code operates in 3 modes. The difference is how much freedom you give it to act.

Shift+Tab을 누를 때마다 아래 3가지 모드를 순환합니다. Press Shift+Tab to cycle through the 3 modes below.

# Shift+Tab으로 순환 기본값 편집 자동 수락 계획 모드 기본값 ...

기본값 모드Default Mode

기본값 · 파일 편집 + 명령어 실행 모두 승인 필요Default · Approval required for file edits + command execution

파일 편집과 명령어 실행 전에 매번 승인을 요청합니다. 처음 사용자에게 권장되는 안전한 모드입니다.Claude asks for approval every time before editing files or running commands. This is the safe mode recommended for new users.

# Claude가 파일을 수정하려 할 때: Claude wants to edit src/App.tsx [Y/n] ← 승인해야 실행됩니다

편집 자동 수락 모드Auto-accept Edits Mode

파일 편집 자동 수락 · 명령어 실행은 승인 필요File edits auto-accepted · Command execution requires approval

파일 편집은 자동으로 수락되지만, 쉘 명령어 실행은 여전히 승인을 요청합니다. 코딩 속도를 높이면서도 명령어는 제어할 수 있습니다.File edits are automatically accepted, but shell command execution still requires approval. You can code faster while still controlling commands.

# 파일 편집은 자동으로 수락됩니다 Edited src/App.tsx ← 즉시 실행 # 명령어 실행은 여전히 물어봅니다 Claude wants to run: npm test [Y/n]
📋

계획 모드Plan Mode

읽기 전용 · 승인 전까지 실행 없음Read-only · No execution until approved

코드를 절대 수정하지 않고 분석과 계획만 합니다. 파일을 읽고 구조를 파악한 뒤 어떻게 작업할지 제안만 합니다. /plan 명령으로도 진입할 수 있습니다.Claude never modifies code — it only analyzes and plans. It reads files to understand the structure and only suggests how to proceed. You can also enter this mode with the /plan command.

> /plan # 이후 Claude는 파일 수정 도구를 사용하지 않습니다. # 계획이 마음에 들면 Shift+Tab으로 기본값 모드로 전환 후 실행!

자동차 기어 비유로 이해하기

기본값 = 반자동 기어
Claude가 운전하지만 교차로(파일 편집, 명령어)마다 "이쪽으로 가도 될까요?" 물어봅니다.

편집 자동 수락 = 부분 자율주행
일반 도로(파일 편집)는 알아서 가지만, 고속도로 진입(명령어 실행)은 허락을 받습니다.

계획 모드 = 수동 기어 (1단)
운전자(사용자)가 모든 것을 직접 결정합니다. Claude는 네비게이션(분석)만 해줍니다.

Car Gear Analogy

Default = Semi-automatic
Claude drives but asks "Is it okay to go this way?" at every intersection (file edits, commands).

Auto-accept Edits = Partial autopilot
Handles regular roads (file edits) on its own, but asks permission before entering the highway (command execution).

Plan Mode = Manual (1st gear)
The driver (you) decides everything. Claude only acts as the navigation (analysis).

🎯
추천: 처음에는 기본값 모드를 사용하세요. Claude가 어떤 식으로 작업하는지 감을 잡은 뒤에 편집 자동 수락 모드를 쓰면 속도가 빨라집니다. 계획 모드는 대규모 리팩토링 전에 전략을 먼저 세울 때 유용합니다.
Recommendation: Start with Default Mode. Once you get a feel for how Claude works, switch to Auto-accept Edits mode to speed things up. Plan Mode is useful for strategizing before large-scale refactoring.
03

키보드 단축키 & UI

마우스 없이 Claude Code를 빠르게 조작하는 핵심 단축키들입니다.

Keyboard Shortcuts & UI

Essential shortcuts for operating Claude Code quickly without a mouse.

단축키Shortcut 기능Function 언제 쓰나요?When to Use
Shift + Tab 모드 전환 (Plan ↔ Normal ↔ Auto)Switch mode (Plan ↔ Normal ↔ Auto) 작업 방식을 빠르게 바꿀 때When quickly changing how you work
Shift + Enter 여러 줄 입력 (줄바꿈)Multi-line input (line break) 긴 프롬프트를 작성할 때When writing a long prompt
Ctrl + C 현재 작업 취소 / 중단Cancel / interrupt current task Claude가 잘못된 방향으로 갈 때When Claude is going in the wrong direction
Ctrl + O 대화 Transcript를 브라우저에서 열기Open conversation transcript in browser 대화 내용을 공유하거나 저장할 때When sharing or saving a conversation
Ctrl + B 백그라운드 실행 모드Background execution mode 작업을 돌려놓고 다른 일 할 때When running a task while doing something else
Esc 현재 작업 중단 (Claude 응답 인터럽트)Interrupt current task (stop Claude's response) Claude가 잘못된 방향으로 가고 있을 때When Claude is heading in the wrong direction
Esc + Esc 마지막 파일 변경 되돌리기 (체크포인트 복원)Undo last file change (restore checkpoint) Claude의 파일 편집을 취소하고 싶을 때When you want to undo Claude's file edits

체크포인트 & 실행 취소

Claude Code는 파일을 편집하기 전에 자동으로 스냅샷(체크포인트)을 저장합니다.

실수로 잘못된 편집이 적용되었다면 Esc를 두 번 눌러 마지막 파일 변경을 되돌릴 수 있습니다. 체크포인트 덕분에 Claude가 파일을 수정해도 언제든 이전 상태로 돌아갈 수 있습니다.

Checkpoints & Undo

Claude Code automatically saves a snapshot (checkpoint) before editing any file.

If a mistaken edit gets applied, press Esc twice to revert the last file change. Thanks to checkpoints, you can always go back to a previous state even after Claude modifies files.

터미널 UI 구성Terminal UI Layout

Claude Code UI Layout
┌─────────────────────────────────────────────┐ Claude Code 세션 정보 ├─────────────────────────────────────────────┤ Claude의 응답 영역 - 코드 변경 diff가 여기 표시됩니다 - 파일 읽기 결과도 여기 나옵니다 ├─────────────────────────────────────────────┤ > 여기에 프롬프트를 입력합니다 [Plan Mode] / [Normal] / [Auto] └─────────────────────────────────────────────┘ 하단에 현재 모드가 표시됩니다
⌨️
Shift+Tab이 가장 중요합니다: 이 단축키 하나로 기본값 → 편집 자동 수락 → 계획 모드를 순환할 수 있습니다. 코드를 건드리지 않고 분석만 하고 싶을 때 계획 모드로, 빠르게 작업하고 싶을 때 편집 자동 수락 모드로 전환하세요.
Shift+Tab is the most important shortcut: This single shortcut cycles through Default → Auto-accept Edits → Plan Mode. Switch to Plan Mode when you only want to analyze without touching code, and to Auto-accept Edits when you want to work fast.
04

비대화형 모드

대화 없이 한 번의 명령으로 결과를 받는 방법입니다. CI/CD 파이프라인이나 스크립트 자동화에 활용합니다.

Non-interactive Mode

Get results with a single command, without conversation. Use this for CI/CD pipelines and script automation.

기본 사용법: -p 플래그Basic usage: -p flag
# 단발성 질문하기 claude -p "package.json의 의존성 목록을 알려줘" # 파이프로 입력 전달하기 echo "const x = 1; var y = 2;" | claude -p "이 코드에서 var를 const로 바꿔줘" # 파일 내용을 분석하기 cat src/App.tsx | claude -p "이 컴포넌트의 문제점을 분석해줘"
JSON 출력 모드JSON output mode
# 구조화된 JSON으로 결과 받기 claude -p "이 프로젝트의 구조를 분석해줘" --output-format json # 스크립트에서 결과를 파싱할 때 유용합니다 result=$(claude -p "버그가 있나?" --output-format json) echo "$result" | jq '.result'

활용 사례Use Cases

🔄

CI에서 자동 코드 리뷰Automated Code Review in CI

PR이 올라올 때마다 Claude가 자동으로 코드를 분석하고 리뷰 코멘트를 남깁니다. GitHub Actions와 연동하면 매우 강력합니다.Every time a PR is opened, Claude automatically analyzes the code and leaves review comments. Very powerful when integrated with GitHub Actions.

# GitHub Actions 예시 git diff HEAD~1 | claude -p "코드 리뷰해줘"
📜

스크립트 자동화Script Automation

반복적인 작업을 쉘 스크립트로 만들어 Claude에게 한 번에 처리하게 합니다. 로그 분석, 보고서 생성 등에 활용합니다.Create shell scripts for repetitive tasks and let Claude handle them all at once. Useful for log analysis, report generation, and more.

# 에러 로그 분석 자동화 cat error.log | claude -p "에러 원인을 분석하고 해결책을 제안해줘"
🚨
주의: 비대화형 모드에서 파일을 수정하려면 --dangerously-skip-permissions 플래그가 필요합니다. CI 환경에서만 사용하고, 로컬에서는 대화형 모드를 권장합니다.
Warning: To modify files in non-interactive mode, the --dangerously-skip-permissions flag is required. Use this only in CI environments; interactive mode is recommended for local use.
05

비용 & 토큰 관리

Claude Code를 사용하는 데 얼마나 드는지, 그리고 어떻게 비용을 관리하는지 알아봅시다.

Cost & Token Management

Learn how much it costs to use Claude Code and how to manage your spending.

플랜별 비교Plan Comparison

플랜Plan 가격Price Claude Code 사용Claude Code Usage 제한Limits
Pro $20/mo 사용 가능하지만 사용량 제한이 빡빡함Available but usage limits are tight 제한적Limited
Max (5x) $100/mo Pro의 5배 사용량, 실무 사용에 적합5x Pro's usage, suitable for professional use 넉넉함Generous
Max (20x) $200/mo Pro의 20배 사용량, 헤비 유저용20x Pro's usage, for heavy users 매우 넉넉Very generous
API 종량제API Pay-as-you-go 사용한 만큼As you use 토큰당 과금, 제한 없음Billed per token, no limits 무제한Unlimited
💸
폭탄 방지 팁: API 종량제를 사용할 경우, Anthropic Console에서 월간 사용 한도(Spending Limit)를 반드시 설정하세요. Full Auto 모드에서 루프에 빠지면 토큰이 순식간에 소진될 수 있습니다. Max 플랜은 정액제라 폭탄 걱정이 없습니다.
Bill shock prevention tip: If using API pay-as-you-go, always set a monthly Spending Limit in the Anthropic Console. Tokens can be drained in seconds if Claude gets stuck in a loop in full auto mode. The Max plan is flat-rate, so no surprise bills.

구독 vs API: 어떤 게 나을까?Subscription vs API: Which is Better?

💳

구독 (Pro / Max)Subscription (Pro / Max)

장점Pros

  • 월 정액이라 비용 예측이 쉬움Flat monthly rate makes costs predictable
  • 폭탄 요금 걱정 없음No surprise bill shock
  • Claude.ai 웹도 함께 사용 가능Includes access to Claude.ai web as well

단점Cons

  • 사용량 한도에 도달하면 대기 필요Must wait when usage limit is reached
  • Pro는 Claude Code 사용에 부족할 수 있음Pro may not be enough for heavy Claude Code use
📊

API 종량제API Pay-as-you-go

장점Pros

  • 사용한 만큼만 과금Only pay for what you use
  • 사용량 제한 없음No usage limits
  • CI/CD 파이프라인에서 사용 가능Can be used in CI/CD pipelines

단점Cons

  • 비용 예측이 어려움Hard to predict costs
  • 사용 한도를 직접 설정해야 함Must manually set usage limits
  • 많이 쓰면 구독보다 비쌀 수 있음Can cost more than subscription with heavy use
06

모델 선택 전략

상황에 맞는 모델을 선택하면 비용도 줄이고 속도도 높일 수 있습니다.

Model Selection Strategy

Choosing the right model for the situation lets you reduce costs and increase speed.

🤔 어떤 모델을 써야 할까?Which model should I use?
🧠 복잡한 작업이라면?Complex task?

Opus를 선택하세요.
대규모 리팩토링, 아키텍처 설계, 복잡한 버그 디버깅 등에 적합합니다.

Best for large-scale refactoring, architecture design, and complex bug debugging.

일상적 작업이라면?Everyday task?

Sonnet을 선택하세요.
기능 구현, 테스트 작성, 일반적인 코딩 작업에 최적입니다.

Optimal for feature implementation, writing tests, and general coding tasks.

🏃 빠른 단순 작업이라면?Quick simple task?

Haiku를 선택하세요. 간단한 질문, 코드 포맷팅, 작은 수정 등에 빠르고 저렴합니다. — Fast and affordable for simple questions, code formatting, and minor edits.

모델별 비교Model Comparison

모델Model 속도Speed 비용Cost 적합한 작업Best For
Opus 느림 (가장 깊은 사고)Slow (deepest reasoning) 높음High 복잡한 아키텍처, 대규모 리팩토링, 어려운 디버깅Complex architecture, large refactoring, hard debugging
Sonnet 보통 (균형 잡힌 성능)Medium (balanced performance) 중간Medium 기능 구현, 테스트 작성, 코드 리뷰, 일반 코딩Feature implementation, writing tests, code review, general coding
Haiku 빠름 (가장 빠른 응답)Fast (fastest response) 낮음Low 간단한 질문, 포맷팅, 작은 수정, 빠른 확인Simple questions, formatting, minor edits, quick checks
모델 변경 방법How to change models
# CLI에서 모델 지정하여 실행 claude --model claude-sonnet-4-20250514 # 대화 중에 모델 변경 > /model # 사용 가능한 모델 목록에서 선택 # 기본 모델 설정 (설정 파일) > /config # model 항목을 원하는 모델로 변경
💡
실전 전략: 평소에는 Sonnet을 쓰다가, 복잡한 문제를 만나면 Opus로 전환하세요. Haiku는 "이 함수 이름 뭐가 좋을까?" 같은 가벼운 질문에 딱입니다.
Practical strategy: Use Sonnet day-to-day, and switch to Opus when you hit a complex problem. Haiku is perfect for lightweight questions like "What's a good name for this function?"
07

자주 묻는 질문

기본 사용법에서 가장 많이 궁금해하는 것들

Frequently Asked Questions

The most common questions about basic usage

토큰은 AI가 텍스트를 처리하는 기본 단위입니다. 대략 한국어 1글자 = 1~2토큰, 영어 1단어 = 1토큰 정도로 생각하면 됩니다. Claude에게 보내는 질문(입력 토큰)과 Claude가 답하는 응답(출력 토큰) 모두 토큰으로 계산됩니다. API 종량제를 사용할 경우 이 토큰 수에 따라 비용이 청구됩니다. /cost 명령으로 현재 세션의 토큰 사용량을 확인할 수 있습니다.
Tokens are the basic unit by which AI processes text. Think of it roughly as 1 Korean character = 1–2 tokens, and 1 English word = 1 token. Both the questions you send to Claude (input tokens) and its responses (output tokens) count as tokens. With the API pay-as-you-go plan, you are billed based on token count. Use the /cost command to check token usage for the current session.
네, 느려집니다. Claude는 매번 대화 전체를 읽고 응답하기 때문에, 대화가 길어질수록 처리할 토큰이 많아져 응답 속도가 떨어집니다. 또한 컨텍스트 윈도우(한 번에 처리할 수 있는 토큰 수)에도 한계가 있어서, 너무 길어지면 오래된 내용을 잊어버릴 수 있습니다. 이때 /compact로 대화를 압축하거나, /clear로 새로 시작하는 것이 좋습니다.
Yes, it does. Because Claude reads the entire conversation each time it responds, the more tokens accumulate, the slower responses become. There is also a limit to the context window (total tokens that can be processed at once), so if the conversation gets too long, it may forget older content. At that point, use /compact to compress the conversation or /clear to start fresh.
다음 신호가 보이면 /compact를 쓸 때입니다:

1. 응답이 눈에 띄게 느려졌을 때 — 토큰이 많이 쌓였다는 신호입니다.
2. Claude가 아까 말한 걸 반복할 때 — 컨텍스트가 혼잡해진 것입니다.
3. 주제를 바꾸고 싶은데 이전 맥락이 방해될 때 — 특정 주제만 남기고 압축하세요.

보통 20~30번 정도 대화를 주고받으면 한 번 압축하는 것이 좋습니다. /compact 로그인 기능 관련만 남겨줘처럼 특정 주제를 지정할 수도 있습니다.
These are the signals that it's time to use /compact:

1. Responses noticeably slow down — a sign that many tokens have accumulated.
2. Claude repeats things it said earlier — the context has become cluttered.
3. You want to change topics but prior context is getting in the way — compress while keeping only the relevant topic.

Generally, compressing once every 20–30 exchanges is a good habit. You can also specify a topic: /compact keep only the login feature context.
네, 가능합니다! /model 명령어로 대화 도중에 모델을 전환할 수 있습니다. 예를 들어, Sonnet으로 작업하다가 복잡한 문제를 만나면 Opus로 전환하고, 해결 후 다시 Sonnet으로 돌아올 수 있습니다. 대화 맥락은 유지되므로, 모델만 바뀌고 이전 대화 내용은 그대로 이어집니다.
Yes, you can! Use the /model command to switch models during a conversation. For example, you can start working with Sonnet, switch to Opus when you hit a complex problem, then switch back to Sonnet after resolving it. The conversation context is preserved, so only the model changes — the prior conversation continues as-is.
Claude.ai는 웹 브라우저에서 사용하는 채팅 인터페이스입니다. 일반 대화, 문서 작성, 질문 답변 등에 적합합니다.

Claude Code는 터미널(CLI)에서 사용하는 코딩 전용 도구입니다. 파일 시스템에 직접 접근하여 코드를 읽고, 수정하고, 명령어를 실행할 수 있습니다. 프로젝트 전체를 이해하고 실제 파일을 편집하는 것이 가장 큰 차이입니다.

같은 구독(Pro/Max)으로 둘 다 사용할 수 있으며, 사용량 한도를 공유합니다.
Claude.ai is a chat interface used in a web browser. It's suited for general conversation, document writing, and Q&A.

Claude Code is a coding-dedicated tool used in the terminal (CLI). It can directly access the file system to read, modify, and execute code and commands. The biggest difference is that it understands the entire project and can actually edit files.

Both can be used with the same subscription (Pro/Max) and share the same usage quota.

핵심만 기억하세요

첫 실행 = cd 프로젝트 → claude → /init
커맨드 = /로 시작하는 특수 명령어
권한 모드 = 기본값 → 편집 자동 수락 → 계획 모드 (Shift+Tab 순환)
실행 취소 = Esc 두 번으로 마지막 파일 변경 복원
비용 관리 = Max 플랜 + /compact 습관화

모르겠으면 /help를 입력하세요. 답이 거기 있습니다.

Remember the Essentials

First run = cd project → claude → /init
Commands = Special commands starting with /
Permission modes = Default → Auto-accept Edits → Plan Mode (cycle with Shift+Tab)
Undo = Press Esc twice to restore the last file change
Cost management = Max plan + make /compact a habit

If in doubt, type /help. The answer is there.

이전: 설치 & 첫 실행Prev: Install & First Run 다음: CLAUDE.mdNext: CLAUDE.md