[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74XBDFS6YV65C8VVZ1GCX6X":3,"skill-same:01M74XBDFS6YV65C8VVZ1GCX6X":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M74XBDFS6YV65C8VVZ1GCX6X","blast-radius-rm-hold-unattended-subagent-stall",null,"A Bash call containing rm -rf or rm -f (test loop, staging script, cleanup) is held by a safety hook (e.g. Blast Radius) for 10 minutes and never runs, with 'no answer within 10 minutes' or a denial for an unresolved shell variable target. Use when writing any agent-authored script, test harness or cleanup step, or when dispatching a report-only subagent that may run shell commands.","abhijitbansal\u002Fclaude-skills","abhijitbansal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F271802621?v=4","01M74XA5M33XYNJ2D2TJDS7W9E","01M74XA5MQ8GMWJW10ZJ4V0NVG",1,"MIT","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcore-workflow\u002Fskills\u002Fblast-radius-rm-hold-unattended-subagent-stall\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: blast-radius-rm-hold-unattended-subagent-stall\ndescription: \"A Bash call containing rm -rf or rm -f (test loop, staging script, cleanup) is held by a safety hook (e.g. Blast Radius) for 10 minutes and never runs, with 'no answer within 10 minutes' or a denial for an unresolved shell variable target. Use when writing any agent-authored script, test harness or cleanup step, or when dispatching a report-only subagent that may run shell commands.\"\n---\n\n# Agent scripts with `rm`: the approval hold that stalls unattended agents\n\n## Symptom\n\n- `Blast Radius held this command and did not run it: no answer within 10\n  minutes. It would have: delete nothing: no file matches $O.`\n- `Safety check blocked the rm -rf in my test loop.` The agent rewrites\n  the script to use a fresh temp dir.\n- Unattended subagents tried to delete reviewer probe files they did not\n  own. A report-only sweep reviewer sat blocked for 10 minutes; the next\n  dispatch needed a warning that a previous sweeper hung on a blocked call.\n\n## Root cause\n\nAn approval hook (e.g. Blast Radius) asks for confirmation on every delete and cannot resolve\ncomputed paths (`$O`, loop variables). A subagent has no human to answer, so\nthe hold runs to its timeout. Reviewer briefs did not forbid destructive\ncommands, so agents reached for `rm` as routine tidy-up.\n\n## Fix\n\n1. **Never put `rm` in agent-written scripts or loops.** Make deletion\n   unnecessary:\n   ```bash\n   OUT=\"$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fscenarios.XXXXXX\")\"   # fresh dir per run\n   # (or use the session scratch dir)\n   run_scenario \"$OUT\u002Fcase-1\"    # nothing to clean up afterwards\n   ```\n2. Write harnesses to a file with the Write tool and run the file, rather\n   than long inline `zsh -c '...'` one-liners: files are reviewable and\n   re-runnable. This is NOT a way around the hook. If a delete is genuinely\n   required, stop and hand the user the exact command; never move `rm` into\n   a file to get past the hook.\n3. Never delete files you did not create. Leave cleanup to the user or a\n   scratch-dir TTL.\n4. If a command is held, rewrite it without the delete. Do not retry it\n   unchanged and do not wait out the timeout.\n5. Dispatch prompts for reviewers and verifiers (paste this):\n   ```text\n   COMMAND LIMITS: report-only. Do not run rm, mv, network or install\n   commands. Use a fresh mktemp -d \"${TMPDIR:-\u002Ftmp}\u002F\u003Cname>.XXXXXX\" for scratch output. Tool-call budget:\n   25. If any command is held or blocked by a hook, STOP and report it as\n   blocked; do not retry or work around it.\n   ```\n\n## Evidence\n\nMined from session digests; 8 sessions across 3 projects. claude-skills\n`094ecb81` (the Blast Radius hold text above), a private web project `41c27adc` (safety\ncheck blocked an `rm -rf` in a test loop; rewritten to a temp dir per\nscenario), a private-bot worktree `60710e29` (a report-only sweeper\nhung on a blocked call).\n\n## Related skills\n\n- `core-workflow:subagent-report-truncation-delivery-contract` — also paste\n  its report block into the same reviewer dispatches.\n- `core-workflow:subagent-buildverify-tool-grant-check` — the grant check to\n  run before dispatching shell-running agents.\n- `core-workflow:worktree-isolation-guard-refuses-complex-bash` — the other\n  hook that refuses agent shell commands.\n","# Agent scripts with `rm`: the approval hold that stalls unattended agents\n\n## Symptom\n\n- `Blast Radius held this command and did not run it: no answer within 10\n  minutes. It would have: delete nothing: no file matches $O.`\n- `Safety check blocked the rm -rf in my test loop.` The agent rewrites\n  the script to use a fresh temp dir.\n- Unattended subagents tried to delete reviewer probe files they did not\n  own. A report-only sweep reviewer sat blocked for 10 minutes; the next\n  dispatch needed a warning that a previous sweeper hung on a blocked call.\n\n## Root cause\n\nAn approval hook (e.g. Blast Radius) asks for confirmation on every delete and cannot resolve\ncomputed paths (`$O`, loop variables). A subagent has no human to answer, so\nthe hold runs to its timeout. Reviewer briefs did not forbid destructive\ncommands, so agents reached for `rm` as routine tidy-up.\n\n## Fix\n\n1. **Never put `rm` in agent-written scripts or loops.** Make deletion\n   unnecessary:\n   ```bash\n   OUT=\"$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fscenarios.XXXXXX\")\"   # fresh dir per run\n   # (or use the session scratch dir)\n   run_scenario \"$OUT\u002Fcase-1\"    # nothing to clean up afterwards\n   ```\n2. Write harnesses to a file with the Write tool and run the file, rather\n   than long inline `zsh -c '...'` one-liners: files are reviewable and\n   re-runnable. This is NOT a way around the hook. If a delete is genuinely\n   required, stop and hand the user the exact command; never move `rm` into\n   a file to get past the hook.\n3. Never delete files you did not create. Leave cleanup to the user or a\n   scratch-dir TTL.\n4. If a command is held, rewrite it without the delete. Do not retry it\n   unchanged and do not wait out the timeout.\n5. Dispatch prompts for reviewers and verifiers (paste this):\n   ```text\n   COMMAND LIMITS: report-only. Do not run rm, mv, network or install\n   commands. Use a fresh mktemp -d \"${TMPDIR:-\u002Ftmp}\u002F\u003Cname>.XXXXXX\" for scratch output. Tool-call budget:\n   25. If any command is held or blocked by a hook, STOP and report it as\n   blocked; do not retry or work around it.\n   ```\n\n## Evidence\n\nMined from session digests; 8 sessions across 3 projects. claude-skills\n`094ecb81` (the Blast Radius hold text above), a private web project `41c27adc` (safety\ncheck blocked an `rm -rf` in a test loop; rewritten to a temp dir per\nscenario), a private-bot worktree `60710e29` (a report-only sweeper\nhung on a blocked call).\n\n## Related skills\n\n- `core-workflow:subagent-report-truncation-delivery-contract` — also paste\n  its report block into the same reviewer dispatches.\n- `core-workflow:subagent-buildverify-tool-grant-check` — the grant check to\n  run before dispatching shell-running agents.\n- `core-workflow:worktree-isolation-guard-refuses-complex-bash` — the other\n  hook that refuses agent shell commands.\n",{"name":5,"description":7},"main","153711dd9432743d97f0b33b080ada5798ea623c","plugins\u002Fcore-workflow\u002Fskills\u002Fblast-radius-rm-hold-unattended-subagent-stall","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills","https:\u002F\u002Fgithub.com\u002Fabhijitbansal","2026-11-07 12:59:51",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add abhijitbansal\u002Fclaude-skills --skill blast-radius-rm-hold-unattended-subagent-stall",{"tool":35,"command":36},"bunx","bunx skills add abhijitbansal\u002Fclaude-skills --skill blast-radius-rm-hold-unattended-subagent-stall",{"tool":38,"command":39},"pnpm","pnpm dlx skills add abhijitbansal\u002Fclaude-skills --skill blast-radius-rm-hold-unattended-subagent-stall","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcore-workflow\u002Fskills\u002Fblast-radius-rm-hold-unattended-subagent-stall\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M74XTV2V7GZM8FDBXQZZ74VX","second-wind","Orchestrate long unattended Claude Code runs across multiple repos with the wind CLI. Use when the user wants to run Claude Code overnight, resume sessions after the 5-hour usage limit, run Claude in many repos at once via tmux, or says \"set up second wind\", \"wind up\", \"overnight run\", \"resume after limit\", \"usage limit orchestrator\".","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fsecond-wind\u002Fskills\u002Fsecond-wind\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M74XTPGN1HDQSKGCZZX0AZPC","structured-output-adaptive-thinking-token-bloat","A Claude API call using output_config.format (json_schema structured outputs) with thinking:{type:\"adaptive\"} burns most of its output budget on thinking (observed ~21k of ~24k tokens) without improving JSON quality, making the run up to ~5x more expensive than the same call with thinking omitted — use when calling the Messages API with a json_schema output format for extraction, ranking, classification, or summarization tasks, or when a schema-constrained call's usage.output_tokens is far larger than the returned JSON.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Fstructured-output-adaptive-thinking-token-bloat\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M74XTKTRHAMC2JFHQ1P1E6GR","review","Apply a code-review lens to a diff, branch, or file — find correctness bugs, security issues, and quality problems, ranked by severity, with a concrete fix for each. Use when the user says \"review this\", \"review my diff\", \"check this PR\", \"look this over before I commit\", or \"is this safe\". Skip when the user wants the code written, not reviewed.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M74XTGGCW7GWDDHPEMJQC7Y1","refresh","Rebuild the prompt-craft command registry and usage profile, and print a summary of installed commands and your personalized recommendations. Use when you install or update plugins and want the advisor to pick them up immediately, or say \"refresh prompt-craft\", \"rebuild the command registry\".","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Frefresh\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74XTCNGNR4G19P3Z95KTHQJ","refactor","Apply a refactoring lens — restructure code without changing behavior, guarded by tests that pass before and after. Use when the user says \"refactor\", \"clean this up\", \"extract this\", \"simplify this\", \"reduce duplication\", or \"make this readable\" on existing working code. Skip when the change is meant to alter behavior (that's a feature or a fix).","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Frefactor\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M74XT9FKXN3N106G7Q3X56XR","plan","Decompose a non-trivial task into an explicit, tracked plan with goals and per-step acceptance criteria before writing code. Use when the user says \"plan this\", \"break this down\", \"what's the plan\", or asks for a multi-step feature\u002Frefactor that touches more than one file. Pairs with plan mode. Skip for single-edit changes that need no decomposition.","https:\u002F\u002Fgithub.com\u002Fabhijitbansal\u002Fclaude-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fprompt-craft\u002Fskills\u002Fplan\u002FSKILL.md",[],[]]