> For the complete documentation index, see [llms.txt](https://docs.authgear.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.authgear.com/build-with-ai/ai-coding-tools.md).

# Skills for AI Agent

[Authgear Skills](https://github.com/authgear/authgear-skills) are installable skills for AI coding agents (Cursor, Claude Code, Codex, OpenCode, Gemini CLI, and similar) to integrate Authgear into your projects.

To install all Authgear Skills, in your project use:

```shellscript
npx skills add authgear/skills
```

Or clone [the repo](https://github.com/authgear/authgear-skills) and point the skills path of your coding agent to the `skills` folder.

### Available skills

Once installed, these skills will be available for your project.

<table><thead><tr><th width="221.4140625">Skill</th><th>When to use</th></tr></thead><tbody><tr><td>/<strong>authgear-integration</strong></td><td>Integrate Authgear authentication into web, mobile, and backend applications</td></tr><tr><td><strong>/authgear-custom-ui</strong> (coming soon)</td><td>Build <a href="/customization/custom-ui.md">custom UI</a> for signup/login</td></tr><tr><td><strong>/authgear-authflow</strong> (coming soon)</td><td>Set up <a href="/customization/custom-ui/authentication-flow-api.md">custom authentication flow</a></td></tr></tbody></table>

### Example prompts

You can try our these example prompts in your project:

* "Add Authgear authentication to my React app with login/logout buttons and a protected dashboard page"
* "Integrate Authgear into my React Native app with login flow and user setting screen"
* "Protect my Express.js API endpoints with JWT token validation using Authgear"
* "Create a user profile page that displays email and phone number from Authgear"


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.authgear.com/build-with-ai/ai-coding-tools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
