콘텐츠로 건너뛰기
H-A

Hangbok Archive

  • Wiki
  • NEWS
  • Wiki
  • NEWS

AI 코딩 에이전트 Wiki

  • AI 코딩 에이전트
  • AI 하네스
    • AI 하네스란 무엇인가
    • AI 코딩 에이전트의 주요 구성요소
    • Claude Skills
    • Claude Memory
    • Claude Hook
    • Claude Subagents
    • Claude Rules (Claude.md)
    • 참고) Claude Hook Matcher
  • Claude Code
    • Claude Code 입문
    • VS Code에서 Claude Code 사용하기
    • settings.json으로 권한과 실행 환경 제어하기

LangChain/LangGraph

  • 채팅 시작하기
    • LangChain • LangGraph wiki

OpenSearch

  • OpenSearch wiki
View Categories
  • Home
  • wiki
  • AI 코딩 에이전트 Wiki
  • Claude Code
  • settings.json으로 권한과 실행 환경 제어하기

settings.json으로 권한과 실행 환경 제어하기

윤후 이
Updated on 6월 5, 2026

12 min read

settings.json의 역할 #

settings.json은 Claude Code의 동작을 JSON으로 제어하는 설정 파일입니다.

주로 다음을 조절합니다.

  • 어떤 도구와 명령을 자동 허용/확인/거부할지
  • 어떤 파일/디렉터리와 네트워크 접근을 허용할지
  • 기본 모델, 응답 스타일, 언어, thinking/effort 수준
  • 환경 변수, 인증 helper, telemetry, timeout 등 실행 환경
  • UI 표시 방식, status line, file suggestion, worktree 동작
  • MCP, plugin, skill, managed policy 관련 제어

파일 위치와 우선순위 #

범위위치용도커밋 여부우선순위
Managed서버 관리 설정, MDM/Registry, /etc/claude-code/managed-settings.json 등조직/관리자가 강제하는 정책일반적으로 커밋 안 함가장 높음
CLI 인자claude --settings ..., --model, --permission-mode 등현재 세션에만 임시 적용안 함Managed 다음
Local<repo>/.claude/settings.local.json프로젝트별 개인 설정, 실험, 로컬 경로안 함. gitignore 권장/자동 ignoreProject/User보다 높음
Project<repo>/.claude/settings.json팀 전체가 공유할 프로젝트 정책커밋User보다 높음
User~/.claude/settings.json모든 프로젝트에 적용할 개인 전역 설정안 함가장 낮음

병합 규칙 #

  • 스칼라 값: 더 높은 우선순위의 값이 낮은 값을 덮어씁니다.
    • 예: User에서 spinnerTipsEnabled: true, Project에서 false면 Project의 false가 적용됩니다.
  • 배열 값: 대부분 연결 후 중복 제거됩니다.
    • 예: permissions.allow, sandbox.filesystem.allowWrite는 여러 scope의 배열이 합쳐집니다.
  • 권한 규칙은 단순 override가 아니라 여러 scope에서 병합된 뒤 평가됩니다.
  • Managed 설정은 원칙적으로 사용자가 덮어쓸 수 없습니다.

settings.json 예시 #

{
  "$schema": "<https://json.schemastore.org/claude-code-settings.json>",
  "model": "claude-sonnet-4-6",
  "effortLevel": "high",
  "language": "korean",
  "permissions": {
    "defaultMode": "acceptEdits",
    "allow": [
      "Bash(git diff *)",
      "Bash(npm run test:*)",
      "Read(./docs/**)"
    ],
    "ask": [
      "Bash(git push *)"
    ],
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)",
      "Bash(curl *)"
    ],
    "additionalDirectories": [
      "../docs"
    ]
  },
  "env": {
    "BASH_DEFAULT_TIMEOUT_MS": "300000",
    "BASH_MAX_OUTPUT_LENGTH": "20000"
  },
  "attribution": {
    "commit": "Generated with Claude Code",
    "pr": ""
  },
  "cleanupPeriodDays": 30
}

$schema를 넣는 이유 #

$schema를 넣으면 VS Code, Cursor 같은 JSON Schema 지원 에디터에서 자동완성/검증을 받을 수 있습니다.

"$schema": "<https://json.schemastore.org/claude-code-settings.json>"

단, 공식 문서에 새로 추가된 키가 SchemaStore에 반영되기 전이면 에디터가 경고를 띄울 수 있습니다.

