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.
- 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.
Related agent uses
Pick models by testing them on the real job
A developer compared several models on a UAV software project and found that detailed plans still didn’t stop weaker ones from making serious mistakes.
Use Claude to probe hardware and write a driver
A user had Claude inspect a USB device and help build a new driver for hardware that broke on a newer macOS.
Map a desktop app’s platform layers for Linux support
They used Claude to inspect a minified desktop app and trace why it depended on macOS, then outlined three possible Linux paths.
Use an agent to hunt for smart contract bugs
A red-team benchmark let Claude search forked chains for contract weaknesses and draft exploit code in an hour.
Have Claude take a bioinformatics challenge from paper to report
At a hackathon, Pedro Beltrao’s team used Claude agents to work through 13 bioinformatics prediction problems end to end.
Map ROM functions with Claude in Ghidra
A developer used Claude inside Ghidra to inspect an Atari River Raid ROM, identify key routines, and rename them.