{"id":8312,"date":"2026-12-01T16:13:20","date_gmt":"2026-12-01T16:13:20","guid":{"rendered":"https:\/\/jonjones.ai\/uncategorized\/claude-code-dangerously-skip-permissions\/"},"modified":"2026-12-01T16:13:20","modified_gmt":"2026-12-01T16:13:20","slug":"%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e5%8d%b1%e9%9a%aa%e5%9c%b0%e8%b7%b3%e9%81%8e%e6%ac%8a%e9%99%90","status":"publish","type":"post","link":"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7\/%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e5%8d%b1%e9%9a%aa%e5%9c%b0%e8%b7%b3%e9%81%8e%e6%ac%8a%e9%99%90\/","title":{"rendered":"Claude Code \u2013dangerously-skip-permissions\uff1a\u5b83\u8df3\u904e\u4e86\u4ec0\u9ebc\uff0c\u5b83\u4ecd\u7136\u963b\u6b62\u4e86\u4ec0\u9ebc\uff0c\u4ee5\u53ca 2,304 \u6b21\u7121\u4eba\u503c\u5b88\u904b\u884c\u5982\u4f55\u4f7f\u7528\u5b83"},"content":{"rendered":"<p>If you searched for <strong>claude code dangerously skip permissions<\/strong>, here&#8217;s the short answer: <code>--dangerously-skip-permissions<\/code> starts Claude Code in <code>bypassPermissions<\/code> mode, so tool calls run without asking you first. It doesn&#8217;t remove every check, though. In 2026 a few things still stop it, and what they do depends on whether a person is watching the terminal.<\/p>\n\n<p>Most guides cover the laptop case: you&#8217;re tired of pressing Enter, you add the flag, and someone tells you to &#8220;wrap it in Docker&#8221;. That advice is fine, but it skips the case where the flag matters most, a scheduled job with nobody at the keyboard.<\/p>\n\n<p>That&#8217;s my case. Every job in my agent fleet starts with this flag. I checked the logs on 2 December 2026: <strong>2,304 unattended runs since 12 June<\/strong>, all launched by the same line in one shell script. Below is what the flag does according to the current docs, what it still blocks, how that plays out when nobody can answer a prompt, and the gaps in my own setup that I haven&#8217;t closed yet.<\/p>\n\n<h2>What &#8211;dangerously-skip-permissions Actually Does<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s1-20261202.jpg\" alt=\"A row of seven frosted teal glass doors on a dark reflective floor, with warm amber light growing stronger toward the far end of the row\" class=\"wp-image-8304\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s1-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s1-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s1-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s1-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>The docs are direct about it: <code>--dangerously-skip-permissions<\/code> is equivalent to <code>--permission-mode bypassPermissions<\/code>. It&#8217;s one of six permission modes, and each one is a different answer to &#8220;what can Claude do before it has to ask?&#8221; Here&#8217;s the table from Anthropic&#8217;s <a href=\"https:\/\/code.claude.com\/docs\/en\/permission-modes\" target=\"_blank\" rel=\"noopener\">permission modes page<\/a>, shortened (read on 2 December 2026):<\/p>\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Mode<\/th><th>Runs without asking<\/th><th>Anthropic&#8217;s &#8220;best for&#8221;<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>default<\/code> (Manual)<\/td><td>File reads in your working directories and actions that need no approval<\/td><td>Sensitive work, unfamiliar code<\/td><\/tr>\n<tr><td><code>acceptEdits<\/code><\/td><td>Reads, file edits, common filesystem commands (<code>mkdir<\/code>, <code>mv<\/code>, <code>cp<\/code>&#8230;)<\/td><td>Iterating on code you&#8217;re reviewing<\/td><\/tr>\n<tr><td><code>plan<\/code><\/td><td>Reads, plus classifier-approved commands when auto mode is available<\/td><td>Exploring before changing anything<\/td><\/tr>\n<tr><td><code>auto<\/code><\/td><td>Everything, with a classifier model checking actions in the background<\/td><td>Long tasks, fewer prompts<\/td><\/tr>\n<tr><td><code>dontAsk<\/code><\/td><td>Reads and pre-approved tools; anything that would prompt is denied<\/td><td>Locked-down CI and scripts<\/td><\/tr>\n<tr><td><code>bypassPermissions<\/code><\/td><td>Everything<\/td><td>Isolated containers and VMs only<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n<p>Note that last column. Anthropic&#8217;s own recommendation for the mode this flag turns on is &#8220;isolated containers and VMs only&#8221;, and the page adds &#8220;without internet access&#8221;. Keep that in mind, because I&#8217;ll come back to it when I list my own gaps.<\/p>\n\n<p>A few details that trip people up:<\/p>\n\n<ul>\n<li><strong>There&#8217;s a softer version of the flag.<\/strong> <code>--allow-dangerously-skip-permissions<\/code> adds bypass to the <code>Shift+Tab<\/code> mode cycle without starting in it. Use it if you want to switch into bypass partway through a session, not from the start.<\/li>\n<li><strong>Allow rules do nothing in bypass mode<\/strong> because everything is already allowed. <strong>Deny rules still apply<\/strong> in every mode, bypass included. That makes deny rules the most useful safety tool you have once the flag is on.<\/li>\n<li><strong>Auto mode is now the default in the terminal.<\/strong> Since v2.1.283, an interactive terminal or VS Code session starts in <code>auto<\/code> unless you set something else. Many people reach for the flag to stop prompts, but on a current version you may not get many prompts in the first place.<\/li>\n<\/ul>\n\n<h2>What Claude Code Still Blocks With &#8211;dangerously-skip-permissions (2026 Rules)<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s2-20261202.jpg\" alt=\"A frosted teal glass arch with three small amber glass panels behind it, each standing beside a clear glass cube on a low pedestal\" class=\"wp-image-8305\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s2-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s2-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s2-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s2-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>&#8220;Bypass all permission checks&#8221; is what <code>claude --help<\/code> says, but that&#8217;s not quite true anymore. The docs list &#8220;actions no mode auto-approves&#8221;, and that includes <code>bypassPermissions<\/code>:<\/p>\n\n<ol>\n<li><strong>Tools matched by an explicit ask rule.<\/strong> If your settings say <code>\"ask\": [\"Bash(git push *)\"]<\/code>, bypass still asks.<\/li>\n<li><strong>Tools that need a human by design:<\/strong> the built-in <code>AskUserQuestion<\/code> tool and MCP tools marked <code>requiresUserInteraction<\/code>.<\/li>\n<li><strong>Critical-path removals.<\/strong> These are <code>rm<\/code> or <code>rmdir<\/code> commands aimed at the filesystem root, a top-level directory like <code>\/usr<\/code> or <code>\/data<\/code>, your home directory, or your working directory and its parents. The check also catches the classic empty-variable mistake: <code>rm -rf \"$DIR\"\/*<\/code> counts as critical because, if <code>$DIR<\/code> is empty, it deletes from <code>\/<\/code>. Guard it as <code>\"${DIR:?}\"\/*<\/code> and the check passes.<\/li>\n<li><strong>Cross-session messaging safeguards<\/strong>, such as messages to your sessions on other machines.<\/li>\n<li><strong>Reads or writes outside the working directories<\/strong>, but only if you turned on <code>blockReadsOutsideWorkingDirectories<\/code> or <code>blockWritesOutsideWorkingDirectories<\/code>.<\/li>\n<\/ol>\n\n<p>One rule goes the other way. <strong>Protected-path writes are allowed in bypass.<\/strong> Those are paths like <code>.git<\/code>, <code>.claude<\/code>, <code>.bashrc<\/code>, <code>.npmrc<\/code> and <code>.mcp.json<\/code>, files that change how your tools or your shell behave. Every other mode asks first, sends the write to the classifier, or denies it. Bypass just writes. In practice, that means an agent in bypass mode can edit its own settings file.<\/p>\n\n<p>Milan Jovanovi\u0107 tested exactly that. With the flag on, Claude removed a deny rule from a project&#8217;s <code>.claude\/settings.json<\/code> in one tool call, and the next session ran the command the rule used to block. His fix is to put the rules you depend on in <strong>managed settings<\/strong> (<code>\/etc\/claude-code\/managed-settings.json<\/code> on Linux), owned by root. Settings files Claude can edit can&#8217;t override managed settings. <a href=\"https:\/\/milanjovanovic.tech\/blog\/claude-code-dangerously-skip-permissions\" target=\"_blank\" rel=\"noopener\">His write-up<\/a> is worth reading.<\/p>\n\n<h3>The two-minute countdown<\/h3>\n\n<p>In a terminal, a critical-path removal in bypass mode shows a prompt with a <strong>two-minute countdown<\/strong>. If nobody answers, the command is denied and Claude is told to do something else, so an unattended terminal session keeps going instead of hanging. After three of these prompts expire in one session, Claude Code stops asking and denies the rest straight away. This needs v2.1.281 or later.<\/p>\n\n<p>If you really want critical-path <code>rm<\/code> to run with no prompt, there&#8217;s an environment variable for it with a name you won&#8217;t forget: <code>CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1<\/code> (v2.1.311+, launch environment only). My fleet is on 2.1.292, so it doesn&#8217;t apply to me, and I wouldn&#8217;t turn it on anyway.<\/p>\n\n<h2>Claude Code Dangerously Skip Permissions in a Cron Job (the Unattended Case)<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s3-20261202.jpg\" alt=\"A long glass track at night carrying glowing cyan capsules in single file toward a small amber light in the distance\" class=\"wp-image-8306\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s3-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s3-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s3-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s3-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>This is the part the top-ranking posts don&#8217;t cover. Here&#8217;s line 182 of my <code>cron-dispatcher.sh<\/code>, the script that starts every scheduled job in my fleet:<\/p>\n\n<pre class=\"wp-block-code\"><code>claude --print --dangerously-skip-permissions -p \"$INSTRUCTION\" &lt; \/dev\/null &gt;&gt; \"$LOG_FILE\" 2&gt;&amp;1<\/code><\/pre>\n\n<p>Each part has a job. <code>-p<\/code> runs a single prompt with no interactive session. <code>&lt; \/dev\/null<\/code> makes sure nothing can wait on keyboard input. The flag stops the run from blocking on approvals nobody can give. Without it, a 3 a.m. blog post would get stuck at the first <code>curl<\/code>.<\/p>\n\n<p>So what happens to the checks from the previous section when there&#8217;s no terminal? The docs answer this, and it&#8217;s a different answer from the laptop case:<\/p>\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Where it runs<\/th><th>Critical-path <code>rm<\/code> in bypass mode<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Interactive terminal<\/td><td>Prompt with a 2-minute countdown, then denied<\/td><\/tr>\n<tr><td>VS Code chat panel \/ Desktop app<\/td><td>Denied, unless a <code>PermissionRequest<\/code> hook allows it<\/td><\/tr>\n<tr><td><code>claude -p<\/code> or Agent SDK<\/td><td>Your <code>--permission-prompt-tool<\/code> or <code>canUseTool<\/code> callback decides. With neither, denied unless a <code>PermissionRequest<\/code> hook allows it<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n<p>My dispatcher has no prompt tool and no hook, so in my fleet a recognised critical-path removal is simply <strong>denied<\/strong>. That&#8217;s the behaviour I want. The docs are also honest that the check &#8220;can miss some commands&#8221;, and it only covers <code>rm<\/code> and <code>rmdir<\/code>. A <code>find -delete<\/code> or a Python <code>shutil.rmtree<\/code> isn&#8217;t covered. So the flag&#8217;s last checks are a safety net, not a boundary.<\/p>\n\n<h3>Three more gotchas when nobody&#8217;s watching<\/h3>\n\n<ul>\n<li><strong>No dialog in <code>-p<\/code>.<\/strong> The first interactive bypass session shows a warning you have to accept. In non-interactive mode the docs say &#8220;no dialog is shown&#8221;, so a script can switch bypass on without anyone ever having seen the warning.<\/li>\n<li><strong>Background sessions are different.<\/strong> <code>claude --bg --permission-mode bypassPermissions<\/code> is refused unless your acceptance is recorded as <code>\"skipDangerousModePermissionPrompt\": true<\/code> in <code>~\/.claude\/settings.json<\/code> (or managed settings). If it&#8217;s only in <code>.claude\/settings.local.json<\/code>, the session starts in Manual mode and shows &#8220;Bypass permissions was requested at launch and ignored&#8221;. My container&#8217;s settings file has the key, so this hasn&#8217;t hit me, but it&#8217;s the first thing I&#8217;d check if a background job suddenly stops working.<\/li>\n<li><strong>Leaving the flag out is now a different failure.<\/strong> From v2.1.302, <code>claude -p<\/code> with no mode set starts in Manual, and anything that needs approval is denied. Older versions could start in auto mode in some setups. So if you remove the flag from a cron job on a new version, the job won&#8217;t hang. It will run and quietly fail at every <code>curl<\/code>. The fix is <code>--permission-mode auto<\/code> or a proper <code>--allowedTools<\/code> list. My fleet is still on 2.1.292, so this change hasn&#8217;t reached me yet. <a href=\"https:\/\/jonjones.ai\/ai-automation\/daily-tip-tuesday-pin-claude-code-version-2026-12-01\/\">Here&#8217;s why I&#8217;m pinning the version<\/a> before it does.<\/li>\n<\/ul>\n\n<h3>What 2,304 runs with the flag look like<\/h3>\n\n<p>Logs from 12 June to 1 December 2026: <strong>2,304 runs<\/strong>, all through that line. <strong>2,236 exited 0, 52 exited 1<\/strong>, and 16 logs stop right after the header: the job was stopped before it printed anything, so I can&#8217;t say what happened in those. I read all 52 failures. <strong>None of them was a permission denial.<\/strong> Every one was an access or capacity problem: expired or revoked logins, an organisation-level block on subscription access across two days in July and August, API overload, and usage limits. The last non-zero exit was on 25 September.<\/p>\n\n<p>One limit on that receipt: my logs keep each run&#8217;s final report, not every tool call. So I can&#8217;t tell you how many individual calls the remaining checks blocked. I can tell you that blocked calls never caused a failed run. I&#8217;m also not saying the fleet has been incident-free. <a href=\"https:\/\/jonjones.ai\/ai-automation\/daily-monday-myth-ai-agent-hardware-2026-11-30\/\">The container recorded one out-of-memory kill<\/a>, and I still don&#8217;t know which process it hit.<\/p>\n\n\n<style>#kt-layout-idsignup_mid > .kt-row-column-wrap{align-content:start;}:where(#kt-layout-idsignup_mid > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}#kt-layout-idsignup_mid > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-md, 2rem);padding-top:var( --global-kb-row-default-top, 25px );padding-bottom:var( --global-kb-row-default-bottom, 25px );padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;grid-template-columns:repeat(2, minmax(0, 1fr));}#kt-layout-idsignup_mid{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:16px;border-bottom-left-radius:16px;overflow:clip;isolation:isolate;}#kt-layout-idsignup_mid > .kt-row-layout-overlay{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:16px;border-bottom-left-radius:16px;}#kt-layout-idsignup_mid{background-color:#0d1117;}#kt-layout-idsignup_mid > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){#kt-layout-idsignup_mid > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}@media all and (max-width: 767px){#kt-layout-idsignup_mid > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}<\/style>\n<div class=\"wp-block-kadence-rowlayout alignnone\">\n<style>.kadence-columnsignup_img_mid > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-columnsignup_img_mid > .kt-inside-inner-col,.kadence-columnsignup_img_mid > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-columnsignup_img_mid > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-columnsignup_img_mid > .kt-inside-inner-col{flex-direction:column;}.kadence-columnsignup_img_mid > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-columnsignup_img_mid > .kt-inside-inner-col:before{opacity:0.3;}.kadence-columnsignup_img_mid{position:relative;}@media all and (max-width: 1024px){.kadence-columnsignup_img_mid > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-columnsignup_img_mid > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-1\"><div class=\"kt-inside-inner-col\">\n\n<figure class=\"wp-block-image size-medium\"><img decoding=\"async\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/06\/newsletter-cta-ai-playbook.jpg\" alt=\"Holographic AI playbook glowing teal above a dark surface\" \/><\/figure>\n\n<\/div><\/div>\n\n<style>.kadence-columnsignup_txt_mid > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-columnsignup_txt_mid > .kt-inside-inner-col,.kadence-columnsignup_txt_mid > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-columnsignup_txt_mid > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-columnsignup_txt_mid > .kt-inside-inner-col{flex-direction:column;}.kadence-columnsignup_txt_mid > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-columnsignup_txt_mid > .kt-inside-inner-col:before{opacity:0.3;}.kadence-columnsignup_txt_mid{position:relative;}@media all and (max-width: 1024px){.kadence-columnsignup_txt_mid > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-columnsignup_txt_mid > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-2\"><div class=\"kt-inside-inner-col\">\n\n<h3 class=\"wp-block-heading has-text-color\" style=\"color:#00d4b4\">Get the AI Playbook<\/h3>\n\n\n<p class=\"has-text-color\" style=\"color:#f0f6fc\">The playbook I use to put agents on a schedule: which job to hand over first, how to make each run report a result you can check, and how to catch a run that quietly stopped working. Free, unsubscribe anytime.<\/p>\n\n<div class='fluentform ff-default fluentform_wrapper_8 ffs_default_wrap'><form data-form_id=\"8\" id=\"fluentform_8\" class=\"frm-fluent-form fluent_form_8 ff-el-form-top ff_form_instance_8_1 ff-form-loading ffs_default\" data-form_instance=\"ff_form_instance_8_1\" method=\"POST\" ><fieldset  style=\"border: none!important;margin: 0!important;padding: 0!important;background-color: transparent!important;box-shadow: none!important;outline: none!important; min-inline-size: 100%;\">\n                    <legend class=\"ff_screen_reader_title\" style=\"display: block; margin: 0!important;padding: 0!important;height: 0!important;text-indent: -999999px;width: 0!important;overflow:hidden;\">Lead Magnet - AI Playbook<\/legend><input type='hidden' name='__fluent_form_embded_post_id' value='8312' \/><input type=\"hidden\" id=\"_fluentform_8_fluentformnonce\" name=\"_fluentform_8_fluentformnonce\" value=\"2614dde7a4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/zh\/wp-json\/wp\/v2\/posts\/8312\" \/><div class='ff-el-group'><div class='ff-el-input--content'><input type=\"email\" name=\"email\" id=\"ff_8_email\" class=\"ff-el-form-control\" placeholder=\"Your email address\" data-name=\"email\"  aria-invalid=\"false\" aria-required=true><\/div><\/div><div class='ff-el-group ff-text-left ff_submit_btn_wrapper ff_submit_btn_wrapper_custom'><button class=\"ff-btn ff-btn-submit ff-btn-md ff_btn_style wpf_has_custom_css\" type=\"submit\" name=\"custom_submit_button-8_1\" data-name=\"custom_submit_button-8_1\"  aria-label=\"GET THE PLAYBOOK\">GET THE PLAYBOOK<\/button><style>form.fluent_form_8 .wpf_has_custom_css.ff-btn-submit { background-color:#00ff88;border-color:#00ff88;color:#0a0a14;min-width:100%; }form.fluent_form_8 .wpf_has_custom_css.ff-btn-submit:hover { background-color:#00cc6a;border-color:#00cc6a;color:#0a0a14;min-width:100%; } <\/style><\/div><\/fieldset><\/form><div id='fluentform_8_errors' class='ff-errors-in-stack ff_form_instance_8_1 ff-form-loading_errors ff_form_instance_8_1_errors'><\/div><\/div>            <script type=\"text\/javascript\">\n                window.fluent_form_ff_form_instance_8_1 = {\"id\":\"8\",\"settings\":{\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"restrictions\":{\"denyEmptySubmission\":{\"enabled\":false}}},\"form_instance\":\"ff_form_instance_8_1\",\"form_id_selector\":\"fluentform_8\",\"rules\":{\"email\":{\"required\":{\"value\":true,\"message\":\"This field is required\"},\"email\":{\"value\":true,\"message\":\"Please enter a valid email address\"}}},\"debounce_time\":300};\n                            <\/script>\n            \n\n<\/div><\/div>\n\n<\/div>\n\n\n\n<h2>Bypass vs Auto Mode vs dontAsk: Which One for Which Machine<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s4-20261202.jpg\" alt=\"Glass lanes on a dark floor beside a tall frosted teal glass wall, one lane open and one edged by a low glass rail, with warm amber light running along them\" class=\"wp-image-8307\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s4-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s4-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s4-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s4-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>None of the guides I read compares the three hands-off options for scheduled work, so here&#8217;s my comparison. It&#8217;s based on Anthropic&#8217;s &#8220;common setups&#8221; table plus what I&#8217;ve run in production:<\/p>\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Where Claude runs<\/th><th>My pick<\/th><th>Why<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Your own laptop, interactive<\/td><td><code>auto<\/code> (the default since v2.1.283)<\/td><td>A classifier checks risky actions, and you&#8217;re there for the rest. Bypass on a personal machine with your SSH keys and browser profile is the setup Anthropic warns against.<\/td><\/tr>\n<tr><td>CI pipeline with one clear job (tests, lint, a report)<\/td><td><code>dontAsk<\/code> + <code>--allowedTools<\/code><\/td><td>You know exactly which commands it needs. Anything else is denied instead of prompting, so the job can&#8217;t hang waiting for approval.<\/td><\/tr>\n<tr><td>A container that runs open-ended jobs on a schedule<\/td><td><code>bypassPermissions<\/code>, with containment around it<\/td><td>My jobs call dozens of different APIs with <code>curl<\/code>, Python and shell scripts. An allowlist that tight would break every week. Bypass works <em>if<\/em> the container is the real boundary.<\/td><\/tr>\n<tr><td>A container where each job needs judgement but the tools are unpredictable<\/td><td><code>auto<\/code> in <code>-p<\/code><\/td><td>Needs a supported model, and blocked calls in <code>-p<\/code> are simply skipped and Claude keeps going. Check your logs to see what it refused.<\/td><\/tr>\n<tr><td>A client&#8217;s machine or anything with production credentials<\/td><td>Not bypass<\/td><td>If you can&#8217;t fully contain the machine, you can&#8217;t use the flag safely.<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n<p>One detail about auto mode matters for scheduled jobs. When the classifier blocks something three times in a row or 20 times in total, an interactive session goes back to asking you. A <code>-p<\/code> run has nobody to ask, so the docs say the action just doesn&#8217;t run and Claude carries on. That&#8217;s safer than bypass, but you get a different failure: a job that reports success after quietly skipping the step that mattered. If you switch a cron job to auto mode, have it list in its final report anything it wasn&#8217;t allowed to do.<\/p>\n\n<p>Why do I still use bypass? Because my jobs are broad (research, publish, schedule, email), and the main thing I need from a run is a clear final report I can check, which I wrote about in <a href=\"https:\/\/jonjones.ai\/ai\/claude-code-harness\/\">the harness that runs these jobs<\/a>. If you&#8217;re choosing a mode for a team&#8217;s agents and want someone who&#8217;s run all of them in production to set it up, <a href=\"https:\/\/jonjones.ai\/book-a-meeting\/\">book an automation strategy session<\/a>. I set these up for clients&#8217; fleets.<\/p>\n\n<h2>The Containment Around My Flag (and the 4 Gaps I Haven&#8217;t Closed)<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s5-20261202.jpg\" alt=\"A frosted glass box glowing amber from inside, sitting within a larger clear glass box on a dark surface\" class=\"wp-image-8308\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s5-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s5-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s5-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s5-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>Anthropic&#8217;s position, and every security write-up I read, comes down to this: the flag is only as safe as the box it runs in. Obsidian Security puts it well. The goal isn&#8217;t to bring the prompts back, it&#8217;s &#8220;to make the blast radius small enough that skipping them is a reasonable trade&#8221;. So here&#8217;s my box, checked on 2 December.<\/p>\n\n<h3>What&#8217;s in place<\/h3>\n\n<ul>\n<li><strong>A Docker container per brand.<\/strong> The isolation choices and their trade-offs are in <a href=\"https:\/\/jonjones.ai\/ai\/claude-code-sandbox\/\">my Claude Code sandbox post<\/a>, so I won&#8217;t repeat them here.<\/li>\n<li><strong>A non-root user.<\/strong> The Dockerfile ends with <code>USER agent<\/code> (uid 1001). That&#8217;s also why I&#8217;ve never seen the root error described below.<\/li>\n<li><strong>A 2 GiB memory cap,<\/strong> which the container has hit, as noted above.<\/li>\n<li><strong>One log file per run<\/strong>, plus a Telegram alert when a login expires, and a nightly watchdog that checks the day&#8217;s results.<\/li>\n<li><strong>A file backup before risky edits.<\/strong> Skills copy their shared memory file before writing to it. It&#8217;s crude, and there&#8217;s no automatic restore yet.<\/li>\n<\/ul>\n\n<h3>What isn&#8217;t contained<\/h3>\n\n<ol>\n<li><strong>Network access is open.<\/strong> The docs say &#8220;without internet access&#8221;, but my jobs exist to call APIs, so the container can reach any host. A prompt injection from a scraped web page could send data anywhere.<\/li>\n<li><strong>Every run gets every credential.<\/strong> 33 environment variables with KEY, TOKEN, SECRET or PASSWORD in their names are passed to every job, so a social-media job can read the email credentials too. Obsidian calls this &#8220;reach that nobody mapped&#8221;, and that&#8217;s a fair description.<\/li>\n<li><strong>No deny rules and no managed settings.<\/strong> My <code>~\/.claude\/settings.json<\/code> has exactly two keys: the bypass acceptance and the model. There&#8217;s no <code>\/etc\/claude-code\/managed-settings.json<\/code>. Since bypass allows protected-path writes, nothing stops an agent from changing its own settings.<\/li>\n<li><strong>The project folder is mounted read-write from the host disk.<\/strong> That&#8217;s where the memory, skills and logs live. An <code>rm<\/code> inside a subfolder isn&#8217;t a critical path, so bypass runs it without asking, and the change is real on the host.<\/li>\n<\/ol>\n\n<p>All four are <strong>on my list, not done<\/strong>. In order: managed-settings deny rules for <code>.claude\/**<\/code> edits and force pushes, per-job credential scoping (a credential proxy, as Anthropic&#8217;s always-on agents guide suggests), an egress allowlist, and a read-only mount for anything a job doesn&#8217;t need to write. I&#8217;m publishing the gaps because a post that only lists safeguards would give you the wrong idea.<\/p>\n\n<h2>Common Errors and What They Actually Mean<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s6-20261202.jpg\" alt=\"A tall closed frosted teal glass door in the mist, sealed by one glowing amber bar across its middle\" class=\"wp-image-8309\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s6-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s6-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s6-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s6-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<h3>&#8220;&#8211;dangerously-skip-permissions cannot be used with root\/sudo privileges for security reasons&#8221;<\/h3>\n<p>On Linux and macOS, Claude Code refuses bypass mode when it runs as root, and many Docker images run as root by default. The fix is a non-root user (<code>useradd<\/code> + <code>USER<\/code> in your Dockerfile, or Anthropic&#8217;s dev container configuration). The docs say the check is skipped inside a &#8220;recognized sandbox&#8221;. You&#8217;ll see <code>IS_SANDBOX=1<\/code> suggested online. It&#8217;s undocumented, so I wouldn&#8217;t build on it.<\/p>\n\n<h3>&#8220;Bypass permissions was requested at launch and ignored&#8221;<\/h3>\n<p>This is the background-session issue from earlier. Add <code>\"skipDangerousModePermissionPrompt\": true<\/code> to <code>~\/.claude\/settings.json<\/code> (not the project&#8217;s <code>.claude\/settings.local.json<\/code>) and start a new background session. If <code>claude agents<\/code> keeps showing the warning even though your terminal sessions don&#8217;t, the key is in the wrong file.<\/p>\n\n<h3>&#8220;Error: bypassPermissions not supported in restricted mode&#8221;<\/h3>\n<p>You started with <code>--restricted<\/code> or have <code>CLAUDE_CODE_RESTRICTED<\/code> set. Restricted mode (v2.1.248+) refuses bypass on purpose. Choose one or the other.<\/p>\n\n<h3>The flag &#8220;doesn&#8217;t work&#8221; in VS Code or the Desktop app<\/h3>\n<p>Both need a setting turned on first. In VS Code it&#8217;s <strong>Allow dangerously skip permissions<\/strong> in the extension settings. Without it, a bypass value quietly starts the conversation in Manual. In the Desktop app it&#8217;s <strong>Allow bypass permissions mode<\/strong>, and on Team and Enterprise plans your organisation decides. Cloud sessions on claude.ai don&#8217;t offer bypass, and a <code>defaultMode: \"bypassPermissions\"<\/code> in a repo&#8217;s settings is ignored there.<\/p>\n\n<h3>Bypass set in the project&#8217;s settings doesn&#8217;t take effect<\/h3>\n<p>That&#8217;s by design. <code>\"defaultMode\": \"bypassPermissions\"<\/code> in <code>.claude\/settings.json<\/code> or <code>.claude\/settings.local.json<\/code> is ignored, and the session starts in Manual, so a cloned repo can&#8217;t switch bypass on for you. Put it in <code>~\/.claude\/settings.json<\/code>, or pass the flag.<\/p>\n\n<h2>How to Set It Up Safely: A 7-Step Checklist<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s7-20261202.jpg\" alt=\"Four frosted teal glass blocks rising like steps, with an amber glass cube on a clear platform at the top\" class=\"wp-image-8310\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s7-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s7-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s7-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s7-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<p>If you&#8217;re putting Claude Code on a schedule, this is the order I&#8217;d do it in today, including the steps I haven&#8217;t done myself yet:<\/p>\n\n<ol>\n<li><strong>Ask whether you need bypass at all.<\/strong> If the job only uses a known set of commands, <code>--permission-mode dontAsk --allowedTools ...<\/code> is tighter. If the model supports it, <code>--permission-mode auto<\/code> is the middle ground.<\/li>\n<li><strong>Run it in a container as a non-root user.<\/strong> Mount only the folders the job needs, read-only where you can. Don&#8217;t mount your home directory.<\/li>\n<li><strong>Give each job only the credentials it uses.<\/strong> Don&#8217;t share one <code>.env<\/code> across every job, which is my current setup and gap number 2.<\/li>\n<li><strong>Restrict outbound network access<\/strong> to the hosts the job actually calls, if your jobs allow it.<\/li>\n<li><strong>Put deny rules in managed settings<\/strong>, owned by root, so the agent can&#8217;t edit them: <code>Bash(git push --force*)<\/code>, edits to <code>.claude\/**<\/code>, and whatever counts as irreversible for you.<\/li>\n<li><strong>Use <code>\"${VAR:?}\"<\/code> in every <code>rm<\/code> in your scripts<\/strong>, and don&#8217;t set <code>CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS<\/code>.<\/li>\n<li><strong>Pin the CLI version and log every run.<\/strong> Permission defaults have changed several times this year (auto as default at 2.1.283, <code>-p<\/code> starting in Manual at 2.1.302). Upgrade on purpose, and re-read the permission modes page each time.<\/li>\n<\/ol>\n\n<p>For the flags themselves, my <a href=\"https:\/\/jonjones.ai\/ai\/claude-code-cheat-sheet\/\">Claude Code cheat sheet<\/a> lists every headless option in one table, and <a href=\"https:\/\/jonjones.ai\/ai\/claude-code-best-practices\/\">the best-practices post<\/a> covers the habits around them. If you&#8217;d rather own the whole stack, start with <a href=\"https:\/\/jonjones.ai\/ai\/self-hosted-ai-agent\/\">the self-hosted AI agent layers<\/a>.<\/p>\n\n<h2>Claude Code Dangerously Skip Permissions: FAQ<\/h2>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1344\" height=\"752\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s8-20261202.jpg\" alt=\"Three frosted teal glass spheres floating above a dark surface, with a smaller amber glass sphere resting in front of them\" class=\"wp-image-8311\" srcset=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s8-20261202.jpg 1344w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s8-20261202-768x430.jpg 768w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s8-20261202-18x10.jpg 18w, https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-s8-20261202-600x336.jpg 600w\" sizes=\"auto, (max-width: 1344px) 100vw, 1344px\" \/><\/figure>\n\n<h3>Is &#8211;dangerously-skip-permissions safe?<\/h3>\n<p>Inside a properly contained container or VM, it can be a reasonable trade-off. On your everyday laptop, no. Anthropic says the mode &#8220;offers no protection against prompt injection or unintended actions&#8221; and recommends auto mode if you want fewer prompts with checks still running.<\/p>\n\n<h3>What&#8217;s the settings.json equivalent?<\/h3>\n<p><code>\"permissions\": { \"defaultMode\": \"bypassPermissions\" }<\/code> in <code>~\/.claude\/settings.json<\/code>, managed settings, or a file passed with <code>--settings<\/code>. It&#8217;s ignored in a project&#8217;s own <code>.claude\/<\/code> settings files.<\/p>\n\n<h3>Do deny rules and hooks still work with the flag?<\/h3>\n<p>Yes. Deny rules block in every mode, and a <code>PreToolUse<\/code> hook can still refuse a call. Allow rules don&#8217;t do anything, since everything is already allowed. Keep the rules you rely on in managed settings, because bypass mode can edit project and user settings files.<\/p>\n\n<h3>Can I use it for a single command instead of the whole session?<\/h3>\n<p>Not with the flag itself. Start with <code>--allow-dangerously-skip-permissions<\/code>, then switch into bypass with <code>Shift+Tab<\/code> when you need it and back out afterwards. For one command, it&#8217;s easier to add one allow rule.<\/p>\n\n<h3>Does it work in claude -p?<\/h3>\n<p>Yes, and that&#8217;s where it&#8217;s most useful. No warning dialog is shown. Critical-path <code>rm<\/code> is decided by your prompt tool or hook, or denied if you have neither. Ask rules and tools that need a human (such as <code>AskUserQuestion<\/code>) are denied instead of prompting.<\/p>\n\n<h3>Can an organisation block it?<\/h3>\n<p>Yes. Set <code>permissions.disableBypassPermissionsMode<\/code> to <code>\"disable\"<\/code> in managed settings.<\/p>\n\n<h2>Final Thoughts<\/h2>\n\n<p>The flag&#8217;s name makes it sound like a single dangerous switch, but in 2026 it&#8217;s more nuanced. It&#8217;s a permission mode with a few checks left in it, and those checks behave differently depending on whether anyone is there to answer. In a terminal you get a two-minute countdown. In a cron job, the risky <code>rm<\/code> is denied, and everything else runs.<\/p>\n\n<p>That&#8217;s why I use it for unattended work: 2,304 runs, and no failure caused by permissions. It&#8217;s also why I&#8217;m listing my four gaps instead of claiming the setup is safe. The flag is fine. Whether it&#8217;s a good idea depends on the box you run it in, and mine still needs work.<\/p>\n\n<style>#kt-layout-idsignup_end > .kt-row-column-wrap{align-content:start;}:where(#kt-layout-idsignup_end > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}#kt-layout-idsignup_end > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-md, 2rem);padding-top:var( --global-kb-row-default-top, 25px );padding-bottom:var( --global-kb-row-default-bottom, 25px );padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px;grid-template-columns:repeat(2, minmax(0, 1fr));}#kt-layout-idsignup_end{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:16px;border-bottom-left-radius:16px;overflow:clip;isolation:isolate;}#kt-layout-idsignup_end > .kt-row-layout-overlay{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:16px;border-bottom-left-radius:16px;}#kt-layout-idsignup_end{background-color:#0d1117;}#kt-layout-idsignup_end > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){#kt-layout-idsignup_end > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}@media all and (max-width: 767px){#kt-layout-idsignup_end > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}<\/style>\n<div class=\"wp-block-kadence-rowlayout alignnone\">\n<style>.kadence-columnsignup_img_end > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-columnsignup_img_end > .kt-inside-inner-col,.kadence-columnsignup_img_end > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-columnsignup_img_end > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-columnsignup_img_end > .kt-inside-inner-col{flex-direction:column;}.kadence-columnsignup_img_end > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-columnsignup_img_end > .kt-inside-inner-col:before{opacity:0.3;}.kadence-columnsignup_img_end{position:relative;}@media all and (max-width: 1024px){.kadence-columnsignup_img_end > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-columnsignup_img_end > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-1\"><div class=\"kt-inside-inner-col\">\n\n<figure class=\"wp-block-image size-medium\"><img decoding=\"async\" src=\"https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/06\/newsletter-cta-ai-playbook.jpg\" alt=\"Holographic AI playbook glowing teal above a dark surface\" \/><\/figure>\n\n<\/div><\/div>\n\n<style>.kadence-columnsignup_txt_end > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-columnsignup_txt_end > .kt-inside-inner-col,.kadence-columnsignup_txt_end > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-columnsignup_txt_end > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-columnsignup_txt_end > .kt-inside-inner-col{flex-direction:column;}.kadence-columnsignup_txt_end > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-columnsignup_txt_end > .kt-inside-inner-col:before{opacity:0.3;}.kadence-columnsignup_txt_end{position:relative;}@media all and (max-width: 1024px){.kadence-columnsignup_txt_end > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-columnsignup_txt_end > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-2\"><div class=\"kt-inside-inner-col\">\n\n<h3 class=\"wp-block-heading has-text-color\" style=\"color:#00d4b4\">Get the AI Playbook<\/h3>\n\n\n<p class=\"has-text-color\" style=\"color:#f0f6fc\">Every week: one real job my agents ran unattended, what it cost, and what broke anyway, including the safety gaps I&#8217;m still closing. Receipts, not predictions. Unsubscribe anytime.<\/p>\n\n<div class='fluentform ff-default fluentform_wrapper_8 ffs_default_wrap'><form data-form_id=\"8\" id=\"fluentform_8\" class=\"frm-fluent-form fluent_form_8 ff-el-form-top ff_form_instance_8_2 ff-form-loading ffs_default\" data-form_instance=\"ff_form_instance_8_2\" method=\"POST\" ><fieldset  style=\"border: none!important;margin: 0!important;padding: 0!important;background-color: transparent!important;box-shadow: none!important;outline: none!important; min-inline-size: 100%;\">\n                    <legend class=\"ff_screen_reader_title\" style=\"display: block; margin: 0!important;padding: 0!important;height: 0!important;text-indent: -999999px;width: 0!important;overflow:hidden;\">Lead Magnet - AI Playbook<\/legend><input type='hidden' name='__fluent_form_embded_post_id' value='8312' \/><input type=\"hidden\" id=\"_fluentform_8_fluentformnonce\" name=\"_fluentform_8_fluentformnonce\" value=\"2614dde7a4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/zh\/wp-json\/wp\/v2\/posts\/8312\" \/><div class='ff-el-group'><div class='ff-el-input--content'><input type=\"email\" name=\"email\" id=\"ff_8_2_email\" class=\"ff-el-form-control\" placeholder=\"Your email address\" data-name=\"email\"  aria-invalid=\"false\" aria-required=true><\/div><\/div><div class='ff-el-group ff-text-left ff_submit_btn_wrapper ff_submit_btn_wrapper_custom'><button class=\"ff-btn ff-btn-submit ff-btn-md ff_btn_style wpf_has_custom_css\" type=\"submit\" name=\"custom_submit_button-8_1\" data-name=\"custom_submit_button-8_1\"  aria-label=\"GET THE PLAYBOOK\">GET THE PLAYBOOK<\/button><style>form.fluent_form_8 .wpf_has_custom_css.ff-btn-submit { background-color:#00ff88;border-color:#00ff88;color:#0a0a14;min-width:100%; }form.fluent_form_8 .wpf_has_custom_css.ff-btn-submit:hover { background-color:#00cc6a;border-color:#00cc6a;color:#0a0a14;min-width:100%; } <\/style><\/div><\/fieldset><\/form><div id='fluentform_8_errors' class='ff-errors-in-stack ff_form_instance_8_2 ff-form-loading_errors ff_form_instance_8_2_errors'><\/div><\/div>            <script type=\"text\/javascript\">\n                window.fluent_form_ff_form_instance_8_2 = {\"id\":\"8\",\"settings\":{\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"restrictions\":{\"denyEmptySubmission\":{\"enabled\":false}}},\"form_instance\":\"ff_form_instance_8_2\",\"form_id_selector\":\"fluentform_8\",\"rules\":{\"email\":{\"required\":{\"value\":true,\"message\":\"This field is required\"},\"email\":{\"value\":true,\"message\":\"Please enter a valid email address\"}}},\"debounce_time\":300};\n                            <\/script>\n            \n\n<\/div><\/div>\n\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Claude Code \u5371\u96aa\u5730\u8df3\u904e\u6b0a\u9650\uff0c\u89e3\u91cb\u5982\u4e0b\uff1a\u8a72\u6a19\u8a8c\u5728 2026 \u5e74\u4ecd\u7136\u6703\u963b\u6b62\u4ec0\u9ebc\uff0c\u5b83\u5728 cron \u4f5c\u696d\u4e2d\u7684\u884c\u70ba\u65b9\u5f0f\uff0c\u4ee5\u53ca 2,304 \u6b21\u771f\u5be6\u7684\u7121\u4eba\u503c\u5b88\u904b\u884c\u3002.<\/p>","protected":false},"author":2,"featured_media":8303,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[28,44,46],"tags":[102,53,348,49],"class_list":["post-8312","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-ai-automation","category-tutorials","tag-autonomous-ai-agents","tag-claude-code-2","tag-claude-code-dangerously-skip-permissions","tag-claude-code"],"taxonomy_info":{"category":[{"value":28,"label":"AI"},{"value":44,"label":"AI Automation"},{"value":46,"label":"Tutorials"}],"post_tag":[{"value":102,"label":"autonomous ai agents"},{"value":53,"label":"claude code"},{"value":348,"label":"claude code dangerously skip permissions"},{"value":49,"label":"claude-code"}]},"featured_image_src_large":["https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/12\/claude-code-dangerously-skip-permissions-feat-20261202.jpg",1344,752,false],"author_info":{"display_name":"Jon Jones","author_link":"https:\/\/jonjones.ai\/zh\/author\/jonjonjones-ai\/"},"comment_info":0,"category_info":[{"term_id":28,"name":"AI","slug":"ai","term_group":0,"term_taxonomy_id":28,"taxonomy":"category","description":"","parent":0,"count":123,"filter":"raw","cat_ID":28,"category_count":123,"category_description":"","cat_name":"AI","category_nicename":"ai","category_parent":0},{"term_id":44,"name":"AI Automation","slug":"ai-automation","term_group":0,"term_taxonomy_id":44,"taxonomy":"category","description":"","parent":0,"count":304,"filter":"raw","cat_ID":44,"category_count":304,"category_description":"","cat_name":"AI Automation","category_nicename":"ai-automation","category_parent":0},{"term_id":46,"name":"Tutorials","slug":"tutorials","term_group":0,"term_taxonomy_id":46,"taxonomy":"category","description":"","parent":0,"count":34,"filter":"raw","cat_ID":46,"category_count":34,"category_description":"","cat_name":"Tutorials","category_nicename":"tutorials","category_parent":0}],"tag_info":[{"term_id":102,"name":"autonomous ai agents","slug":"autonomous-ai-agents","term_group":0,"term_taxonomy_id":102,"taxonomy":"post_tag","description":"","parent":0,"count":11,"filter":"raw"},{"term_id":53,"name":"claude code","slug":"claude-code-2","term_group":0,"term_taxonomy_id":53,"taxonomy":"post_tag","description":"","parent":0,"count":67,"filter":"raw"},{"term_id":348,"name":"claude code dangerously skip permissions","slug":"claude-code-dangerously-skip-permissions","term_group":0,"term_taxonomy_id":348,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":49,"name":"claude-code","slug":"claude-code","term_group":0,"term_taxonomy_id":49,"taxonomy":"post_tag","description":"","parent":0,"count":4,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/8312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/comments?post=8312"}],"version-history":[{"count":0,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/8312\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media\/8303"}],"wp:attachment":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media?parent=8312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/categories?post=8312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/tags?post=8312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}