공식 문서에 있는 키라면 CLI 버전과 함께 확인하세요.

최상위 키 #

키값 형태무엇을 조절하나예시비고
$schemastringJSON schema 연결"<https://json.schemastore.org/claude-code-settings.json>"자동완성/검증용
permissionsobject도구 사용 허용/확인/거부, 기본 permission mode{"allow":["Bash(git diff *)"]}가장 중요
sandboxobjectBash/PowerShell 실행의 파일시스템·네트워크 격리{"enabled":true}macOS/Linux/WSL2 중심
envobjectClaude Code와 하위 프로세스에 주입할 환경 변수{"BASH_DEFAULT_TIMEOUT_MS":"300000"}값은 문자열 권장
modelstring기본 모델 지정"claude-sonnet-4-6"--model, /model, ANTHROPIC_MODEL이 우선할 수 있음
availableModelsarray사용자가 선택 가능한 모델 제한["sonnet", "haiku"]관리/팀 정책에 유용
modelOverridesobject모델 ID를 Bedrock/Vertex/Foundry 등 provider별 ID로 매핑{"claude-sonnet-4-6":"arn:aws:..."}엔터프라이즈/프록시 환경
effortLevelstringreasoning effort 기본값"low", "medium", "high", "xhigh"/effort, env var와 상호작용
alwaysThinkingEnabledbooleanextended thinking을 기본 활성화trueCLAUDE_CODE_DISABLE_THINKING으로 강제 비활성 가능
showThinkingSummariesbooleaninteractive session에서 thinking summary 표시 여부true표시만 조절. 비용 절감은 별도 설정 필요
outputStylestring응답 스타일/system prompt 스타일"Explanatory"/output-style 계열과 관련
languagestring기본 응답 언어"korean", "japanese"voice dictation 언어에도 영향
attributionobjectcommit/PR attribution 문구{"commit":"", "pr":""}includeCoAuthoredBy보다 우선
includeCoAuthoredBybooleancommit/PR에 Co-authored-by 포함 여부falseDeprecated. attribution 권장
cleanupPeriodDaysnumber세션 파일/오래된 worktree 정리 주기30최소 1. 0은 거부
autoUpdatesChannelstring자동 업데이트 채널"latest", "stable"업데이트 비활성은 env 사용
minimumVersionstringClaude Code 최소 버전 고정"2.1.100"조직 표준화에 유용
autoMemoryEnabledbooleanauto memory 사용 여부false기본 true
autoMemoryDirectorystringauto memory 저장 위치"~/my-memory-dir"project/local에서는 허용되지 않음
claudeMdExcludesarray로드하지 않을 CLAUDE.md 경로 패턴["**/vendor/**/CLAUDE.md"]absolute path 기준 매칭
includeGitInstructionsboolean내장 git commit/PR 지침과 git status snapshot 포함 여부false자체 git skill/command가 있으면 false 고려
plansDirectorystringplan 파일 저장 위치"./plans"프로젝트 root 기준
fileSuggestionobject@ 파일 자동완성용 커스텀 명령{"type":"command","command":"~/.claude/file-suggestion.sh"}대형 monorepo에 유용
respectGitignoreboolean@ 파일 picker가 .gitignore를 존중할지false기본 true
statusLineobject터미널 하단 status line 커스터마이징{"type":"command","command":"~/.claude/statusline.sh"}현재 branch/토큰/비용 표시 등에 활용
hooksobject도구 호출/프롬프트/세션 이벤트에 command 실행{"PreToolUse":[...]}여기서는 간략히만 설명
worktreeobject--worktree와 background session 격리 방식{"baseRef":"head"}대형 repo/병렬 작업에 중요
skillOverridesobjectskill별 노출 수준 제어{"deploy":"off"}on, name-only, user-invocable-only, off
skillListingBudgetFractionnumberskill 목록에 배정할 context 비율0.02기본 0.01
maxSkillDescriptionCharsnumberskill 설명 최대 길이2048길게 쓰는 skill이 많을 때 조절
enableAllProjectMcpServersboolean프로젝트 .mcp.json의 모든 MCP 서버 자동 승인true팀 공유 MCP에 사용
enabledMcpjsonServersarray특정 MCP 서버만 승인["github", "memory"]화이트리스트 성격
disabledMcpjsonServersarray특정 MCP 서버 거부["filesystem"]로컬/프로젝트 보안
allowedMcpServers / deniedMcpServersarray관리 설정에서 MCP allow/deny list[{"serverName":"github"}]Managed 중심
enabledPluginsarray활성화할 pluginplugin 설정 참고plugin 문서와 함께 확인
extraKnownMarketplaces, strictKnownMarketplaces, blockedMarketplacesarrayplugin marketplace 허용/차단/고정[{"source":"github","repo":"acme/plugins"}]Managed에서 중요
disableAllHooksboolean모든 hook과 custom status line 비활성true긴급 차단용
allowedHttpHookUrlsarrayHTTP hook이 호출 가능한 URL 패턴["<https://hooks.example.com/*>"]hooks는 간략 설명만
httpHookAllowedEnvVarsarrayHTTP hook header에 보간 가능한 env var 제한["HOOK_SECRET"]secret 유출 방지
apiKeyHelperstringAPI key/auth token을 생성하는 helper script"/bin/generate_temp_api_key.sh"동적 credential
awsAuthRefresh, awsCredentialExport, gcpAuthRefreshstring클라우드 credential 갱신/내보내기 script"aws sso login --profile dev"Bedrock/Vertex 등
forceLoginMethod, forceLoginOrgUUIDstring/array로그인 방식/조직 제한"claudeai", org UUIDManaged에서 주로 사용
disableAutoMode, disableBypassPermissionsMode, disableRemoteControl, disableDeepLinkRegistrationstring/boolean위험하거나 조직에서 제한할 기능 비활성"disable", true보안 정책

