---
title: "How it works"
description: "Code Lens step by step, one MCP call drawn, where a Project keeps its captures, and what an Agent Run leaves behind."
url: https://www.bigshot.pics/how-to-use/how-it-works
---
# How Bigshot works

Each part of Bigshot in more detail: how Code Lens finds code, what an agent does through the MCP server, where a Project keeps its captures, and what an Agent Run leaves behind.

Code Lens

## Code Lens — find the code behind what you see

Select part of your app and Code Lens labels each component with its file and line. Click a label to open that line in your editor.

on screenOpen

AppRow.tsx:39`<button>**Open**</button>`

Compiled or not. It reads the screen, not the binary, so a Swift or Rust app works the same as a script.

1.  Select part of your app. Every component in it gets a label with its file and line.
    
2.  Hold the loupe over any text. It shows the line of source that puts it on screen.
    
3.  _Coming soon_Change the words on screen and the string changes on its source line.
    

[How Code Lens works →](https://www.bigshot.pics/how-to-use/code-lens)[Benchmarks →](https://www.bigshot.pics/blog/code-lens-benchmarks)

MCP server

## One MCP call, step by step

Claude Code asks for a screenshot in words. Bigshot ranks the Project’s captures, returns the closest, then answers which component renders it.

1.  In Claude Code or Codex, in your Project's folder: use Bigshot to find my screenshot of the pricing page. The agent turns that into a call to Bigshot's MCP server.
    
    `search_screenshots query: "pricing page"`
    
2.  The call reaches the running app on your Mac. On every call it checks that the MCP server is on, finds the Project for the agent's folder, and checks that the Project is included. If not, the agent gets the reason instead.
    
    `folder acme-pricing → Project Acme`
    
3.  Only the screenshots listed in the Project's .screenshots/index.json. It looks for the words in each one's on-screen text, note, tags, app and address, then for screenshots that look like a pricing page if the image model is installed.
    
    `.screenshots/index.json · 9 of 12 shared`
    
4.  The best matches go back to the agent: each one's path, when it was taken, its tags and note, and why it matched. With nothing that fits, the agent hears that too.
    
    `why: contains “pricing” in its text: “Simple pricing”`
    
5.  The agent asks for the code behind that screenshot. Bigshot's Code map matches its text to the components that render it and returns the file and lines, so the agent opens the right place first.
    
    `PricingPage src/app/pricing/page.tsx:8-27`
    

[The six tools →](https://www.bigshot.pics/#mcp)[Set up the MCP server →](https://www.bigshot.pics/docs/mcp-server)

Projects

## Projects — on the island and in the repository

The active Project decides where the next capture is saved, which code Code Lens reads and what the MCP server shares.

-   [Every capture lands in a ProjectPick the Project above your recent captures, and the next capture goes to its repository.](https://www.bigshot.pics/docs/island)
-   [Switch ProjectHover the notch and press one key to switch the Project, the tag, or the capture mode.
    
    Tag new capturesT
    
    1No tag
    
    2checkout
    
    3new landing
    
    4onboarding
    
    PProjectTTagMMode
    
    CSLAIROH
    
    
    
    
    
    ](https://www.bigshot.pics/docs/island)
-   [In your repositoryCaptures go to the Project’s .screenshots folder, with an index your agent can read.acme/├─ src/├─ package.json└─ **.screenshots/** ├─ **index.json** ├─ 13.02 pricing.png └─ 13.09 checkout.png](https://www.bigshot.pics/docs/projects)
-   [Kept out of GitBigshot checks the workspace for you: a Git repository, the folder ignored, the index in place.![Edit Project in Bigshot: the workspace folder, screenshots kept in .screenshots, and checks that the workspace is a Git repository and the screenshots are kept out of Git.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Fproject.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/docs/projects)

[How Projects work →](https://www.bigshot.pics/docs/projects)

Inline Agent

## Inline Agent — run agents on top of your UI

Select the problem on screen and say what to change. The agent starts with the screenshot, the matching code and the Project attached, and works on a branch of its own.

-   [Select it, say it, run itThe agent gets your words, the screenshot, and the code Code Lens matched.
    
    bigshot.pics/download
    
    ![](https://www.bigshot.pics/screenshots/timeline/download.webp)Download for macOS_2.5 MB_
    
    ![](https://www.bigshot.pics/screenshots/timeline/download-button.webp)
    
    Run an agent
    
    It gets your instructions and the screenshot.
    
    Add an icon and show the size of the dmg
    
    Claude CodeOptions
    
    Where
    
    New branch in a worktree
    
    From
    
    main @ ecb1175
    
    Commit
    
    _✓_Commit the changes when the agent is done
    
    Runs on its own branchRun Agent
    
    Running✓Done · 1 commit
    
    Add an icon and show the size of the dmg
    
    Claude Code · bigshot/agent-dmg-size
    
    1.  **Read**app/download/page.tsx
    2.  **Edit**app/download/page.tsx_+6 −2_
    3.  **Run**pnpm typecheck
    4.  **Commit**a41c9e2 Show the dmg size
    
    Review the branch
    
    
    
    
    
    
    
    ](https://www.bigshot.pics/how-to-use/inline-agent)
-   [A branch of its ownThe agent works in a worktree beside your repository. Your checkout isn’t touched.![Bigshot's Run an agent panel: the request “Add an icon and show the size of the dmg”, Claude Code picked as the agent, and the run set to a new branch in a worktree.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Fagent-run-panel.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/how-to-use/inline-agent)
-   [What the agent didEvery run is kept with its request, its answer and its branch. Bigshot never pushes or merges.![Bigshot's record of an Agent Run: the request, the agent and model, the branch, and what the agent did, in its own words.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Fagent-run-result.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/how-to-use/inline-agent)

[How Inline Agent works →](https://www.bigshot.pics/how-to-use/inline-agent)

Capture

## Capture — the screenshot toolkit

Capture, mark up, redact and measure, keep what you copy, frame and export, all from the island under the notch.

-   [Smart selectionSnaps to the window, panel, or row under the pointer, so there is nothing to crop.![Capture over a product page: the Boards row is highlighted, its edges found before any click.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Fsmart-select-tile.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/docs/capture-modes)
-   [Colour Picker#6D5EFCrgb(109 94 252)hsl(246 96% 68%)oklch(58.8% 0.226 281.2)Any pixel’s colour, copied as HEX, RGB, HSL, or OKLCH.![The colour picker over a gift wrap swatch, reading #6D5EFC and copying it.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Ftool-colour-tile.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/docs/editor)
-   [RedactionRedactionPixelate or blur what should stay private.![A checkout form with its fields pixelated in the editor.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Ftool-redact-tile.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/docs/editor)
-   [Measurements**– px**Distances and sizes in pixels.![The editor measuring a Pay button at 627 × 89 and the summary at 718 px across.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Ftool-measure-tile.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/docs/editor)
-   [MoodboardsTag what you capture, and every capture under the tag becomes one board.![A board in the Bigshot Library: a masonry grid of app and web screenshots, each tagged “new landing”.](https://www.bigshot.pics/_next/image?url=%2Fscreenshots%2Fmoodboard-board.webp&w=3840&q=75&dpl=dpl_GyMYBumwSMA7q6CXY8wXMV9TGDtp)](https://www.bigshot.pics/how-to-use/moodboards)

Capture

[Smart selection](https://www.bigshot.pics/docs/capture-modes)[Five capture modes](https://www.bigshot.pics/docs/capture-modes)[Frame and timer](https://www.bigshot.pics/docs/capture-modes)[Clipboard](https://www.bigshot.pics/docs/capture-modes#images-you-copy)

Edit

[Annotations](https://www.bigshot.pics/docs/editor)[Redaction](https://www.bigshot.pics/docs/editor)[Measure and Ruler](https://www.bigshot.pics/docs/editor)[Colour Picker](https://www.bigshot.pics/docs/editor)[Copy text](https://www.bigshot.pics/docs/editor)

Export

[Backgrounds](https://www.bigshot.pics/how-to-use/export)[Frames](https://www.bigshot.pics/how-to-use/export)[Sizes](https://www.bigshot.pics/how-to-use/export)[Copy, save, or send](https://www.bigshot.pics/how-to-use/export)

Notch

[Your island layout](https://www.bigshot.pics/docs/island#widgets)[Drag and drop](https://www.bigshot.pics/docs/island)[Duplicate stacks](https://www.bigshot.pics/docs/library)

Library

[Tags](https://www.bigshot.pics/docs/library)[Moodboards](https://www.bigshot.pics/how-to-use/moodboards)[Smart search](https://www.bigshot.pics/docs/library)[Keep and clean up](https://www.bigshot.pics/docs/library)

## Give your coding agent the visual context it’s missing

[Download Bigshot](https://www.bigshot.pics/download)[Back to the overview](https://www.bigshot.pics/)
