[BUG] Desktop App: Claude Code process exited with code 1 - skills plugin flag incompatibility

Resolved 💬 1 comment Opened Apr 27, 2026 by PayflowsTom Closed May 29, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Platform:

macOS 26.4.1 (25E253), Apple Silicon
Claude Desktop App: latest version
Claude Code binary: 2.1.119
Node.js: v23.11.0 (via nvm)

What's happening:
Claude Code in the Desktop app crashes immediately with exit code 1 on every session. The CLI (claude in terminal) works perfectly fine.
Root cause (from logs):
The Desktop app passes a skills plugin to the Claude Code binary via a flag the binary doesn't recognize, causing an immediate crash:
[CCD] Using skills plugin at: .../local-agent-mode-sessions/skills-plugin/5105a359.../24b1457d...
[CCD] Passing 1 plugin(s) to SDK (skills: 1, remote: 0, local: 0)
Using Claude Code binary at: .../claude-code/2.1.119/claude.app/Contents/MacOS/claude
Session local_... query error: Claude Code process exited with code 1
[CCD CycleHealth] unhealthy cycle (0s, hadFirstResponse=false, reason=no_response)
What was tried:

Toggled folder permissions in System Settings → Privacy & Security
Deleted ~/Library/Application Support/Claude/local-agent-mode-sessions/skills-plugin (app recreates it automatically)
Deleted ~/Library/Application Support/Claude/local-agent-mode-sessions (same result)
Confirmed latest Desktop app version installed
No ANTHROPIC_API_KEY set (Max plan, OAuth only)

Workaround:
Using claude CLI in terminal works fine — only the Desktop app is broken.
Subscription: Max plan

What Should Happen?

it shouldnt give me: Claude Code process exited with code 1

Error Messages/Logs

Claude Code process exited with code 1

Steps to Reproduce

look at the description

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude 1.4758.0 (fb266c) 2026-04-24T20:22:30.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