---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# How your agent uses Goop

**Free to install:** the Goop plugin, with the Goop design skill, which gives your agent the look before its first screen. [Install it](/docs/install).

Goop is written for your agent to read, so it builds screens from the theme's parts instead of drawing its own. You don't need to read any of it yourself: this page says what your agent reads, and what to tell it.

## Point your agent at Goop

1. Open your coding agent in your project.
2. Paste this:

```agent
Use Goop for every screen in this app. Read https://goop.so/llms.txt first, and follow Goop's rules in AGENTS.md if this project has them.
```

3. Your agent reads Goop's pages, then builds each screen from Goop's parts.

## What your agent reads

- **The rules file.** The theme's rules sit in your project's `AGENTS.md`, which your agent loads in every session: use the theme's part for everything it has, take every colour and size from its tokens, and never restyle it. The setup step writes them (see [Install](/docs/install)); each theme's rules page shows them in full ([the theme guides](/docs/guides) link each one).
- **Two screen recipes.** Before its first file, your agent reads two recipes: the app's frame, and the screen it writes first (an overview, a list, a record, an inbox or settings). It copies both whole, then writes that screen. Each theme's guide lists its own ([the theme guides](/docs/guides)).
- **A page for each part.** Every part has a written page: its import, an example, its options, its parts, its states and its keys. Your agent looks a part up there instead of opening the part's code. The same pages are on this site under [Components](/components).
- **llms.txt.** Each theme ships an `llms.txt` that lists its docs as plain text, and every page of this site has a plain-text copy beside it: [goop.so/llms.txt](/llms.txt) lists them all.
- **This site's search.** Rather than read every page, your agent can search goop.so with a keyword or a plain question, and gets back the matching page sections. Every page tells it where to search.

<details>
<summary>Show the exact commands</summary>

The agent looks a part up with `node goop/agent/lookup.mjs part <name>` instead of opening the part's source.

It searches the site at `https://goop.so/.well-known/search?q=date+picker`: a keyword or a plain question, answered with the matching page sections in Markdown, each with its address. Every page names this address in its `agent:endpoint` tag, and every Markdown copy in its front matter.

</details>

## Checking a screen

1. When your agent has built a screen, paste this:

```agent
Check the screen you just built with Goop's lint and review tools, look at the pictures they take, and fix anything that is off.
```

2. Your agent holds the screen's file to the theme's values, then takes pictures of the screen: at phone width in light, and at desktop width in light and dark. It looks at them and fixes what is off.

```result
The screen is checked
Its colours and sizes are the theme's own
Pictures of it at phone and desktop widths
```

<details>
<summary>Show the exact commands</summary>

`node goop/agent/lint.mjs <file>` holds a file to the theme's values. `node goop/agent/review.mjs check <url> <file>` runs the lint, then takes pictures of the screen (375 px light, 1280 px light and dark) for the agent to look at.

</details>

The free core comes with a README and a short `llms.txt`; the rules file, the part pages and the lookup and review tools come with Goop Pro.
