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

# Agent skill

> Hand the integration to a coding agent with one prompt and a hosted skill file.

Using a coding agent?

Paste this prompt into Claude Code, Cursor, Codex or any LLM. It points the agent at the skill file, which has the exact steps, shapes and checks.

A coding agent can do the integration for you. Give it the prompt above. The prompt points the agent at the skill file, [`https://floprouter.com/skill.md`](https://floprouter.com/skill.md), which has the exact endpoints, request and response shapes, errors and retry rules, and a verification step the agent runs at the end. The agent reads your key from `FLOPROUTER_API_KEY` and asks you for it if it is not set.

If you want the agent to call floprouter as tools instead of writing code, use the [MCP server](https://docs.floprouter.com/mcp-server.md).

## Give the prompt to your agent

Choose your client

**Paste the prompt** into a Claude Code session in your project. Or start the session with it:

```bash theme={null}
claude "Integrate floprouter into this project. Read https://floprouter.com/skill.md, follow it exactly, and run its verification step at the end."
```

**Install the skill** so Claude Code uses it whenever floprouter comes up. For all your projects:

```bash theme={null}
mkdir -p ~/.claude/skills/floprouter
curl -fsSL https://floprouter.com/skill.md -o ~/.claude/skills/floprouter/SKILL.md
```

For one repository, use `.claude/skills/floprouter/SKILL.md` instead and commit it. Run the same `curl` again to update it.

**Paste the prompt** into Cursor's Agent chat, with your project open. The agent reads the skill file from the URL in the prompt.

**Paste the prompt** into Copilot Chat in Agent mode, with your project open. Copilot reads the skill URL with its fetch tool and may ask you to allow that.

Windsurf is now called Devin Desktop. **Paste the prompt** into the agent chat with your project open.

**Paste the prompt** into a Codex session in your project. Or start the session with it:

```bash theme={null}
codex "Integrate floprouter into this project. Read https://floprouter.com/skill.md, follow it exactly, and run its verification step at the end."
```

**Install the skill** for all your projects. Codex reads skills from `~/.agents/skills`; `/skills` in a session lists them.

```bash theme={null}
mkdir -p ~/.agents/skills/floprouter
curl -fsSL https://floprouter.com/skill.md -o ~/.agents/skills/floprouter/SKILL.md
```

For one repository, use `.agents/skills/floprouter/SKILL.md` instead and commit it.

**Paste the prompt** into Cline's chat with your project open. Cline may ask you to approve reading the skill URL.

**Paste the prompt** into Zed's Agent Panel with your project open.

**Paste the prompt** into a Gemini CLI session in your project. Or start the session with it:

```bash theme={null}
gemini -i "Integrate floprouter into this project. Read https://floprouter.com/skill.md, follow it exactly, and run its verification step at the end."
```

**Install the skill** for all your projects. Gemini CLI reads `~/.gemini/skills` and also `~/.agents/skills`, so one copy in `~/.agents/skills` serves Gemini CLI and Codex.

```bash theme={null}
mkdir -p ~/.gemini/skills/floprouter
curl -fsSL https://floprouter.com/skill.md -o ~/.gemini/skills/floprouter/SKILL.md
```

`gemini skills list` shows it.

Continue was acquired by Cursor; the open-source extension stays available. **Paste the prompt** into Continue's chat in Agent mode with your project open.

**Paste the prompt** into any chat assistant that can open web pages. If it cannot, open [`skill.md`](https://floprouter.com/skill.md), copy all of it, and paste it below the prompt. The assistant then writes the code for you to add to your project.

## The skill file

`skill.md` is an agent skill: Markdown with YAML front matter (`name`, `description`) and the steps to integrate floprouter. It covers keys, the base URL, request and response shapes, payer modes and the grant, the prepaid balance, routing, errors and what is safe to retry, streaming, timing, the MCP server and the CLI, and a verification step.

The same file is served at three paths, for tools that look in different places:

* `https://floprouter.com/skill.md`
* `https://floprouter.com/skills/floprouter/SKILL.md`
* `https://floprouter.com/.well-known/skills/floprouter/SKILL.md`

## For agents reading these docs

* [`llms.txt`](https://docs.floprouter.com/llms.txt) indexes these docs, and [`llms-full.txt`](https://docs.floprouter.com/llms-full.txt) has every page in one file.
* Every page is Markdown at its path plus `.md`.
* [`https://floprouter.com/openapi.json`](https://floprouter.com/openapi.json) is the API schema.

## Also for agents

* [MCP server](https://docs.floprouter.com/mcp-server.md): floprouter as tools in any MCP client.
* [CLI](https://docs.floprouter.com/cli.md): the wallet steps (key, grant, deposit) on your machine.


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