/mac:jxa-run <app> <expression-or-script-file>from mac
Executes JXA (JavaScript for Automation) scripts scoped to a specific macOS application via osascript, with AST validation of Application() scope.
Ships in mac. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts $ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
lowBash(bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts:*)cat | jq '{hookSpecificOutput: {hookEventName: "PreToolUse", updatedInput: (.tool_input + {dangerouslyDisableSandbox: true})}}'
Three short reads, in order
2 skills in this plugin
npx claudepluginhub bendrucker/claude --plugin macOther plugins' skills for the same job