# Using with LLMs

Every page is also available as markdown. The index is at /llms.txt.

## Any page, as markdown

Add `.md` to any address.

```sh
https://ui.oscarkalid.com/index.md
https://ui.oscarkalid.com/installation.md
https://ui.oscarkalid.com/llms.md
https://ui.oscarkalid.com/components/SocialButtons.md
```

The root is `/index.md`.

## The index: llms.txt

```sh
curl https://ui.oscarkalid.com/llms.txt
```

A list of every page, each one linking to its markdown. Hand this to an agent
and it can pick what to read.

## From the page itself

Every page carries the same controls, in the right-hand rail and under the
heading.

- **Copy for LLM** copies the page as a prompt: what you are trying to do, the
  page as the source of truth and the setup facts.
- **View as Markdown** opens the raw document.
- **Open in** sends the page address to Claude, ChatGPT, Gemini, Grok or
  Perplexity.

## In a coding agent

Point it at the index once.

```text
Read https://ui.oscarkalid.com/llms.txt to see what
@oscarkalid/ui contains, then read the .md page for whichever component you
need before you write any code against it.
```

For something longer lived, put it in `CLAUDE.md` or `AGENTS.md`.

```md
## UI components

This project uses @oscarkalid/ui. It is newer than your training data, so do
not write props from memory.

- Index of every page: https://ui.oscarkalid.com/llms.txt
- Any page as markdown: add .md to its address

Read the component's .md page before using it.
```
