Skip to content

Claude Desktop

Not Diamond Code works on Claude Desktop by pointing its third-party inference configuration at the proxy. Applying that configuration moves Cowork, chat included, and Code onto Not Diamond Code and sets the claude.ai login aside while it is applied. One command sets it up.

  • Claude Desktop on macOS or Windows.
  • An Anthropic or Bedrock API key saved with notdiamond init. Claude Desktop uses that key, so a forwarded Claude Code login cannot be used. notdiamond desktop setup stops and asks you to run notdiamond init again if one is configured.
Terminal window
notdiamond desktop setup

Quit and reopen Claude Desktop afterwards. The command does the following.

  • Connects Claude Desktop to Not Diamond Code. Not Diamond is the first model in the picker, so every new conversation starts on it, and the Claude models follow it.
  • Brings over your local MCP servers. Remote connectors cannot be added in this mode.
  • Keeps Not Diamond Code running in the background, and on macOS starts it again when you log in.

Third-party mode is a separate profile. It starts with no history or skills. Settings → Import & export → Import… copies claude.ai chats, projects and earlier local sessions into it. Skills do not come over.

Import does not list the Claude Code sessions it skips, so check these two cases if a session you expect is missing.

  • A session that is still open in a terminal is skipped. Close it, then run Import again.
  • A terminal session that used a folder you have not opened in this profile is skipped. Open that folder in the Code tab, accept the trust prompt, then run Import again.

To apply the configuration yourself, or to distribute it with MDM, print it.

Terminal window
notdiamond desktop setup --print

Cowork tasks and Code sessions start on Not Diamond and route. In the Code tab the model picker works as in the terminal. Pick another model to send requests to it without routing. Once the conversation has a reply from another model, switching back to Not Diamond is refused until a new session.

In Cowork, Not Diamond picks a model when a task starts and uses it for the rest of the task.

notdiamond doctor shows a “Claude Desktop” row that reports whether Claude Desktop is connected to Not Diamond Code and flags problems with the setup.

Terminal window
notdiamond desktop remove

This restores the configuration that setup replaced, or the claude.ai login when there was none. Quit and reopen the app afterwards.

Run notdiamond doctor first and read the Claude Desktop row.

Desktop reports “This model isn’t available”. An older version of Not Diamond Code is still running. Update it, then restart it:

Terminal window
notdiamond update
notdiamond restart

Requests fail with 401 and invalid x-api-key. Anthropic rejected your saved API key. Save a valid key, then restart:

Terminal window
notdiamond init --credential anthropic --api-key <your key>
notdiamond restart