{"version":"2.1.330","anchor":"cowork-shell-check-gated-by-claude-code-cowork-shell-check","canonical_anchor":"cowork-shell-check-gated-by-claude-code-cowork-shell-check","heading":"New CLAUDE_CODE_COWORK_SHELL_CHECK setting can make cowork tool calls ask first","tier":"use","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/cowork-shell-check-gated-by-claude-code-cowork-shell-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### New `CLAUDE_CODE_COWORK_SHELL_CHECK` setting can make cowork tool calls ask first\n\nWith `CLAUDE_CODE_COWORK_SHELL_CHECK` set, some tool calls in cowork sessions now ask for confirmation instead of going ahead\n\n**Unclear.** It is not stated which tools this covers or what the other conditions are.\n\n**What**\n\nA tool call is Claude using one of its tools, such as running a shell command. There is a new environment variable, `CLAUDE_CODE_COWORK_SHELL_CHECK`. When it is set, the session is a cowork session and one other check fails, the check that decides a tool call's permission can now return \"ask\", so you are asked to confirm. The same check also takes a separate path in cowork sessions.\n\n**Why**\n\nIt adds a way, controlled by an environment variable, to make shell tool calls in cowork sessions ask for confirmation.\n\n- Area: Permissions\n- Names: `CLAUDE_CODE_COWORK_SHELL_CHECK`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}