/parsec:desktopfrom Parsec
Routes Claude Desktop's Cowork/Agent-mode traffic through the local parsec proxy for curation and savings. Uses mitmproxy for TLS interception. Requires opt-in setup with CA trust.
Ships in Parsec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Claude Desktop has no endpoint setting — its embedded SDK is hardwired to
api.anthropic.com — so parsec cannot capture it the way it captures Claude
Code. The only route is process-scoped TLS interception via mitmproxy,
which means this is opt-in and has two costs the user must agree to before
you run anything:
brew install mitmproxy on macOS). It is
the one external tool parsec depends on, and only for this feature.Say both out loud before the first setup run. If the user is only asking "does this work with Claude Desktop?", answer with the scope note below and stop.
${CLAUDE_PLUGIN_ROOT}/bin/parsec setup desktop --status
Changes nothing. It reports mitmproxy, the CA, macOS Network Extension approval, whether the addon and interceptor are in place, and the proxy port Desktop would be pointed at.
${CLAUDE_PLUGIN_ROOT}/bin/parsec setup desktop
Idempotent — safe to re-run after fixing whatever it complained about. It
generates the CA, writes the managed addon, verifies the platform's
interception mechanism is approved, restarts the proxy so it and the addon
come from the same build, and starts mitmdump scoped to the Claude process
only.
The restart matters: a proxy left running from an older binary does not serve
/v1/models, which the addon redirects — Desktop's model picker would 404.
If setup prints a WARNING: ... does not serve /v1/models, the installed
binary itself is stale; tell the user to install the current build before
relying on Desktop.
Flags, both off by default and both worth naming before you use them:
--install-ca — parsec runs the trust-store command itself instead of
printing it. It will prompt for the user's password. Only pass this if the
user has said yes to trusting the CA.--autostart — keep Desktop routed across reboots by installing a boot
service (launchd agent / systemd --user unit / Run key). Without it, the
interceptor lasts until logout.Then tell the user to quit Claude Desktop fully (⌘Q) and relaunch it — mitmproxy hooks the process at launch, so a Desktop that was already running stays unintercepted.
Use these instead of re-running setup — they skip the CA and approval steps:
${CLAUDE_PLUGIN_ROOT}/bin/parsec desktop status
${CLAUDE_PLUGIN_ROOT}/bin/parsec desktop start [--autostart]
${CLAUDE_PLUGIN_ROOT}/bin/parsec desktop stop [--keep-autostart]
${CLAUDE_PLUGIN_ROOT}/bin/parsec desktop restart
status changes nothing — prefer it for any "is Desktop routed?" question.restart is the fix when the routed proxy port moved; it re-renders the
addon against the current port.stop also removes the boot service unless --keep-autostart, so a stop
stays stopped across a reboot.mitmdump starts fine and captures nothing.mitmdump
command it printed once by hand so macOS shows the approval prompt.~/.parsec/interceptor/mitmdump.log and report the real error rather than
guessing.If Desktop shows TLS/certificate errors after setup, the CA is not trusted —
run the command --status prints.
${CLAUDE_PLUGIN_ROOT}/bin/parsec disable desktop
Stops the interceptor, removes the boot service and the managed addon, and prints the command to untrust the CA (it does not run that one either). Desktop goes direct again after a relaunch.
This captures Cowork / Agent-mode inference — /v1/messages* plus
/v1/models. Regular Desktop chat runs on a different wire (/api/*) and is
deliberately untouched, as are login (/v1/oauth/*) and the Cowork bridge
(/v1/environments/*) — redirecting those would break Desktop, not curate it.
The user's own credentials are never substituted: the addon sets no auth
header, and the proxy forwards auth verbatim, exactly as for Claude Code.
Desktop traffic is tagged x-parsec-tool: claude-desktop so its savings are
separable in the ledger; that tag is dropped before anything leaves the
machine.
The Code tab inside Desktop is not curated. Recent Desktop builds start
Claude Code with their own ANTHROPIC_BASE_URL=https://api.anthropic.com,
overriding ~/.claude/settings.json, so that traffic never reaches the proxy
by the normal route. Intercepting it does not help either: the Code tab runs
on Node, which ignores the macOS keychain and rejects mitmproxy's CA (the
Client TLS handshake failed lines in ~/.parsec/interceptor/mitmdump.log).
Tell users this plainly so they do not spend an hour chasing it; the terminal
claude CLI is the curated path for Claude Code.
One thing to be straight about if asked: mitmproxy decrypts everything the Claude process sends, because it cannot know a request's host until after the TLS handshake. The addon only acts on the two Anthropic paths above, but the termination itself is process-wide. That is inherent to the mechanism.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub daseinlabs/parsec --plugin parsec8 skills in this plugin
/loginSign in to Parsec so token savings show up in the user's dashboard. Use when the user wants to connect or link their account, sign in, see whether they are signed in, or sign out./proxyRestart the local parsec proxy if it was killed mid-session — brings the supervisor back on the routed port so requests stop failing. Use when the user says the proxy died, requests hang or error against 127.0.0.1, or they killed the proxy and want it back./savingsShow measured token savings — re-reads blocked and command loops broken by the parsec no-reread hook, from the local ledger, never estimated.Other plugins' skills for the same job