Run JXA
Run the JXA expression or script file provided in the arguments. $0 is the app name, remaining arguments are passed to the runner.
bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts $ARGUMENTS
Return the output to the caller.
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.
// install — copy + paste into any project
mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/bendrucker/claude/HEAD/plugins/mac/skills/jxa-run/SKILL.md -o .claude/skills/jxa-run.mdDrops the SKILL.md into .claude/skills/jxa-run.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.
Run the JXA expression or script file provided in the arguments. $0 is the app name, remaining arguments are passed to the runner.
bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts $ARGUMENTS
Return the output to the caller.