Ask an agent to map a feature from shipped code

A developer used Claude to decode Cowork mode from Claude Desktop’s bundled JavaScript and chart its VM-based workflow.

Done with ClaudeClaude Cowork· Advanced

What they did
A developer who maintains a Linux rebuild of Claude Desktop passed the app’s minified JavaScript to Claude and asked it to explain how Cowork mode is built. Claude followed the startup chain from a Linux rootfs that is downloaded or promoted, to a virtual machine launched through Apple’s Virtualization Framework with 8GB of RAM, to an installSdk() RPC that places the Claude Code CLI inside the guest. It also identified VirtioFS mounts for user folders and a bubblewrap-plus-seccomp sandbox around the work session, then continued the discussion until a commenter checked the config switch the developer had found.
How it went
The end product was a deep dive with code examples, diagrams, and evidence that Anthropic ships both ARM and x64 VM images, which points to a possible Linux port. The thread still did not settle every question, including how Cowork reaches into Mac apps.
Tips
Give the agent the real bundle or source blob and ask for a system diagram, not just a feature summary. If there is a settings gate, have it inspect that path first so you can confirm behavior before trying anything irreversible.

Try it yourself with Claude

Here is minified JavaScript from [app or bundle name]. Trace how [feature name] is implemented and write a structured architecture brief covering the major components, the order they start up, how data moves between them, and any security boundaries or permissions involved. Distinguish what the code explicitly shows from what you infer, and call out unresolved questions. Before any irreversible action such as deleting files, sending a message, submitting a form, or making a payment, pause and ask me to approve it. End with a plain-text description of a diagram I could draw from your explanation.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.