# Build retail media agent

> Build retail media agent is an open-source agent skill for marketing and seo. Guides building an AdCP retail media agent that sells catalog-driven on-site placements. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/adcontextprotocol/adcp-client/tree/main/skills/build-retail-media-agent
- **Repository:** https://github.com/adcontextprotocol/adcp-client
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** build-retail-media-agent
- **Collection:** https://github.com/adcontextprotocol/adcp-client
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-01

## About

This skill walks a developer through building an AdCP seller agent for a retail media network or similar platform that renders ads from a product feed. Rather than starting from scratch, it points to a worked social seller adapter to fork, then replace its SWAP markers with calls into the platform's own backend.

The guidance covers the catalog-driven surface: syncing product catalogs, registering conversion event sources, logging conversion events against catalog rows, and closing the loop with performance feedback from buyers. It lists the retail-specific differences from the social baseline, such as flagging products as catalog-capable and attaching synced catalogs to media buy packages. It also notes which idempotency and webhook conventions apply to these mutating calls.

The skill references shared cross-cutting rules and a validation flow using a fork-matrix test and a storyboard run against a local agent. It expects familiarity with the AdCP protocol and the TypeScript example code in the same repository.

## When your agent uses it

> Use when building an AdCP retail media network agent — a platform that sells on-site placements, supports product catalogs, tracks conversions, and reports performance. Applies to retail, restaurants, travel, and any platform rendering ads from a feed.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/adcontextprotocol/adcp-client/tree/HEAD/skills/build-retail-media-agent)
- [License: Apache-2.0](https://github.com/adcontextprotocol/adcp-client/tree/HEAD/skills/build-retail-media-agent)

## Features

- **Catalog-driven seller fork:** Starts from a worked social seller adapter that already exposes the catalog and event surface.
- **Product catalog ingestion:** Covers syncing JSON, CSV or XML product feeds with required per-row fields and error reporting.
- **Conversion event sources:** Explains registering purchase, add-to-cart, page view and search endpoints for later event logging.
- **Performance feedback loop:** Describes how buyer optimization signals on impressions are passed back to the seller.
- **Onsite placement guidance:** Outlines placement encoding for search, product pages, offsite and in-store surfaces, marked as preview.
- **Local validation steps:** Lists the fork-matrix test and storyboard command used to check a forked agent.

## Good for

- Build a retail media network that sells sponsored product placements on a website
- Sync a product feed so ads can render dynamically from catalog rows
- Log purchase and add-to-cart conversions back to a buyer's campaign
- Adapt a seller agent for restaurant or travel platforms that show ads from a feed
- Validate a forked agent against the catalog-driven storyboard

## Install

### Claude Code

This skill ships in the `adcp-client` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add adcontextprotocol/adcp-client
/plugin install adcp-client@adcp
```

Or copy only this skill to `~/.claude/skills/build-retail-media-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/adcontextprotocol/adcp-client.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/build-retail-media-agent &&
cp -R "$tmp/skills/build-retail-media-agent" ~/.claude/skills/build-retail-media-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/build-retail-media-agent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/build-retail-media-agent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/adcontextprotocol/adcp-client.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/build-retail-media-agent &&
cp -R "$tmp/skills/build-retail-media-agent" ~/.agents/skills/build-retail-media-agent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/build-retail-media-agent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/build-retail-media-agent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/adcontextprotocol/adcp-client.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/build-retail-media-agent &&
cp -R "$tmp/skills/build-retail-media-agent" ~/.cursor/skills/build-retail-media-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/build-retail-media-agent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/adcontextprotocol/adcp-client.git --path skills/build-retail-media-agent
```

Or copy the folder to `~/.gemini/skills/build-retail-media-agent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/build-retail-media-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/adcontextprotocol/adcp-client.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/build-retail-media-agent &&
cp -R "$tmp/skills/build-retail-media-agent" ~/.copilot/skills/build-retail-media-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/build-retail-media-agent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/adcontextprotocol/adcp-client.git
```

Then copy `adcp-client/skills/build-retail-media-agent` into your agent's skills folder as `build-retail-media-agent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need before using Build retail media agent?

The skill assumes you are building an AdCP seller agent and works from the TypeScript social seller adapter in the same repository, plus the AdCP reference docs it links to.

### Does Build retail media agent change my code automatically?

No. It is a guide that tells you which adapter to fork and which SWAP markers to replace with your backend calls.

### Which catalog fields are required?

Each catalog row needs product_id, title, price, image_url and category; rows missing any of these should be rejected with a structured error.

### Is the retail-specific specialism complete?

The sales-retail-media specialism is described as a v3.1 placeholder, so only the protocol baseline is enforced today.

### How do I install Build retail media agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/build-retail-media-agent to use it in all your projects, or to .claude/skills/build-retail-media-agent in one project. Or install the adcp-client plugin, which includes it: /plugin marketplace add adcontextprotocol/adcp-client, then /plugin install adcp-client@adcp.

### Does Build retail media agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Build retail media agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Build retail media agent?

The closest alternatives to Build retail media agent are Build seller agent, Call adcp agent, Adcp media buy, Adcp creative and Adcp measurement.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Build seller agent](https://ai-powered.com/skills/build-seller-agent-adcontextprotocol): Build seller agent is an open-source agent skill for design and media.
- [Call adcp agent](https://ai-powered.com/skills/call-adcp-agent): Call adcp agent is an open-source agent skill for marketing and seo.
- [Adcp media buy](https://ai-powered.com/skills/adcp-media-buy): Adcp media buy is an open-source agent skill for marketing and seo.
- [Adcp creative](https://ai-powered.com/skills/adcp-creative): Adcp creative is an open-source agent skill for marketing and seo.
- [Adcp measurement](https://ai-powered.com/skills/adcp-measurement): Adcp measurement is an open-source agent skill for marketing and seo.
- [Adcp si](https://ai-powered.com/skills/adcp-si): Adcp si is an open-source agent skill for marketing and seo.
- [Server side conversion tracking](https://ai-powered.com/skills/server-side-conversion-tracking): Server side conversion tracking is an open-source agent skill for marketing and seo.
- [Paid ads](https://ai-powered.com/skills/paid-ads-seite-sh): Paid ads is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/build-retail-media-agent-adcontextprotocol
