Skip to main content
command CX Codex GP ChatGPT official · OpenAI

fix-codesign-error — Claude command: debug macOS signing failures

Inspects a macOS signing or entitlement failure and lays out the shortest fix path. Useful when a build refuses to launch or fails validation.

Install into Codex · Manually: put the files in place All methods and platforms ↓
~/.codex/prompts/fix-codesign-error.md
Open on GitHub

What fix-codesign-error does

The command reads the .app bundle, the executable, signing info and entitlements. Then it names the failure class: identity, provisioning, hardened runtime, sandboxing or trust policy. You get a plain-language summary plus the minimal repair sequence or a validation command.

Arguments are optional. app takes a path to a bundle or binary, identity is a signing identity hint, mode is either inspect or repair-plan. The default is inspect, so the first pass is diagnosis only.

The guardrails matter here. Entitlements are read from the binary or source files, never invented. Local development signing problems stay separate from distribution or notarization failures. Verification leans on codesign -d, spctl and plutil rather than guesswork. If your local run is broken and the release build is fine, that is a reason to pass mode as repair-plan straight away.

What it helps with

  • find out why a freshly built .app will not launch
  • tell a signing problem apart from a notarization failure
  • read entitlements from the binary instead of guessing
  • get the minimal command sequence to repair a signature
  • validate a signature with codesign -d and spctl

Example prompts for the agent

  • /fix-codesign-error app=build/MyApp.app
  • /fix-codesign-error app=build/MyApp.app mode=repair-plan
  • /fix-codesign-error app=build/MyApp.app identity="Developer ID Application"

How to install fix-codesign-error

Manually: put the files in place

~/.codex/prompts/fix-codesign-error.md

Call it with /prompts:fix-codesign-error. Codex marks this format deprecated in favour of skills

Questions about fix-codesign-error

How do I install fix-codesign-error in Claude?

Place the prompt file at ~/.codex/prompts/fix-codesign-error.md.

What does fix-codesign-error do?

It inspects the bundle, binary, signing info and entitlements, states the failure class, and returns the minimal repair sequence or validation command.

What arguments does the command take?

app for the bundle or binary path, identity as a signing hint, and mode set to inspect or repair-plan. With no arguments it runs in inspect mode.

Source text

fix-codesign-error.md · MIT
# /fix-codesign-error

Inspect a macOS signing or entitlement failure and explain the minimum fix path.

## Arguments

- `app`: path to `.app` bundle or binary (optional)
- `identity`: signing identity hint (optional)
- `mode`: `inspect` or `repair-plan` (optional, default: `inspect`)

## Workflow

1. Inspect the app bundle, executable, signing info, and entitlements.
2. Determine whether the problem is identity, provisioning, hardened runtime, sandboxing, or trust policy.
3. Summarize the exact failure class in plain language.
4. Provide the minimal repair sequence or validation command.

## Guardrails

- Never invent entitlements; read them from the binary or source files.
- Distinguish local development signing problems from distribution or notarization failures.
- Prefer verifiable commands like `codesign -d`, `spctl`, and `plutil` over guesswork.

© OpenAI · MIT · openai/plugins

Similar slash commands

All slash commands for DevOps and infrastructure →

From the same set304

The whole set →
inspect-dropbox-file This skill reports metadata for a Dropbox file or folder, checks shared links, and reads content when asked. Handy when you need to know what a file is and who can open it. CX Codex GP ChatGPT ★ 7,596repo stars build-mcp A slash command that walks your agent through building a remote MCP server on Cloudflare Workers, with tools, OAuth 2.0 and deployment. CX Codex GP ChatGPT ★ 7,596repo stars canva-implement-feedback This skill reads every comment thread on a Canva design, makes the clear-cut edits through the API, and lists what still needs a human. CX Codex GP ChatGPT ★ 7,596repo stars canva-bulk-create Turns a table of data into one Canva design per row by autofilling a brand template. Useful when you need product cards or posts built from a CSV in one go. CX Codex GP ChatGPT ★ 7,596repo stars boltz-protein-screen Ranks existing proteins, peptides, antibodies and nanobodies against a target through the Boltz API. Not for designing new proteins or screening small molecules. CX Codex GP ChatGPT ★ 7,596repo stars airtable-overview This skill gives the agent context on how Airtable is structured: bases, tables, fields, records, views, automations and interfaces. Useful before writing code against a base. CX Codex GP ChatGPT ★ 7,596repo stars adobe-create-social-variations Turns one image or video into platform-ready social media assets: crops, expands the canvas, exports at the right ratios. Useful when a single source has to cover several networks. CX Codex GP ChatGPT ★ 7,596repo stars higgsfield The higgsfield plugin lets your agent produce pictures and clips, either from a written description or from a photo you supply. Handy when a product shot has to become an ad. CX Codex GP ChatGPT ★ 7,596repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor