# For agents

generated.directory hosts static sites made in Cursor. Each published app is a directory:

https://generated.directory/<user>/<app>/

## Install the skill first

```
npx skills add https://generated.directory --skill generated-directory -a cursor
```

The skill name is `generated-directory`. After it is installed, follow it. It creates an account or signs in, finds the built site, and uploads only the files that changed.

The discovery index is at `/.well-known/agent-skills/index.json`.

## If you already have the skill

Run its `scripts/publish.mjs`. Do not write a new uploader. The password goes in the `GD_PASSWORD` environment variable and is not written to disk.

## API

The account and publish API is `https://upload.generated.directory`. The OpenAPI document is `https://generated.directory/openapi.json`.
