> ## Documentation Index
> Fetch the complete documentation index at: https://anvil.servicetitan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Anvil2 Proto

> Describe a screen in Claude Desktop or ChatGPT and get a shareable Anvil2 prototype with /anvil2-proto.

> [!NOTE]
>
> **Early beta.** Anvil2 Proto and `/anvil2-proto` are not generally available,
> and the experience may change. Treat the output as a starting point, not a
> finished design. Prototype to code and prototype to Figma are coming soon.

Anvil2 Proto turns a short prompt into an interactive prototype built with
Anvil2 components. You get a link you can share, comment on, and fork. It runs
through the **For Chat** plugin in Claude Desktop or ChatGPT.

Start every prototype with the **`/anvil2-proto`** command. Asking Claude or
ChatGPT for a prototype without it does not use Proto.

## Install For Chat

Members of the design org already have For Chat installed in Claude Desktop.
Skip to [Create a prototype](#create-a-prototype).

> [tab] Claude Desktop
>
> 1. Open Claude Desktop, select **Customize** in the left sidebar, and open
>    **Plugins**. The sidebar item reads **Plugins** on accounts that have
>    Anthropic's new Plugins page.
>
> 2. Open **Discover** and search for **For Chat**.
>
> 3. Select **For Chat**, then select **Add**.
>
> 4. Open the plugin and select its **Connectors** tab. The Anvil Labs
>    connector must show **Connected**. If it shows **Not connected**, select
>    **Connect** and sign in. You can also check under **Customize** >
>    **Connectors**.
>
> > [!WARNING]
> >
> > A yellow alert can appear while you connect the Anvil Labs connector inside
> > the plugin. Quit and reopen Claude Desktop. The connector then shows
> > **Connected**.
>
> > [!NOTE]
> >
> > The connector points to `https://anvil-labs.servicetitan.com/mcp/proto`.
> > Do not swap it for `/mcp/v1`. That endpoint serves design-system guidance
> > only and has no Proto tools. See
> > [Design Platform MCP](https://anvil.servicetitan.com/docs/resources/design-platform-mcp.md).

> [tab] ChatGPT
>
> 1. Select **Plugins** in the ChatGPT sidebar.
> 2. Search for **For Chat**.
> 3. Select **For Chat**, then select **Install plugin**.
> 4. If ChatGPT asks you to connect an app, select **Connect** and sign in.

## Create a prototype

1. Open a new session in Claude Desktop or ChatGPT.

2. Run `/anvil2-proto` followed by what you want to explore. For example:

   ```text theme={null}
   /anvil2-proto create a dashboard for HVAC owner with 200 technicians and 3 offices
   ```

3. Answer the clarifying questions, or tell it to decide for you.

4. When it finishes, the chat posts a link to the prototype. Depending on your
   app, the prototype can also open in a panel beside the chat.

Claude or ChatGPT writes the prototype and Proto validates and stores it. You
do not write any JSON.

> [!WARNING]
>
> Claude sometimes does not load the skill right away and says
> `/anvil2-proto` is missing. Quit and reopen Claude Desktop, start a new
> session, and try again. Typing `/` should list `anvil2-proto` with For Chat
> as its plugin.

> [!TIP]
>
> In ChatGPT, if `/anvil2-proto` does not autocomplete, mention the plugin with
> `@For Chat` or pick it from **Plugins** in the message box, then include
> `/anvil2-proto` in your prompt.

## Work with a prototype

| Need | How |
| - | - |
| Share | Select **Share** in the viewer to copy the link, or send the link from the chat |
| Find your prototypes | Run `/anvil2-proto list`, for example `/anvil2-proto list from last week` |
| Reopen a prototype | Run `/anvil2-proto` followed by its link |
| Iterate in chat | Stay in the same session and describe the change |
| Comment | Select **Comment** in the viewer, then click an element or leave a note on the whole prototype |
| Fork | Select **Fork** in the viewer to copy it as a new prototype |
| Edit without a prompt | Select **Edit** in the viewer, click an element, and change its props |

## When not to use it

* For generic sketches, Figma files, or HTML mockups, see
  [AI Tooling and Anvil2](https://anvil.servicetitan.com/docs/getting-started/ai-tooling-and-anvil2.md).
* For production UI, use an AI-powered code editor with access to your
  repository. See [AI Tooling and Anvil2](https://anvil.servicetitan.com/docs/getting-started/ai-tooling-and-anvil2.md).

## Give feedback

Share what works and what doesn't in the
[beta feedback form](https://forms.gle/1EvDtJjejuARE8EWA), or post in
\#anvil2-proto-beta-feedback on Slack. For other help, contact
[#ask-designsystem](https://servicetitan.enterprise.slack.com/archives/CBSRGHTRS).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.