클로드 코드 완벽 가이드
홈
기본과정
고급 확장
GitHub
홈
기본과정
고급 확장
GitHub
  • 기본과정

    • 시작하기

      • Intro
      • Install
      • Login & Logout
    • 기본 사용법

      • First Prompt
      • Prompt History
      • ESC Interrupt
      • Rewind Your Code
      • Prompt In Editor
      • Claude cli
      • XML
    • 개발 환경

      • Claude Directory Structure
      • Settings.json
      • Permission
    • 고급 기능

      • Memory
      • Context
      • MCP
      • Change Mode
      • MultiModal - Image
      • observability
      • Statusline
      • Thinking
    • 기타

      • Output File
      • Keep Up to Date
      • Usage Check

settings.json 설정 및 공유하기

settings.json에는 클로드 코드와 관련된 기본설정이 들어 있습니다.

경로

유저레벨

  • 모든 프로젝트에 적용되는 세팅입니다.
$HOME/.claude/settings.json

프로젝트 레벨

  • 프로젝트에 종속되거나 팀원들과 공유하기 위해서 사용합니다.
{your_project}/.claude/settings.json

Local 레벨

  • git 추적되지 않습니다.
{your_project}/.claude/settings.local.json

settings.json 기본내용

  • permissions : 허용한 도구들이 리스트업 됩니다.
  • 클로드 코드내에서 /permissions 명령어로 추가, 제거할 수 있습니다.
{
  "permissions": {
    "allow": [
      "Bash(tree:*)",
      "Bash(cat:*)",
      "Bash(find:*)",
      "Skill(translation)"
    ],
    "deny": [],
    "ask": []
  },
  "enableAllProjectMcpServers": true,
  "enabledMcpjsonServers": [
    "chrome-devtools"
  ]
}

전체 히스토리 제거

~/.claude/projects/<project-name>/<session-id>.jsonl 경로에 대화와 관련된 모든 데이터가 남아 있습니다.

{
  "parentUuid": null,
  "isSidechain": false,
  "userType": "external",
  "cwd": "/Users/stefancho/works/claude-plugins",
  "sessionId": "92e7626e-1470-45d0-b101-053dec568900",
  "version": "2.0.35",
  "gitBranch": "main",
  "type": "user",
  "message": {
    "role": "user",
    "content": "안녕하세요!"
  },
  "uuid": "6c3518e5-b642-4131-a569-ebaad20e2011",
  "timestamp": "2025-11-10T12:47:35.895Z",
  "thinkingMetadata": {
    "level": "none",
    "disabled": true,
    "triggers": []
  }
}
{
  "type": "summary",
  "summary": "Claude Code Release Notes Summary 2024-2025",
  "leafUuid": "b04223c9-3662-40ba-985a-622b7c50f650"
}
{
  "parentUuid": "6c3518e5-b642-4131-a569-ebaad20e2011",
  "isSidechain": false,
  "userType": "external",
  "cwd": "/Users/stefancho/works/claude-plugins",
  "sessionId": "92e7626e-1470-45d0-b101-053dec568900",
  "version": "2.0.35",
  "gitBranch": "main",
  "message": {
    "model": "claude-sonnet-4-5-20250929",
    "id": "msg_015RfFABCH9Ndf6AvzLvR67U",
    "type": "message",
    "role": "assistant",
    "content": [
      {
        "type": "text",
        "text": "Hi! I'm Claude Code, ready to help you with software engineering tasks in this repository.\n\nI can see you're working in the claude-plugins repository, which is a marketplace for Claude Code plugins. How can I help you today?"
      }
    ],
    "stop_reason": null,
    "stop_sequence": null,
    "usage": {
      "input_tokens": 3,
      "cache_creation_input_tokens": 19099,
      "cache_read_input_tokens": 0,
      "cache_creation": {
        "ephemeral_5m_input_tokens": 19099,
        "ephemeral_1h_input_tokens": 0
      },
      "output_tokens": 1,
      "service_tier": "standard"
    }
  },
  "requestId": "req_011CUzEXYU7NA4RphtQ9S9kw",
  "type": "assistant",
  "uuid": "696e8677-b4ad-478a-9bea-c282c941d5c6",
  "timestamp": "2025-11-10T12:47:39.752Z"
}

Ref

  • https://github.com/devstefancho/claude-code-tutorial
이 페이지 수정하기
최종 수정: 25. 11. 13. 오전 9:37
Contributors: hello
Prev
Claude Directory Structure
Next
Permission