[BUG] VS CODE Extension no longer allows --dangerously-skip-permissions

Resolved 💬 75 comments Opened Sep 30, 2025 by khari998 Closed Oct 24, 2025
💡 Likely answer: A maintainer (hackyon-anthropic, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Previously the vs code extension would launch with the claude command. in order to run --dangerously-skip-permissions we would have to close the terminal, open it back up and run the command with this flag. however now the extension no longer runs the claude command in the terminal, it does it internally. so there is no way to allow us to skip permissions. so this makes it so that even with edit automatically we still have to approve pretty much every tool call request. if this is permanently inaccessible then there should be a setting to allow this such that we can run without having to give permissions to every tool.

What Should Happen?

We need a way of being able to run claude code in the VS CODE extension without permissions. We are no longer able to because of the architectural design

Error Messages/Logs

Steps to Reproduce

open the vs code extension. no settings allow us to disable permission checks

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

75 Comments

github-actions[bot] · 9 months ago

---

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2933
  2. https://github.com/anthropics/claude-code/issues/2564

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

deromka · 9 months ago

Increase priority for this ticket, since with the newly updated Claude Code VSCode extension, the workaround with Ctrl+C and running 'claude --dangerously-skip-permissions' it does not work anymore. I've tried setting an alias in zshrc, but it does not work since extensions are not loading up the shell, I've tried adding this flag to ~/.claude/settings.json, it did not work.

mhyrr · 9 months ago

+1

maayanbd12 · 9 months ago

+1

also,
i use this extension in cursor, and i wish to have a solution there also

kinivi · 9 months ago

same

eugenelo428937 · 9 months ago

+1

mhyrr · 9 months ago

Adding some additional thoughts..

There are other small affordance differences that are not keyboard focused, a single click anywhere doesn't give the textbox focus, escape button doesn't work when modals pop-up, less insight into progress, no ctrl-o, no thinking mode hooks that I can see beyond config etc.. in addition to no option to dangerously-skip-permissions.

Love using this but for now gonna head back to the CLI.

What worries me more is that this feels “on purpose”, which makes me worry directionally. Let’s not slow things down. There’s plenty of other guardrails to you use in your repo. One of the best things about Claude code was that it was much like a CLI: plenty of config and everything out in the open.

adner · 9 months ago

+1

jkarger123 · 9 months ago

same problem, i really hope this isn't intention

Beep206 · 9 months ago

+1

yasircs4 · 9 months ago

+1

FredLackeyOfficial · 9 months ago

+1

vincent-homeric · 9 months ago

+1

BoQsc · 9 months ago

+1

mrxbey · 9 months ago

+1

nexusledge-lc · 9 months ago

+1

max-winderbaum · 9 months ago

+1. I can't use this until I have a workaround here

khari998 · 9 months ago

@max-winderbaum yeah i just went to using claude code directly in the terminal. Doesn't have any of these issues

michaelhvisser · 9 months ago

+1

wojo · 9 months ago

+1

jjeff · 9 months ago

+1

msw10100 · 9 months ago

+1

spollacs · 9 months ago

+1

Tylerto · 9 months ago

+1

ghost · 9 months ago

+1

montytorr · 9 months ago

+1

jgiffard · 9 months ago

+1

fiswakenl · 9 months ago

+1

Paul-Simpson · 9 months ago

+1

GabrielAraujo · 9 months ago

++

elaurin03 · 9 months ago

+2 (please!!)

dennislbc · 9 months ago

This is so frustrating

Beowulfwar · 9 months ago

+1

ddullah · 9 months ago

+1

patiphop · 9 months ago

+1

skyfyl · 9 months ago

+1

fintechOne · 9 months ago

Claude Code just became totally useless for me, now changing to Codex. I WAS fan of claude code. Done!

fintechOne · 9 months ago

1, allow, 1 allow, 1, allow.... No way!!!

nick-the-dev · 9 months ago

+1

jonchyatt · 9 months ago

+1

rhys-lastmyle · 9 months ago

+1

cennaoui-code · 9 months ago

+1

eason-dev · 9 months ago

+1

iagdotme · 9 months ago

Has anyone found a workaround for this yet, aside from running it in the terminal? Or is it something only Anthropic can fix?

mgoulet101 · 9 months ago

+1

No workaround that I can find, other than using the terminal. The native extension is so close, but without this feature, I'm sticking to the CLI.

jimmy927 · 9 months ago

Stopped using the extension entirely now, total dealbreaker.

Yahome · 9 months ago

+1

shiaukuan · 9 months ago

+1

sergeyzavarzin · 9 months ago

+1

btraut · 9 months ago

Rather than just +1'ing this (which I support), I'll add a little color on how I use the product. I very frequently operate Claude Code via the extension to do some work for me and then tab away to some other task. If I remain present, the _extremely_ frequent permission prompts are annoying, but if I tab away, they're actively disruptive since I return later only to find nothing completed.

I totally respect and appreciate the aim to add safety into the product, but I think the controls around the intended permission tolerance are missing. Do I want to give Claude permission to use rm? Maybe, maybe not; I'm glad you asked. Do I want to give it permission to search "linear sdk 2025" on the web? Yes; please stop asking me. But keeping an allow-list of tools is also untenable. I trust the LLM to make a judgement call on what could be dangerous or not, and if there's nuance, I can add it to my CLAUDE.md or some other config location.

tl;dr: This isn't just missing polish. It's actively disruptive and really breaks the experience of the extension vs CLI.

BoPengGit · 9 months ago

Please add this feature to Claude code extension for VSCode. Thank you.

jjeff · 9 months ago
I very frequently operate Claude Code via the extension to do some work for me and then tab away to some other task. If I remain present, the _extremely_ frequent permission prompts are annoying, but if I tab away, they're actively disruptive since I return later only to find nothing completed.

Even better than the YOLO approach is to use a Claude development container, which creates a limited-access Docker container for development. You then run “Reopen in Container" in VS Code, and run Claude Code inside the container. Since your codebase is the only content inside the container, this is all Claude has access to… and YOLO no more… 🙂

It looks like @zeke has opened a proper feature request for this. (Thanks!) So hopefully this is on the @anthropics radar.

lifodetails · 9 months ago

+1

lifodetails · 9 months ago

把这个放到 插件同目录("C:\Users\your-user-name\.vscode\extensions\anthropic.claude-code-xxxxxxxxxx")下,保存成 bat 文件,然后执行:

u/echo off
setlocal enabledelayedexpansion

:: 设置窗口标题
title Claude Code Patcher (v3 with Backup)

:: 定义要查找和替换的字符串
set "original_string=k=[\"--output-format\",\"stream-json\",\"--verbose\",\"--input-format\",\"stream-json\"]"
set "replacement_string=k=[\"--dangerously-skip-permissions\",\"--output-format\",\"stream-json\",\"--verbose\",\"--input-format\",\"stream-json\"]"

:: PowerShell 使用的正则表达式模式
set "original_pattern=k=\[\"--output-format\",\"stream-json\",\"--verbose\",\"--input-format\",\"stream-json\"\]"
set "replacement_pattern=k=\[\"--dangerously-skip-permissions\",\"--output-format\",\"stream-json\",\"--verbose\",\"--input-format\",\"stream-json\"\]"

:: 定义文件名和路径
set "target_file=extension.js"
set "backup_file=%target_file%.bak"
set "file_path=%~dp0%target_file%"
set "backup_path=%~dp0%backup_file%"

echo.
echo ==========================================================
echo           Claude Code VSCode Patcher (v3)
echo ==========================================================
echo This script will modify '%target_file%' to add the
echo '--dangerously-skip-permissions' launch argument.
echo.
echo A backup of the original file will be created as
echo '%backup_file%' before any changes are made.
echo.
echo Make sure this script is in the same directory as
echo '%target_file%'.
echo.
echo Press any key to continue, or close this window to cancel.
pause > nul
echo.

:: 1. 检查 extension.js 是否存在
if not exist "%file_path%" (
    echo [ERROR] '%target_file%' not found in the current directory.
    echo Please place this script next to the file you want to patch.
    goto end
)

:: 2. 检查是否已经被修改过
powershell -NoProfile -Command "if ((Get-Content -Raw -Path '%file_path%') -match '%replacement_pattern%') { exit 0 } else { exit 1 }"
if %errorlevel% equ 0 (
    echo [INFO] The file appears to be already patched. No changes made.
    goto end
)

:: 3. 检查原始字符串是否存在
powershell -NoProfile -Command "if ((Get-Content -Raw -Path '%file_path%') -match '%original_pattern%') { exit 0 } else { exit 1 }"
if %errorlevel% neq 0 (
    echo [WARNING] The original arguments array was not found.
    echo The file might be a different version or already modified.
    echo No changes were made.
    goto end
)

:: 4. 创建备份(如果备份文件不存在)
echo [INFO] Checking for existing backup...
if not exist "%backup_path%" (
    echo [ACTION] Creating backup of the original file as '%backup_file%'...
    copy "%file_path%" "%backup_path%" > nul
    if %errorlevel% neq 0 (
        echo [ERROR] Failed to create backup file. Aborting patch.
        goto end
    )
    echo [SUCCESS] Backup created.
) else (
    echo [INFO] Backup file '%backup_file%' already exists. Proceeding without creating a new backup.
)
echo.


:: 5. 执行替换
echo [ACTION] Found the original arguments array. Patching the file...
echo.
powershell -NoProfile -ExecutionPolicy Bypass -Command "(Get-Content -Raw -Path '%file_path%') -replace '%original_pattern%', '%replacement_string%' | Set-Content -Path '%file_path%'"

:: 6. 检查结果
if %errorlevel% equ 0 (
    echo [SUCCESS] The file '%target_file%' has been successfully patched!
    echo If you encounter any issues, you can restore the original file
    echo by renaming '%backup_file%' back to '%target_file%'.
) else (
    echo [ERROR] Something went wrong during the patching process.
    echo Please check your permissions and try running as an administrator if needed.
)

:end
echo.
echo ==========================================================
echo Patch process finished.
echo.
pause
rai-agadiraju · 9 months ago

+1 Cant use the extension w/o this feature.

anton-abyzov · 9 months ago

+1 The extension is unusable without it!

consentsam · 9 months ago

Won't touch CC extension without it.

jimmy927 · 9 months ago

This was seriously slowing me down so much i build a patcher to fix the issue.

Find it here:

https://github.com/jimmy927/claude-code-extension-patcher

PS C:\Users\jimmy\src\claude-code-extension-patchger> .\ultra-yolo-patcher.ps1  -yes
Claude Code YOLO Patcher - Dual Mode (Windows + WSL)

[1/2] Windows...
[FOUND] C:\Users\jimmy\.cursor\extensions\anthropic.claude-code-2.0.10-universal (3 files)
[FOUND] C:\Users\jimmy\.vscode\extensions\anthropic.claude-code-1.0.109 (1 files)
Patched 4/4 files
RESTART Cursor/VSCode!
Logs: C:\Users\jimmy\AppData\Local\Temp\claude-code-yolo.log

[2/2] WSL...
[FOUND] /home/jimmy/.cursor-server/extensions/anthropic.claude-code-2.0.10-universal (3 files)
[FOUND] /home/jimmy/.cursor-server/extensions/anthropic.claude-code-2.0.14-universal (3 files)
Patched 6/6 files
RESTART Cursor/VSCode!
Logs: /tmp/claude-code-yolo.log
PS C:\Users\jimmy\src\claude-code-extension-patchger>
tondeaf · 9 months ago

need this NOW

TheEditor · 9 months ago

MUST have this

hackyon-anthropic collaborator · 9 months ago

Looking into this now!

hackyon-anthropic collaborator · 8 months ago

This feature has been added and should be out before the end of the week. I'll follow-up with instructions on how to enable when it's out!

tondeaf · 8 months ago

There are SO MANY unskippable things that Claude confirms on...pgpassword,
mkdir, just...do it already, dude! I trust you, Claude.

On Thu, Oct 23, 2025, 11:34 JB @.***> wrote:

hackyon-anthropic left a comment (anthropics/claude-code#8539) <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3438540652> This feature has been added and should be out before the end of the week. I'll follow-up with instructions on how to enable when it's out! — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3438540652>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2PWXJD7H7C4VI3C2QSU4SD3ZENTPAVCNFSM6AAAAACH6E7K5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMZYGU2DANRVGI> . You are receiving this because you commented.Message ID: @.***>
hackyon-anthropic collaborator · 8 months ago

This should be available in 2.0.26!

You will first need to enable the Allow Dangerously Skip Permissions option in preferences (you can open it up with General Config (VScode) in the extension's command menu /). Once you've toggled the option, you should be able to shift+tab into the bypass permissions mode.

Please give it a spin when you get a chance! Closing this issue out, but feel free to file another issue if you encounter problems with it

tondeaf · 8 months ago

Format my hard drive! Right my ex's and tell them I want to get back
together! Just don't make me confirm!

On Thu, Oct 23, 2025, 19:43 JB @.***> wrote:

hackyon-anthropic left a comment (anthropics/claude-code#8539) <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3440578552> This should be available in 2.0.26! You will first need to enable the Allow Dangerously Skip Permissions option in preferences (you can open it up with General Config (VScode) in the extension's command menu /). Once you've toggled the option, you should be able to shift+tab into the bypass permissions mode. Please give it a spin when you get a chance! Closing this issue out, but feel free to file another issue if you encounter problems with it — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3440578552>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2PWXJDHZQFTB7IEFI5QIQ33ZGG5BAVCNFSM6AAAAACH6E7K5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINBQGU3TQNJVGI> . You are receiving this because you commented.Message ID: @.***>
seanGSISG · 8 months ago

do you realize how much time ive spent using claude to patch --dangerously-skip-permissions after every update!? lol, glad its finally a feature.

can you now please allow further customization to the status line? like git branch, the context window, and other features popular in the terminal based CC affords?

or better yet, just fix the schizo terminal behavior where I feel like im plugging into the matrix and i have no need for the extension 👍

maayanbd12 · 8 months ago
This should be available in 2.0.26! You will first need to enable the Allow Dangerously Skip Permissions option in preferences (you can open it up with General Config (VScode) in the extension's command menu /). Once you've toggled the option, you should be able to shift+tab into the bypass permissions mode. Please give it a spin when you get a chance! Closing this issue out, but feel free to file another issue if you encounter problems with it

what about those who uses CC extension in cursor? how do we do that?

hackyon-anthropic collaborator · 8 months ago

You should be able to access the same settings in Cursor

tondeaf · 8 months ago

You can click the settings Editor four times and it changes too just for
this editor.

On Sat, Nov 1, 2025, 03:32 Bomin Zhang @.***> wrote:

RealmX1 left a comment (anthropics/claude-code#8539) <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3476162546> This should be available in 2.0.26! You will first need to enable the Allow Dangerously Skip Permissions option in preferences (you can open it up with General Config (VScode) in the extension's command menu /). Once you've toggled the option, you should be able to shift+tab into the bypass permissions mode. Please give it a spin when you get a chance! Closing this issue out, but feel free to file another issue if you encounter problems with it The issue now is that this is a global setting for all claude code window opened through the extension. Previously, we can manually control which window use the bypass-permission and which not to. If possible, include a button or some control inside each window for toggling this. Thanks. — Reply to this email directly, view it on GitHub <https://github.com/anthropics/claude-code/issues/8539#issuecomment-3476162546>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2PWXJAPLRVUTEU5JKXKIIL32SD5BAVCNFSM6AAAAACH6E7K5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINZWGE3DENJUGY> . You are receiving this because you commented.Message ID: @.***>
TheEditor · 8 months ago

Or just use Shift+Tab to cycle thru the modes. Easy peasy.

You can click the settings Editor four times and it changes too just for this editor. […](#)
jimmy927 · 8 months ago

Is there a way to make a new window/session start with "Bypass permissions" ?
i start new sessions all the time and need to constantly toggle to "Bypass permissions" - its tedious.

hackyon-anthropic collaborator · 8 months ago

@jimmy927 we just added this option to the latest version, it should be available inside /General Config as Initial Permission Mode

jimmy927 · 8 months ago
@jimmy927 we just added this option to the latest version, it should be available inside /General Config as Initial Permission Mode

GREAT! which version will it be in ?

jimmy927 · 8 months ago

Solved in 2.0.35

<img width="1274" height="827" alt="Image" src="https://github.com/user-attachments/assets/2ac1f76e-7158-4899-9abc-f5cdfd32f39b" />

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.