Jxa run

From bendrucker/claude · View interactive version

Jxa run is an AI agent skill from the GitHub repository bendrucker/claude. Execute JXA scripts scoped to a macOS application. Use when running JXA expressions or script files against an app via osascript. Validates Application() scope via AST.

How to use this skill

Skill file

Run JXA

!sh "${CLAUDE_PLUGIN_ROOT}/scripts/bin-path-check.sh" jxa-run

Run the JXA expression or script file from the arguments. $0 is the app name. Runner flags (-e) go before the script path. Every argument after the script path passes to the script unchanged, its own flags included.

jxa-run $ARGUMENTS

Run it as the whole Bash command. The runner leaves the sandbox through a sandbox.excludedCommands entry, which matches only when nothing precedes, follows, or pipes from it.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.