sk Skill · ashutoshsinghpr7
script-exec-blocked
Sandbox approval policy blocks execute_code and python3 -c; use read_file/write_file + manual transforms instead of retrying both runners.
Open on skills.sh ↗read 2026-09-17
- installs 8w
- 0
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
Python
script-exec-blocked is a Claude Code skill that tells the agent how to respond when the sandbox approval policy blocks execute_code and python3 -c in single-query mode. It directs the agent to stop retrying both runners and instead use read_file/write_file with manual transforms.
It prevents the agent from wasting turns repeatedly retrying blocked execution tools by giving it a concrete fallback pattern.
Use it to
- Recover when execute_code is blocked by sandbox policy
- Stop retrying python3 -c after a first failure
- Perform small transforms via read_file/write_file
- Guide fallback behavior in single-query mode
For Claude Code users running agents in restricted sandboxes
- Host repository
- ashutoshsinghpr7/wikiskill
- Version
- 1.0.0
- Compatible with
- linux, macos, windows
- Licence
- MIT
- Host stars
- 220
- Host language
- Python
topicsclaude-codesandboxerror-handlingagent-skillsrecovery