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

# Building on Paygentic with LLMs

> Leverage LLMs in your Paygentic development process

Large language models (LLMs) can help when you're building integrations with Paygentic. To make the most of this, we offer a range of resources and guidelines for using LLMs effectively during your development workflow.

## Accessing plain text documentation

You can get clean, markdown-formatted versions of all our documentation by appending `.md` to any doc URL. For example, you can access this page as plain text at [/platform/building-with-llms.md](/platform/building-with-llms.md).

This format is particularly suited for use with LLMs and AI tooling because:

* Markdown is easier for LLMs to parse compared to HTML or script-heavy pages
* Content hidden behind tabs or conditional UI in the web version is fully exposed in the plain text
* The structured format makes it easier for models to follow document flow and hierarchy

Additionally, we provide a file at [/llms.txt](/llms.txt) that outlines how LLMs and AI tools can fetch these simplified versions. This follows the [llmstxt.org](https://llmstxt.org/) standard to improve accessibility for AI agents.

## Copy markdown

Want to reuse or analyze the markdown for a page? Select the **Copy Page** button in the top-right corner to instantly copy the full markdown content to your clipboard.

## Claude Code skills

If you use [Claude Code](https://www.anthropic.com/claude-code), install the Paygentic skills plugin to give Claude built-in knowledge of how Paygentic works. The plugin is open source at [paygentic/skills](https://github.com/paygentic/skills).

The plugin ships two skills that Claude loads automatically when relevant:

| Skill       | Use it for                                                                       | Triggers when you say…                                                                               |
| ----------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `explore`   | Understanding Paygentic — billing model, metering, subscriptions, entitlements   | "how does Paygentic metering work", "what is consumption-based billing", "how do subscriptions work" |
| `integrate` | Writing integration code with the SDK (TypeScript or Python) or the raw REST API | "set up billing", "send usage events", "create a customer", "wire up Paygentic"                      |

### Install

In Claude Code, run:

```bash theme={null}
/plugin marketplace add paygentic/skills
/plugin install paygentic@skills
```

### Try it

Open Claude Code in a project where you're integrating Paygentic and ask:

* *"Add Paygentic metering to this Express handler — emit a usage event for every request."*
* *"How does Invoice 0 payment gating work? I'm trying to decide if I need it."*
* *"Generate a webhook handler that activates a subscription when `invoice.paid` fires."*

Claude detects the request and loads the appropriate skill automatically — you don't need to mention the skill by name.
