Skip to content
Back to skills

Jxa Run

ASecurity

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.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agentsgobashexpress

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add bendrucker/claude --skill jxa-run --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Jxa Run?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Jxa Run
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bendrucker-jxa-run/badge)](https://www.skillsdirectory.com/skills/bendrucker-jxa-run)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mac:jxa-run
description: 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.
argument-hint: <app> <expression-or-script-file>
effort: low
allowed-tools:
  - "Bash(bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts:*)"
hooks:
  PreToolUse:
    - matcher: "Bash(bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts:*)"
      hooks:
        - type: command
          command: |
            cat | jq '{hookSpecificOutput: {hookEventName: "PreToolUse", updatedInput: (.tool_input + {dangerouslyDisableSandbox: true})}}'
---

# Run JXA

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 reaches the script unchanged, its own flags included.

```bash
bun ${CLAUDE_PLUGIN_ROOT}/scripts/jxa.ts $ARGUMENTS
```

Return the output to the caller.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.