permissions #

permissions는 Claude Code에서 가장 자주 쓰는 핵심 설정입니다.

{
  "permissions": {
    "defaultMode": "acceptEdits",
    "allow": ["Bash(git diff *)"],
    "ask": ["Bash(git push *)"],
    "deny": ["Read(./.env)", "Read(./secrets/**)"],
    "additionalDirectories": ["../docs"],
    "disableBypassPermissionsMode": "disable"
  }
}
키값설명예시
allowarray of rules일치하는 도구 호출을 자동 허용["Bash(npm run test *)"]
askarray of rules일치하는 도구 호출 전 확인 요청["Bash(git push *)"]
denyarray of rules일치하는 도구 호출 차단["Read(./.env)", "Bash(curl *)"]
additionalDirectoriesarray of paths현재 repo 외에 접근 가능한 작업 디렉터리 추가["../shared-docs"]
defaultModestringClaude Code 시작 시 기본 권한 모드"default", "acceptEdits", "plan", "auto", "dontAsk", "bypassPermissions"
disableBypassPermissionsMode"disable"bypassPermissions 모드 진입 자체를 막음"disable"
skipDangerousModePermissionPromptbooleanbypassPermissions 진입 전 경고 prompt 생략true

권한 평가 순서 #

권한 규칙은 다음 순서로 평가됩니다.

  1. deny
  2. ask
  3. allow

먼저 매칭되는 규칙이 적용됩니다. 따라서 민감한 파일이나 위험 명령은 deny에 명시하는 것이 가장 안전합니다.

권한 규칙 문법 #

규칙은 다음 두 형태 중 하나입니다.

