run_bundled_script — Claude Code prompt: run bundled scripts
The run_bundled_script Claude Code prompt runs scripts shipped with an app or website entry, or a skill. The agent gets each script’s source and path from knowledge_read or skill_read.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/run_bundled_script.mdWhat run_bundled_script does
The prompt runs a bundled script only when its manifest marks it as runnable. knowledge_read and skill_read return runnable entries with a scriptSource value; pass that as the source and provide the file path as the script.
The file extension selects the interpreter: .py uses python3, .mjs and .js use node, and .sh uses sh. Arguments reach the script unchanged. No shell runs between the prompt and the script, so shell syntax is not evaluated.
What it helps with
- run a script bundled with an app or website entry
- execute a runnable script included in a skill
- pass arguments to a script unchanged
- select an interpreter from the file extension
Example prompts for the agent
- Run the script from the app entry returned by
knowledge_read. - Use
skill_readto find a runnable script, then pass it the--checkargument. - Run the bundled file
scripts/task.pywith its matching interpreter.
How to install run_bundled_script
Manually: put the files in place
.claude/commands/run_bundled_script.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about run_bundled_script
How do I install run_bundled_script in Claude Code?
Save the command file at .claude/commands/run_bundled_script.md.
What does run_bundled_script do?
It runs scripts bundled with app or website entries and skills when their manifest marks them as runnable. The file extension determines which interpreter to use.
What does run_bundled_script need to work?
It needs an app or website entry, or a skill, containing a runnable script, plus its matching interpreter: python3 for .py, node for .mjs and .js, or sh for .sh. Get the script path and scriptSource from knowledge_read or skill_read.
Source text
run_bundled_script.md · Apache-2.0
Run a script that ships with an App/website knowledge entry or a skill and is marked runnable in its manifest. knowledge_read and skill_read list such scripts with scriptSource: pass that as source and the script's path as script. The file extension picks the interpreter (.py python3, .mjs/.js node, .sh sh). Each item of args reaches the script unchanged; there is no shell in between.
© wangzan101 · Apache-2.0 · wangzan101/Mika