PickCode Add to Chrome
  1. Home
  2. Guides
  3. Agent prompt for Claude Code and Cursor

How do I give Claude Code or Cursor a website element to rebuild?

Updated November 4, 2026

Short answer

Pick the element with PickCode, press A or open the Agent tab, choose the code format, and copy the prompt. It holds the element’s code, hover states, breakpoints, design tokens, fonts and a list of every image and font file with a direct link, plus a clear finish line. Paste it into Claude Code, Cursor or any coding agent.

What the prompt contains

Match exactly or adapt

Choose Match exactly, with assets and the prompt tells the agent to download the listed files and keep the copy as it is. Choose Adapt to my project and it tells the agent to swap the images, brand assets and copy for yours.

Either way the prompt asks the agent to reuse your project’s own components where it can. Copy screenshot adds an image of the element, to paste next to the prompt for layout intent.

Copy an agent prompt with PickCode

  1. Pick the element. Press Alt Shift C and click the component you want rebuilt.
  2. Open the Agent tab. Press A in the code panel, or click the Agent tab.
  3. Choose the options. Pick the reference format, then Adapt to my project or Match exactly, with assets. Copy a screenshot too if you want one.
  4. Copy and paste. Copy the prompt, check what PickCode removed, and paste it into Claude Code, Cursor or another agent.

Hidden text on web pages

A web page can carry hidden text aimed at AI agents, in the hope that an agent will follow it. Before the prompt is built, PickCode strips hidden text, invisible characters, link targets and text that looks like instructions, marks everything that remains as reference material only, and shows you what it removed.

That is a safeguard, not a guarantee. Read the prompt before you paste it into an agent that can run commands or edit files.

When to use code instead

For a quick paste into a chat or an editor, copying the element as plain code is faster. The guide to pasting components into AI editors covers that, and how to write the instructions around it.

Questions

What is the Agent tab in PickCode?

A tab in the code panel that builds a prompt for a coding agent from the element you picked: its code, states, breakpoints, tokens, fonts and asset links.

Does PickCode send the page to an AI service?

No. The prompt is built in your browser and copied to your clipboard. Where you paste it is up to you.

What does the Agent tab cost?

It has no separate price. The free plan allows 5 elements a day in every format, and Pro is a single $49 payment for unlimited use. See pricing.

Is it safe to paste a prompt built from someone else’s page?

PickCode strips hidden text and instruction-like text and marks the rest as reference only, but no filter is perfect. Read the prompt before pasting it into an agent that can run commands.

Sources

  1. Anthropic: Claude Code overview
  2. OWASP: LLM01 prompt injection

Copy it in one click

PickCode turns any element into Tailwind, React, Blade or HTML + CSS. Free for 5 elements a day.

Add to Chrome

Related