Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
"YONGMIN",
"JAEHYUN",
"Kakao"
]
],
"claudeCodeChat.permissions.yoloMode": false
Comment on lines +40 to +41
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

확인 필요: claudeCodeChat.permissions.yoloMode 설정 키의 유효성과 팀 합의

워크스페이스 설정에 확장 전용 키를 추가하면, 해당 확장이 미설치된 환경에서 “Unknown configuration setting” 경고가 나타날 수 있습니다. 또한 키 네임스페이스(claudeCodeChat)와 설정명(permissions.yoloMode)이 실제 확장 스키마와 일치하는지 확인이 필요합니다. 팀 차원의 표준이라면:

  • .vscode/extensions.json에 해당 확장을 추천 목록으로 추가
  • README/CONTRIBUTING에 설정 취지와 필요성 명시
    를 권장합니다. 개인 선호라면 User Settings로 이동하는 편이 낫습니다.

아래 두 가지 중 선택하세요.

  • 유지: 위 권장사항 반영 및 키 유효성 검증
  • 제거: 팀 표준이 아니라면 다음 패치로 제거

제거를 선택할 경우 제안 diff:

-  ],
-  "claudeCodeChat.permissions.yoloMode": false
+  ]

키 유효성 검증을 위해 웹 검색이 필요합니다. 아래 쿼리를 실행해 최신 문서를 확인해 주세요. 필요하면 제가 결과를 토대로 맞는 키로 수정 PR 제안 드리겠습니다.


🌐 Web query:

What are the valid VS Code settings keys for the "Claude Code" (or "Claude Dev/Chat") extension, specifically the configuration for "yolo mode" or similar permissions flags? Provide the canonical setting ID and example usage in settings.json.

💡 Result:

The canonical setting to enable "YOLO mode"—which skips all permission prompts and allows Claude Code to execute actions without interactive approval—is configured using the dangerously skip permissions flag. This is generally set at the CLI level, but can also be passed as a configuration option. The canonical key for this for VS Code (and related environments) is:

dangerouslySkipPermissions

Canonical Setting ID

  • Key: "dangerouslySkipPermissions"

Example Usage in settings.json

To enable YOLO mode for Claude Code in your VS Code settings.json, add:

{
  "claudeCode.dangerouslySkipPermissions": true
}

Context and Details

  • The official Anthropic documentation and engineering blog refer to YOLO mode as any configuration that uses the flag or setting allowing bypass of the usual permission checks[6][2][4].
  • The CLI flag is --dangerously-skip-permissions, and the corresponding config key in most environments is dangerouslySkipPermissions[6][2].
  • In VS Code and similar editors, the setting is typically namespaced with the extension ID (e.g., claudeCode) in settings.json.
  • Enabling this setting allows Claude to execute commands such as code edits, file operations, or running scripts without prompting you for each action[6][4].
  • Warning: Anthropic and community sources strongly recommend using this mode only within a sandboxed/dev container and note the significant risks (data loss, security) if used on your main system[6][2][4].

Other Relevant Configuration Info

  • You can also set this permission via the CLI directly:
    claude --dangerously-skip-permissions
    
    or, if using a Docker setup, via environment variable or command args.
  • For extra safety, you may want to combine "YOLO mode" with deny lists or additional confirmation requirements for destructive commands (e.g., rm, as discussed in user forums)[8].
  • There are no official or documented alternative keys such as "yoloMode"; the canonical flag is always centered on "dangerouslySkipPermissions" or --dangerously-skip-permissions[6][2][4].

Summary of Canonical Usage

Setting/Flag Where Used Example
"claudeCode.dangerouslySkipPermissions": true VS Code settings.json see above
--dangerously-skip-permissions CLI claude --dangerously-skip-permissions

Always use this setting with extreme caution and preferably only in isolated/test environments[6][2].

Citations:


조치 필요: 잘못된 설정 키 교체 또는 제거 권장

간단 요약: 제공된 문서 확인 결과 "claudeCodeChat.permissions.yoloMode"는 문서화된 설정이 아니며, YOLO(권한 프롬프트 무시) 관련 공식 키는 "claudeCode.dangerouslySkipPermissions"입니다. 이 옵션은 보안/데이터 손실 위험이 크므로 팀 합의·문서화가 필요합니다.

주의할 위치:

  • .vscode/settings.json — 현재 설정(약 라인 40-41)

권장 조치 (선택 중 택1):

  • 유지(권장 방식): 잘못된 키를 canonical 키로 교체하고 팀 합의 및 문서화
    • .vscode/settings.json에 "claudeCode.dangerouslySkipPermissions": false(또는 true·팀 결정)로 교체
    • .vscode/extensions.json에 권장 확장 추가(예: "anthropic.claude-code")
    • README/CONTRIBUTING에 사용 목적과 위험 고지 기록
  • 제거: 팀 표준이 아니라면 설정 항목을 삭제하여 불필요한 경고/혼란 제거

제안 diff (교체 예: 기본값 false 유지)

-  "claudeCodeChat.permissions.yoloMode": false
+  "claudeCode.dangerouslySkipPermissions": false
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
],
"claudeCodeChat.permissions.yoloMode": false
],
"claudeCode.dangerouslySkipPermissions": false
🤖 Prompt for AI Agents
.vscode/settings.json around lines 40-41: the key
"claudeCodeChat.permissions.yoloMode" is not a documented setting and should be
replaced or removed; replace it with the canonical key
"claudeCode.dangerouslySkipPermissions" set to false (or true only after team
approval and risk documentation), or remove the entry entirely if not needed; if
keeping, also add the recommended extension (e.g., "anthropic.claude-code") to
.vscode/extensions.json and add a short note in README/CONTRIBUTING describing
the option purpose and the security/data-loss risks so the team can formally
approve the change.

}
Loading