script-exec-blocked

script-exec-blocked is a skill for Claude Code, Codex from ashutoshsinghpr7/wikiskill. It costs 33 tokens per session (285 once invoked), scanned A, original, MIT.

A workaround guide for a sandbox where certain script runners are blocked. It explains how to use file-reading and file-writing tools plus manual transformations instead.

In plain words
What is it for?
Use it when execute_code or python3 single-command execution is unavailable and a small transformation still needs to be completed and checked.
Why use it?
It prevents repeated attempts to run commands that the environment will reject.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when execute_code or python3 single-command execution is unavailable and a small transformation still needs to be completed and checked.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashutoshsinghpr7/wikiskill/script-exec-blocked
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ashutoshsinghpr7/wikiskill --skill script-exec-blocked
Clone the repo
git clone --depth 1 https://github.com/ashutoshsinghpr7/wikiskill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for script-exec-blocked

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashutoshsinghpr7/wikiskill/script-exec-blocked.svg)](https://agentmods.dev/skills/ashutoshsinghpr7/wikiskill/script-exec-blocked)
Your own site
<a href="https://agentmods.dev/skills/ashutoshsinghpr7/wikiskill/script-exec-blocked"><img src="https://agentmods.dev/badge/skills/ashutoshsinghpr7/wikiskill/script-exec-blocked.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 285 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00285
Opus 5 $0.00016 $0.00143
Sonnet 5 $0.00007 $0.00057
Haiku 4.5 $0.00003 $0.00028

Measured 2d ago against content hash ccd062ff11da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

script-exec-blocked scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/script-exec-blocked/SKILL.md · 33 lines

What it actually says

Script Execution Blocked in Sandbox

Problem

execute_code and python3 -c fail with "BLOCKED … single-query mode (-q) runs without a user present to approve it". Plain terminal commands (grep, ls, file, xxd) and file tools (read_file, write_file) still work.

Fix

  • Do NOT retry both runners back-to-back: a real task burned two turns on python3 -c then execute_code before falling back.
  • Compute small transforms manually from the files you read; write the deliverable with write_file; verify by re-reading it.
  • Keep parsing/sorting simple enough to verify by hand.

Evidence

  • Hit in 3/4 analyzed traces; all three recovered this way; the one failure was a spec-interpretation bug, not a tooling problem.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 33 lines · 33 tokens per session scan A ccd062ff11da

Subscribe to this mod's changes

script-exec-blocked is a skill published in the GitHub repository ashutoshsinghpr7/wikiskill (117 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 285 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

gui-navigation

General GUI navigation patterns for desktop environments — finding elements, interacting with menus, and handling dialogs.

A-EVO-Lab/a-evolve · 22 tokens

application-shortcuts

Keyboard shortcuts for common desktop applications — LibreOffice, GIMP, Chrome, Thunderbird, VS Code.

A-EVO-Lab/a-evolve · 24 tokens

awaken

Awaken gives a non-intelligent system a usable voice without pretending the underlying system became sentient. The real move is to wrap a thermostat, spreadsheet, legacy database, shell script, or crusty internal tool in a conversational or agent-like interface that exposes what it can already do. Good Awaken work…

Hmbown/Wizards-of-the-Ghosts · 107 tokens

dimension-door

Dimension Door is the quick-switch spell: branch to branch, environment to environment, project to project. It is not a migration and it is not discovery. It assumes both endpoints are known, prepared, and close enough in shape that you can step across with only the context you actually need.

Hmbown/Wizards-of-the-Ghosts · 61 tokens

mage-hand

Use this skill for small, careful remote manipulations where dexterity matters more than force.

Hmbown/Wizards-of-the-Ghosts · 21 tokens

calm-emotions

Calm Emotions suppresses strong feelings, ending fear and charm effects. The real-world version is de-escalation: drafting responses that lower the temperature in a heated thread, designing cool-down protocols for conflict situations, or reframing inflammatory language into productive terms. This is the spell for when…

Hmbown/Wizards-of-the-Ghosts · 79 tokens