Bun Codesign a Single File JavaScript Executable on macOS
Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.
Install
npx skills add jarle/bun-skills --skill Bun Codesign a single-file JavaScript executable on macOSgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-guides-runtime-codesign-macos-executable ~/.claude/skills/Bun-Codesign-a-single-file-JavaScript-executable-on-macOSPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Codesign a single-file JavaScript executable on macOS
> Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.
Compile your executable using the `--compile` flag.
```sh theme={"theme":{"light":"github-light","dark":"dracula"}}
bun build --compile ./path/to/entry.ts --outfile myapp
```
***
List your available signing identities. One of these will be your signing identity that you pass to the `codesign` command. This command requires macOS.
```sh terminal icon="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
security find-identity -v -p codesigning
```
```txt theme={"theme":{"light":"github-light","dark":"dracula"}}
1. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX "Developer ID Application: Your Name (ZZZZZZZZZZ)"
1 valid identities found
```
***
Optional, but recommended: create an `entitlements.plist` file with the necessary permissions for the JavaScript engine to work correctly.Details
- Skill name
Bun Codesign a single-file JavaScript executable on macOS- Repository
- jarle/bun-skills
- Path
skills/bun-guides-runtime-codesign-macos-executable/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Codesign a Single File JavaScript Executable on macOS skill do?
Fix the "can't be opened because it is from an unidentified developer" Gatekeeper warning when running your JavaScript executable.
How do I install the Bun Codesign a Single File JavaScript Executable on macOS skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Codesign a single-file JavaScript executable on macOS. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Codesign a Single File JavaScript Executable on macOS popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Cookies
9jarle/bun-skills
Work with cookies in HTTP requests and responses using Bun's built-in Cookie API.
Bun Code Coverage
9jarle/bun-skills
Learn how to use Bun's built-in code coverage reporting to track test coverage and find untested areas in your codebase
Bun Debugging
9jarle/bun-skills
Debug your Bun code with an interactive debugger using WebKit Inspector Protocol
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.