# Build decisioning platform

> Build decisioning platform is an open-source agent skill for developer tools. Guides building an AdCP sales agent that connects a publisher or ad platform to buyers. 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-decisioning-platform
- **Repository:** https://github.com/adcontextprotocol/adcp-client
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** build-decisioning-platform
- **Collection:** https://github.com/adcontextprotocol/adcp-client
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill walks an agent through building an AdCP sales agent for publishers, SSP and retail-media networks, targeting the sales-non-guaranteed or sales-guaranteed specialism. It shows how to implement a DecisioningPlatform class covering product discovery, media buy creation and updates, creative sync, buy listing and delivery reporting, and how to translate those calls to an underlying ad server.

The guide covers the typed error catalog to throw instead of generic errors, how to persist platform identifiers through the ctxMetadata store, and how to bootstrap a Postgres-backed server with the SDK's serve and migration helpers. It also lists operator setup steps such as database configuration and OAuth, and points to advanced reference files for human-in-the-loop flows, multi-tenant hosting, sandbox routing, compliance testing and governance.

The examples are TypeScript and use the @adcp/sdk/server package. Working with it requires a Node.js project, an ad server or inventory system to integrate with, and optionally a Postgres database for production state.

## When your agent uses it

> Build an AdCP sales agent (publisher / SSP / retail-media network). Implement 5 functions, throw 8 typed errors, run it. Framework handles idempotency, HITL, signing, multi-tenant, schema validation.

## 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-decisioning-platform)
- [License: Apache-2.0](https://github.com/adcontextprotocol/adcp-client/tree/HEAD/skills/build-decisioning-platform)

## Features

- **Five-function sales platform:** Covers the required handlers for product lookup, buy creation, buy updates, creative syncing, buy listing and delivery reports.
- **Typed error catalog:** Lists the AdCP error classes to throw for missing products, packages, budgets, time ranges and auth failures.
- **Persistent platform state:** Explains stashing ad server IDs with ctxMetadata so later calls can retrieve them across requests.
- **Server bootstrap and migrations:** Shows wiring a Postgres pool, running migrations and starting the server with the SDK helpers.
- **Operator deployment checklist:** Lists environment variables, database setup and OAuth configuration needed before deploying.
- **Advanced specialism references:** Points to linked guides for HITL approval, multi-tenant hosting, sandbox routing, compliance and brand rights.

## Good for

- Build a publisher sales agent that lets buyers discover and book inventory over AdCP
- Connect an ad server such as GAM to an AdCP agent for creating media buys
- Add product catalog lookup that returns priced products from an ad platform
- Expose delivery reports and buy status to buyers through an AdCP server
- Set up Postgres persistence for an AdCP sales agent before production deployment

## 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-decisioning-platform`:

```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-decisioning-platform &&
cp -R "$tmp/skills/build-decisioning-platform" ~/.claude/skills/build-decisioning-platform &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/build-decisioning-platform` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/build-decisioning-platform` 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-decisioning-platform &&
cp -R "$tmp/skills/build-decisioning-platform" ~/.agents/skills/build-decisioning-platform &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/build-decisioning-platform` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/build-decisioning-platform` 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-decisioning-platform &&
cp -R "$tmp/skills/build-decisioning-platform" ~/.cursor/skills/build-decisioning-platform &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/build-decisioning-platform` 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-decisioning-platform
```

Or copy the folder to `~/.gemini/skills/build-decisioning-platform` yourself.

### VS Code

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

```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-decisioning-platform &&
cp -R "$tmp/skills/build-decisioning-platform" ~/.copilot/skills/build-decisioning-platform &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/build-decisioning-platform` 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-decisioning-platform` into your agent's skills folder as `build-decisioning-platform`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Build decisioning platform need to be used?

It is written for TypeScript projects using the @adcp/sdk/server package, and assumes an ad server or inventory system to connect to. Production setups use a Postgres pool for persistent state.

### Does the skill run any scripts or change files?

The skill contains no scripts. It provides instructions and code examples that the agent uses while writing the sales agent implementation.

### Which AdCP specialisms does Build decisioning platform cover?

It targets sales-non-guaranteed and sales-guaranteed for sales agents, and mentions creative, signals, brand-rights and campaign governance agents with their own reference files.

### Is in-memory storage suitable for production?

No. The guide warns that in-memory backends lose state after a restart and recommends Postgres for production deployments.

### How do I install Build decisioning platform in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/build-decisioning-platform to use it in all your projects, or to .claude/skills/build-decisioning-platform 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 decisioning platform 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 decisioning platform?

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 decisioning platform?

The closest alternatives to Build decisioning platform are Build decisioning creative template, Build decisioning signal marketplace, Build creative agent, Build holdco agent and Build governance agent.

## Where this comes from

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

## Alternatives

- [Build decisioning creative template](https://ai-powered.com/skills/build-decisioning-creative-template): Build decisioning creative template is an open-source agent skill for developer tools.
- [Build decisioning signal marketplace](https://ai-powered.com/skills/build-decisioning-signal-marketplace): Build decisioning signal marketplace is an open-source agent skill for developer tools.
- [Build creative agent](https://ai-powered.com/skills/build-creative-agent-adcontextprotocol): Build creative agent is an open-source agent skill for developer tools.
- [Build holdco agent](https://ai-powered.com/skills/build-holdco-agent): Build holdco agent is an open-source agent skill for developer tools.
- [Build governance agent](https://ai-powered.com/skills/build-governance-agent): Build governance agent is an open-source agent skill for developer tools.
- [Build si agent](https://ai-powered.com/skills/build-si-agent): Build si agent is an open-source agent skill for developer tools.
- [Build signals agent](https://ai-powered.com/skills/build-signals-agent-adcontextprotocol): Build signals agent is an open-source agent skill for developer tools.
- [Build brand rights agent](https://ai-powered.com/skills/build-brand-rights-agent): Build brand rights agent is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/build-decisioning-platform
