Technical guide for configuring and debugging enterprise 3rd-party deployments of Claude Desktop on Linux.
Install
mkdir -p .claude/skills/3p && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18086" && unzip -o skill.zip -d .claude/skills/3p && rm skill.zipInstalls to .claude/skills/3p
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Reference for the 3p / enterprise / inference-gateway deployment of Claude Desktop on Linux - how /etc/claude-desktop/managed-settings.json is read, what "3p mode" changes (separate ~/.config/Claude-3p userData, hidden Chat tab, the false VM-download banner), how Cowork still runs under it, which hardcoded paths are safe vs split under the -3p switch, and how to verify it all from logs. Use when working on managed-settings.json, inferenceProvider/gateway/Bedrock/Vertex configs, the 3p setup SPA (ion-dist), the Claude-3p directory, or debugging managed-deployment Cowork.Key capabilities
- →Configure managed settings via `/etc/claude-desktop/managed-settings.json`
- →Set up inference providers like gateway, Bedrock, or Vertex
- →Verify 3p mode changes in user data paths
- →Debug managed-deployment Cowork functionality
- →Access the 3P setup SPA for configuration
- →Check logs for 3p mode activation and health
How it works
The skill provides reference for configuring Claude Desktop on Linux for third-party deployments, driven by `/etc/claude-desktop/managed-settings.json`.
Inputs & outputs
When to use 3p
- →Configure managed settings
- →Debug inference gateway
- →Verify deployment mode
- →Update enterprise configs
About this skill
3p / enterprise / inference-gateway deployment on Linux
"3p" = third-party / managed deployment: Claude Desktop pointed at a non-Anthropic inference
backend (Bedrock, Vertex, Azure, or a self-hosted gateway like LiteLLM) and/or an MDM-managed config.
On Linux it is driven by /etc/claude-desktop/managed-settings.json.
Minified names below are version-specific (they churn every release - see /linux); anchor on stable
strings. Verified against v1.14271.0.
managed-settings.json (/etc/claude-desktop/managed-settings.json)
The official Linux build reads /etc/claude-desktop/managed-settings.json natively - it ships a Linux
managed-config reader, so we no longer patch the win32-registry/macOS-plist reader the way the old MSIX
pipeline did. (Historical note: on the MSIX, fix_enterprise_config_linux.nim injected a Linux JSON reader
for the old enterprise.json path; that patch and path are obsolete now that the official build does it.)
Schema is documented in memory project_enterprise_json_schema - the load-bearing facts:
- Top-level
managedMcpServersis an array (name+transport+url/command), NOT an object-keyedmcpServersmap (that is silently dropped by the schema parser - no warning). - Inference-gateway keys:
inferenceProvider("gateway"/"bedrock"/"vertex"/…),inferenceGatewayBaseUrl,inferenceGatewayApiKey,inferenceGatewayAuthScheme,inferenceModels(array; first is default),disableDeploymentModeChooser:true. - Any of
inferenceProvider/bootstrapUrlpresent + (disableDeploymentModeChooserOR persisteddeploymentMode!=="1p") flips the app into 3p mode.
What "3p mode" changes (all upstream behavior, not our patches)
| Effect | Why | Our stance |
|---|---|---|
userData -> ~/.config/Claude-3p/ | Upstream setPath("userData", base+"-3p") at bootstrap, guarded by !process.env.CLAUDE_USER_DATA_DIR. Logs [custom-3p] .... | Intended - isolates 1p login from 3p. Keep it. (To collapse: export CLAUDE_USER_DATA_DIR in the launcher - it short-circuits the suffix. Not done by default.) |
| Chat tab hidden | chatTabEnabled:A=>A.chatTabEnabled===!0 (strict; default off in 3p). Cowork/Code stay (!==!1). | Intended. To restore: add "chatTabEnabled": true to managed-settings.json (config-only, no patch). |
3P setup SPA at app://localhost/setup-desktop-3p | The ion-dist config UI. | fix_ion_dist_linux + fix_marketplace_linux. Config-key schema in baseline/ION.md. |
[custom-3p] in main.log is upstream's own log namespace - do not mistake it for a patch tag.
Cowork under 3p: works the same as 1p, on the official native backend
Cowork runs on the official native Cowork VM backend bundled in the Linux .deb (cowork-linux-helper
- QEMU/OVMF; requires
/dev/kvm) - the same backend 1p uses. There is no separate daemon (the oldclaude-cowork-serviceis deprecated). The 3p OAuth bounce (issue #142 /session_stale_relogin) only fires for a genuinely broken token; a logged-in account with credits + valid Anthropic models does not bounce. (Provider model names matter:inferenceModelsmust be Anthropic models or the config-health gate reportsconfig_model_rejected. Agpt-*entry, or no credits ->billing_error, makes a turn fail and looks like a bounce - it is not.)
The old "Download a one-time package" banner (getDownloadStatus() -> NotDownloaded because the local
VM-image check never matched on the MSIX build) is no longer ours to patch: the official Linux build ships
the native Cowork VM backend, so the historical fix_cowork_download_status_linux.nim patch is obsolete.
Does the Claude-3p split break anything? (hardcoded-path audit, verified)
No load-bearing path breaks. State isolates between Claude (1p) and Claude-3p (3p) by design;
nothing crashes or cross-leaks. Rules:
- Markers/sockets (quick-entry, SSO-callback) live in
$XDG_RUNTIME_DIR(+CLAUDE_PROFILE), not.config-> unaffected by the userData switch. - All Electron userData (sessions, logs,
claude_desktop_config.json, custom-themes JSON, screenshot restore-token) goes throughapp.getPath("userData"), which auto-relocates toClaude-3p. So it follows the split (e.g. a custom-theme set in 1p won't carry into 3p - cosmetic only). - CLI config uses
CLAUDE_CONFIG_DIR(launcher); autostart.desktopfiles live in the XDG~/.config/autostart/spec dir and areCLAUDE_PROFILE-aware - both correctly not tied to the-3puserData. - The rule for new patches: write user state via
app.getPath("userData")(auto-isolates), never a literalos.homedir()+"/.config/Claude". The Python screenshot fallback~/.config/Claude/...injs/cu_linux_executor.jsis dead code (the JS always passes the realgetPathvalue viaCLAUDE_PORTAL_TOKEN_PATH) - harmless, but don't copy that pattern.
Verify it loaded / works (logs at ~/.config/Claude-3p/logs/)
Note the dir: 3p logs to ~/.config/Claude-3p/, NOT ~/.config/Claude/. Reading the wrong dir gives
stale/1p evidence.
L=~/.config/Claude-3p/logs/main.log
rg -a 'Enterprise config loaded|custom-3p\] (3P mode active|Credentials loaded|ConfigHealth)' "$L" | tail
# healthy gateway: [custom-3p] ConfigHealth recomputed { state: 'healthy', provider: 'gateway' }
rg -a 'LocalAgentModeSessions.start|Turn succeeded|cycle_health|session_stale_relogin|config_model_rejected|billing_error' "$L" | tail
# Cowork spawn proof (official native VM backend):
rg -a 'Using Claude VM spawn|Spawn succeeded|vmStarted|Turn succeeded' ~/.config/Claude-3p/logs/cowork_vm_node.log | tail
Related
baseline/ION.md- 3P setup SPA bundle, patched patterns, config-key schema (inferenceProvider,deploymentOrganizationUuid, …) and the~/.config/Claude-3p/claude_desktop_config.jsonpath.- memory
project_enterprise_json_schema- the exact managed-settings.json shape + how to confirm it loaded. - memory
issue142_cowork_3p_oauth_regression- the OAuth-bounce mechanism (only bites a broken token).
When not to use it
- →When working with 1p (first-party) login or configuration
- →When patching the win32-registry/macOS-plist reader
- →When the old `enterprise.json` path is being used
Limitations
- →Does not apply to 1p (first-party) deployments
- →Does not use the old `enterprise.json` path
- →Does not patch the win32-registry/macOS-plist reader
How it compares
This skill details the specific configurations and behaviors of Claude Desktop in a managed 3p mode, distinct from its default 1p operation.
Compared to similar skills
3p side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| 3p (this skill) | 0 | 26d | Review | Advanced |
| system-info | 1 | 5mo | Review | Beginner |
| it-operations | 1 | 7mo | No flags | Advanced |
| pagerduty-automation | 0 | 4mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
system-info
Xxiii8322766509
系统信息查询技能。用于获取电脑硬件信息、系统状态、进程列表、磁盘空间等。当用户询问电脑配置、系统状态或性能信息时使用。
it-operations
davila7
Manages IT infrastructure, monitoring, incident response, and service reliability. Provides frameworks for ITIL service management, observability strategies, automation, backup/recovery, capacity planning, and operational excellence practices.
pagerduty-automation
T-Sunm
Automate PagerDuty tasks via Rube MCP (Composio): manage incidents, services, schedules, escalation policies, and on-call rotations. Always search tools first for current schemas.
oly
slaveOftime
Use when starting a long-running or interactive CLI command with oly, especially when it may need later input, should be detachable, or should keep durable logs for supervision and resume.
incident-response
fabioc-aloha
Calm, systematic crisis handling — from detection through post-mortem to prevention
monitor-ci
ever-co
Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, g