About signing-entitlements
A skill for diagnosing macOS code-signing and entitlement problems, including launch refusals, invalid signatures, and sandbox mismatches. It inspects bundles and signing details to classify the failure and outline a minimal validation or repair path.
Key features
- 01Inspect app bundles and main binaries
- 02Read signing details and entitlements
- 03Check Gatekeeper assessment
- 04Classify signing and permission failures
- 05Separate local development from distribution
Use cases
- 01Investigate launch refusals caused by signing
- 02Locate entitlement or sandbox mismatches
- 03Check Gatekeeper trust-policy issues
- 04Assess notarization prerequisites for distribution
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ openai/ plugins --skill signing-entitlementsAfter installing, type/signing-entitlementsin Claude Code to confirm it loaded.
Bundled filesagents/openai.yaml
Details
From the project READMESigning & Entitlements
Quick Start
Use this skill when the failure smells like codesigning rather than compilation: launch refusal, missing entitlement, invalid signature, sandbox mismatch, hardened runtime confusion, or trust-policy rejection.
Workflow
-
Inspect the bundle or binary.
- Locate the
.appor executable. - Identify the main binary inside
Contents/MacOS/.
- Locate the
-
Read signing details.
- Use
codesign -dvvv --entitlements :- <path>. - Use
spctl -a -vv <path>when Gatekeeper behavior matters. - Use
plutil -pfor entitlements or Info.plist inspection.
- Use
-
Classify the failure.
- Unsigned or ad hoc signed
- Wrong identity
- Entitlement mismatch
- Hardened runtime issue
- App Sandbox issue
- Nested code signing issue
- Distribution/notarization prerequisite issue
-
Explain the minimum fix path.
- Say exactly what is wrong.
- Show the shortest set of validation or repair commands.
- Distinguish local development problems from distribution problems.
Useful Commands
codesign -dvvv --entitlements :- <app-or-binary>spctl -a -vv <app-or-binary>security find-identity -p codesigning -vplutil -p <path-to-entitlements-or-plist>
Guardrails
- Never invent missing entitlements.
- Do not conflate notarization with local debug signing.
- If the real issue is a build setting or provisioning profile, say so directly.
Output Expectations
Provide:
- what artifact was inspected
- what signing state it is in
- the exact failure class
- the minimum fix or validation sequence
Comments
Markdown supported