Tool
Tool(specifier)
규칙의미추천도
Bash모든 Bash 명령에 매칭낮음. 너무 넓음
Bash(npm run test *)npm run test 로 시작하는 명령 허용높음
Bash(git diff *)git diff 계열 명령 허용높음
Bash(git push *)git push 계열 명령 확인/차단높음
Read(./.env)프로젝트의 .env 읽기 매칭높음. 보통 deny
Read(./secrets/**)secrets 디렉터리 전체 읽기 매칭높음. 보통 deny
Edit(./src/**)src 아래 파일 편집 매칭상황에 따라 유용
WebFetch(domain:github.com)github.com fetch 매칭도메인 제한에 유용
mcp__github__search_repositories특정 MCP tool 매칭MCP는 풀네임 권장

Permission 패턴 예시 #

{
  "permissions": {
    "allow": [
      "Bash(git status *)",
      "Bash(git diff *)",
      "Bash(npm run lint *)",
      "Bash(npm run test *)",
      "Read(./docs/**)"
    ],
    "ask": [
      "Bash(git commit *)",
      "Bash(git push *)",
      "Bash(npm install *)"
    ],
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(./secrets/**)",
      "Bash(rm -rf *)",
      "Bash(curl *)",
      "Bash(wget *)"
    ]
  }
}

sandbox 상세 #

sandbox는 Bash/PowerShell 명령을 OS-level sandbox 안에서 실행하도록 제어합니다.

권한 규칙이 Claude Code의 tool 사용을 제어한다면, sandbox는 실제 하위 프로세스의 파일/네트워크 접근을 제한합니다.

{
  "sandbox": {
    "enabled": true,
    "autoAllowBashIfSandboxed": true,
    "excludedCommands": ["docker *"],
    "filesystem": {
      "allowWrite": ["./tmp", "/tmp/build"],
      "denyRead": ["~/.aws/credentials", "./.env"],
      "denyWrite": ["/etc", "/usr/local/bin"],
      "allowRead": ["."]
    },
    "network": {
      "allowedDomains": ["github.com", "*.npmjs.org"],
      "deniedDomains": ["uploads.github.com"],
      "allowLocalBinding": true
    }
  }
}

sandbox 주요 키 #

키값설명예시
enabledbooleanBash sandbox 활성화true
failIfUnavailablebooleansandbox를 시작할 수 없으면 Claude Code 시작 실패 처리true
autoAllowBashIfSandboxedbooleansandbox 안에서 실행되는 Bash를 자동 허용true
excludedCommandsarraysandbox 밖에서 실행해야 하는 명령 패턴["docker *"]
allowUnsandboxedCommandsbooleandangerouslyDisableSandbox escape hatch 허용 여부false
filesystem.allowWritearraysandbox 명령이 쓸 수 있는 추가 경로["/tmp/build", "~/.kube"]
filesystem.denyWritearray쓰기 금지 경로["/etc", "/usr/local/bin"]
filesystem.denyReadarray읽기 금지 경로["~/.aws/credentials"]
filesystem.allowReadarraydenyRead 안에서 다시 허용할 경로["."]
network.allowedDomainsarray외부 네트워크 허용 도메인["github.com", "*.npmjs.org"]
network.deniedDomainsarray외부 네트워크 차단 도메인. allow보다 우선["sensitive.example.com"]
network.allowLocalBindingbooleanlocalhost 포트 바인딩 허용true
network.httpProxyPortnumber직접 운영하는 HTTP proxy port8080
network.socksProxyPortnumber직접 운영하는 SOCKS proxy port8081

sandbox path prefix #

prefix의미예시
/파일시스템 root 기준 absolute path/tmp/build
~/home directory 기준~/.kube
./ 또는 prefix 없음project settings에서는 project root 기준, user settings에서는 ~/.claude 기준./output

주의: sandbox filesystem path의 /path는 absolute path입니다.

permission rule의 path 문법과 다를 수 있으니 혼동하지 마세요.

메모리, 파일 추천, git 관련 키 #

키값설명예시
autoMemoryEnabledbooleanauto memory 기능 사용 여부false
autoMemoryDirectorystringauto memory 저장 경로"~/my-memory-dir"
claudeMdExcludesarray로드하지 않을 CLAUDE.md 패턴["**/vendor/**/CLAUDE.md"]
includeGitInstructionsboolean내장 git commit/PR 지침과 git status snapshot 포함 여부false
attribution.commitstringgit commit attribution 문구"Generated with Claude Code"
attribution.prstringPR description attribution 문구""
includeCoAuthoredBybooleandeprecated byline 설정false
fileSuggestionobject@ file autocomplete용 command{"type":"command","command":"~/.claude/file-suggestion.sh"}
respectGitignoreboolean@ file picker가 .gitignore를 반영할지true
plansDirectorystringplan 파일 저장 위치"./plans"
prUrlTemplatestringPR badge URL template"<https://reviews.example.com/{owner}/{repo}/pull/{number}>"

attribution으로 co-author 제거하기 #

{
  "attribution": {
    "commit": "",
    "pr": ""
  }
}

attribution이 있으면 deprecated된 includeCoAuthoredBy보다 우선합니다.

Worktree 관련 키 #

worktree는 claude --worktree, background session, subagent isolation에서 새 git worktree를 어떻게 만들고 관리할지 정합니다.

키값설명예시
worktree.baseRefstring새 worktree가 어디서 branch될지"fresh", "head"
worktree.symlinkDirectoriesarray새 worktree에 복사하지 않고 symlink할 디렉터리["node_modules", ".cache"]
worktree.sparsePathsarraysparse-checkout할 경로["packages/my-app", "shared/utils"]
worktree.bgIsolationstringbackground session의 격리 방식"worktree", "none"

Claude Worktree 설정 예시 모음

아래는 실제 상황별로 추천하는 worktree 설정 예시들입니다.

일반적인 대형 Monorepo

대부분의 Next.js, Turborepo, Yarn/PNPM Workspace 프로젝트에 적합

{
  "worktree": {
    "baseRef": "head",
    "symlinkDirectories": ["node_modules", ".cache", "dist", ".next"],
    "sparsePaths": ["packages/**", "apps/**", "shared/**", "turbo.json", "package.json"],
    "bgIsolation": "worktree"
  }
}

이유:

  • head로 현재 상태에서 빠르게 브랜치
  • 무거운 디렉토리는 symlink로 복사 비용 절감
  • sparse-checkout으로 필요한 부분만 체크아웃

완전 깨끗한 새 작업 환경 (실험/새 기능 개발 시)

{
  "worktree": {
    "baseRef": "fresh",
    "symlinkDirectories": ["node_modules", ".cache"],
    "sparsePaths": [],
    "bgIsolation": "worktree"
  }
}

이유:

  • fresh → main 브랜치 최신 상태에서 완전히 새로 시작
  • sparsePaths를 비우면 전체 저장소를 체크아웃 (필요 시)

Background Session / Subagent 전용 (격리 강조)

{
  "worktree": {
    "baseRef": "head",
    "symlinkDirectories": ["node_modules", ".cache", "dist"],
    "sparsePaths": ["."],                    // 전체 체크아웃
    "bgIsolation": "worktree"
  }
}

이유:

  • background session과 subagent가 서로 영향을 주지 않도록 별도 worktree 사용
  • bgIsolation: "worktree"가 핵심

최소 리소스 / 빠른 시작 우선 (작은 프로젝트)

{
  "worktree": {
    "baseRef": "head",
    "symlinkDirectories": ["node_modules"],
    "sparsePaths": ["src", "public", "package.json", "tsconfig.json"],
    "bgIsolation": "none"
  }
}

이유:

  • bgIsolation을 none으로 해서 오버헤드 최소화
  • 정말 필요한 파일만 sparse하게 체크아웃

특정 패키지만 작업할 때 (Monorepo 내 특정 앱/패키지)

{
  "worktree": {
    "baseRef": "head",
    "symlinkDirectories": ["node_modules", ".cache"],
    "sparsePaths": [
      "apps/my-app",
      "packages/shared",
      "packages/ui",
      "package.json",
      "turbo.json"
    ],
    "bgIsolation": "worktree"
  }
}

PR 리뷰 / 버그 수정 전용 (안전하게)

{
  "worktree": {
    "baseRef": "fresh",
    "symlinkDirectories": ["node_modules", ".cache", ".next"],
    "sparsePaths": [],
    "bgIsolation": "worktree"
  }
}

추천 기본 설정

{
  "worktree": {
    "baseRef": "head",
    "symlinkDirectories": ["node_modules", ".cache", "dist", ".turbo"],
    "sparsePaths": ["**/*"],           // 전체 체크아웃하고 싶으면 이렇게
    "bgIsolation": "worktree"
  }
}

MCP 관련 키 #

키값설명예시
enableAllProjectMcpServersboolean프로젝트 .mcp.json 서버를 모두 자동 승인true
enabledMcpjsonServersarray특정 .mcp.json 서버만 승인["github", "memory"]
disabledMcpjsonServersarray특정 .mcp.json 서버 거부["filesystem"]
allowedMcpServersarray허용 가능한 MCP 서버 목록[{"serverName":"github"}]
deniedMcpServersarray차단할 MCP 서버 목록[{"serverName":"filesystem"}]
allowManagedMcpServersOnlybooleanmanaged settings의 allowlist만 존중true
allowAllClaudeAiMcpsbooleanmanaged MCP와 claude.ai connector 병행 로드true

일반 프로젝트에서는 보통 enableAllProjectMcpServers, enabledMcpjsonServers, disabledMcpjsonServers 정도를 씁니다. allowedMcpServers, deniedMcpServers, allowManagedMcpServersOnly는 조직 관리 정책에서 더 자주 사용됩니다.

Skill / Plugin 관련 키 #

Skill 관련 #

키값설명예시
skillOverridesobjectskill별 노출 방식 제어{"legacy-context":"name-only","deploy":"off"}
skillListingBudgetFractionnumberskill listing에 배정할 context 비율0.02
maxSkillDescriptionCharsnumberskill 설명 최대 문자 수2048
disableSkillShellExecutionbooleanskill/custom command 안의 inline shell 실행 비활성true

skillOverrides 값:

값의미
"on"정상 노출
"name-only"이름만 노출. 설명은 줄임
"user-invocable-only"사용자가 명시적으로 호출할 때만 사용
"off"숨김/비활성

env 키로 넣을 수 있는 주요 환경 변수 #

환경 변수는 shell에서 직접 export할 수도 있고, settings.json의 env 아래에 넣을 수도 있습니다. 동일한 동작에 settings field와 environment variable이 모두 있으면 일반적으로 environment variable이 우선합니다.

{
  "env": {
    "ANTHROPIC_MODEL": "claude-sonnet-4-6",
    "API_TIMEOUT_MS": "1200000",
    "BASH_DEFAULT_TIMEOUT_MS": "300000",
    "BASH_MAX_OUTPUT_LENGTH": "20000",
    "CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS": "1"
  }
}
환경 변수설명예시
ANTHROPIC_API_KEYAnthropic API key 인증"sk-ant-..."
ANTHROPIC_AUTH_TOKENcustom Authorization Bearer token"token"
ANTHROPIC_BASE_URLAPI endpoint/proxy/gateway 변경"<https://gateway.example.com>"
ANTHROPIC_MODEL사용 모델 override"claude-sonnet-4-6"
ANTHROPIC_DEFAULT_OPUS_MODEL / ANTHROPIC_DEFAULT_SONNET_MODEL / ANTHROPIC_DEFAULT_HAIKU_MODEL모델 alias의 기본 ID 변경provider/gateway 환경
API_TIMEOUT_MSAPI 요청 timeout"1200000"
BASH_DEFAULT_TIMEOUT_MSBash 기본 timeout"300000"
BASH_MAX_TIMEOUT_MSBash 최대 timeout"600000"
BASH_MAX_OUTPUT_LENGTHBash 출력이 너무 길 때 truncate 기준"20000"
CLAUDE_CODE_DISABLE_AUTO_MEMORYauto memory 비활성화"1"
CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS내장 git 지침 제거"1"
CLAUDE_CODE_DISABLE_THINKINGextended thinking 강제 비활성화"1"
CLAUDE_CODE_EFFORT_LEVELeffort level override"low", "medium", "high", "xhigh"
CLAUDE_CODE_ENABLE_TELEMETRYOpenTelemetry 활성화"1"
CLAUDE_CODE_NO_FLICKERfullscreen rendering 사용"1"
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC자동 업데이트/telemetry/feedback 등 비필수 트래픽 비활성"1"
DISABLE_AUTOUPDATER자동 업데이트 비활성"1"
NO_COLOR, FORCE_COLOR하위 프로세스 색상 제어"1"

주의: env에 민감한 API key를 프로젝트 공유 설정 파일(.claude/settings.json)에 넣지 마세요. 개인 전역 설정, 로컬 설정, OS secret manager, apiKeyHelper 등을 사용하는 편이 안전합니다.

공식 문서 링크 #

  • Claude Code Settings: https://code.claude.com/docs/en/settings
  • Configure Permissions: https://code.claude.com/docs/en/permissions
  • Hooks Reference: https://code.claude.com/docs/en/hooks
  • Environment Variables: https://code.claude.com/docs/en/env-vars
  • JSON Schema: https://json.schemastore.org/claude-code-settings.json
글이 도움이 되셨나요?
공유하기
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Updated on 6월 5, 2026
VS Code에서 Claude Code 사용하기Claude Code 입문

답글 남기기 응답 취소

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다


목차
  • settings.json의 역할
  • 파일 위치와 우선순위
    • 병합 규칙
  • settings.json 예시
    • $schema를 넣는 이유
  • 최상위 키
  • permissions
    • 권한 평가 순서
    • 권한 규칙 문법
    • Permission 패턴 예시
  • sandbox 상세
    • sandbox 주요 키
    • sandbox path prefix
  • 메모리, 파일 추천, git 관련 키
    • attribution으로 co-author 제거하기
  • Worktree 관련 키
  • MCP 관련 키
  • Skill / Plugin 관련 키
    • Skill 관련
  • env 키로 넣을 수 있는 주요 환경 변수
  • 공식 문서 링크

Hangbok Archive

모든 권리 보유