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

# Agent skills

> Official FirstPromoter skills that teach AI coding agents to integrate tracking, run your affiliate program and review fraud.

[FirstPromoter skills](https://github.com/firstpromoter/skills) is an open-source (MIT) set of [Agent Skills](https://agentskills.io): instructions that teach AI agents how to work with FirstPromoter. They work in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Amp and any other agent that supports `SKILL.md`.

## The skills

> [card] firstpromoter-integrate
>
> Adds FirstPromoter click, signup and sales tracking to your website or app, connects billing, and tests a referral end to end. Works from your codebase and these docs; the MCP server is optional and lets it read your real settings and verify tracking.

> [card] firstpromoter-manage-program
>
> Answers affiliate support, commission, payout and reporting questions from live data, and screens applications. Uses the [MCP server](https://docs.firstpromoter.com/mcp/overview.md).

> [card] firstpromoter-fraud-review
>
> Reviews affiliates and referrals for self-referrals, duplicates, refund abuse, leaked codes and spikes. Uses the [MCP server](https://docs.firstpromoter.com/mcp/overview.md).

The skills that use the MCP server are read-only by default. Before any change, the agent shows what will change and waits for your confirmation, one write at a time.

## Install

> [tab] Any agent
>
> Install with the [skills CLI](https://skills.sh):
>
> ```bash theme={null}
> npx skills add firstpromoter/skills
> ```

> [tab] Claude Code
>
> Installs the skills and connects the MCP server:
>
> ```
> /plugin marketplace add firstpromoter/skills
> /plugin install firstpromoter@firstpromoter
> ```

> [tab] Codex
>
> ```bash theme={null}
> codex plugin marketplace add firstpromoter/skills
> ```
>
> This registers the marketplace. Then install **FirstPromoter** from the Codex plugins directory to get the skills and the MCP server.

> [tab] GitHub Copilot
>
> ```bash theme={null}
> gh skill install firstpromoter/skills --all
> ```
>
> `gh skill` needs GitHub CLI 2.90.0 or later (`gh --version`).

> [tab] Cursor
>
> Copy the repository's `skills/` folder into `.cursor/skills/` in your project, and [connect the MCP server](https://docs.firstpromoter.com/mcp/overview.md) for the program skills.

> [!NOTE]
>
> The skills CLI and GitHub Copilot install the skills only. To use `firstpromoter-manage-program` and `firstpromoter-fraud-review`, also [connect the MCP server](https://docs.firstpromoter.com/mcp/overview.md) in your agent.

## Try it

| You want to... | Ask your agent |
| - | - |
| Set up tracking | "Integrate FirstPromoter tracking into this app." |
| Fix tracking | "We get referrals but no sales in FirstPromoter. Find out why." |
| Answer an affiliate | "Is [jane@example.com](mailto:jane@example.com) one of our affiliates, and which referrals are hers?" |
| Check a payout | "Why is this affiliate's payout still pending?" |
| Report | "Who were our top 10 affiliates last month, and what share of revenue did they bring?" |
| Keep a dashboard fresh | "Every Monday, summarize new referrals, customers and pending commissions." |
| Screen applicants | "Review pending affiliate applications and summarize each one." |
| Review fraud | "Review affiliates with pending payouts for self-referrals and refund abuse." |

## Resources

* [GitHub repository](https://github.com/firstpromoter/skills): source, issues and discussions
* [MCP server](https://docs.firstpromoter.com/mcp/overview.md) and [available tools](https://docs.firstpromoter.com/mcp/tools.md)
* [llms.txt](https://docs.firstpromoter.com/llms.txt): an index of every docs page for agents


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