AI resources
Give coding agents keypal's docs: llms.txt and llms-full.txt, a Markdown copy of every page, an agent skill, and a prompt to paste into your editor.
keypal’s documentation is published in forms coding agents read directly, so Claude Code, Cursor, Codex and similar tools can write keypal code against the current API instead of guessing.
Paste a prompt
Copy this into your agent to add API keys to an app:
Add API key authentication to this app with the keypal npm package.
Read https://keypal.dev/llms-full.txt before writing code, store keys
with the adapter that matches our database, and protect our API routes
with keys.verify(req.headers): reject the request unless result.valid
is true, and read the owner from result.record.
Files for agents
| File | What it holds |
|---|---|
/llms.txt |
An index of every docs page with a one-line summary |
/llms-full.txt |
Every docs page in one Markdown file |
/skill.md |
An agent skill describing when and how to use keypal |
Any page + .md |
That page as Markdown, for example /docs/getting-started/quick-start.md |
Every docs page also has Copy as Markdown and Open in chat in its page actions.
Keep agents on the current API
keypal 0.2 flattened the key record: fields such as ownerId, scopes and revokedAt sit on the record itself, not under record.metadata. Agents trained on older examples sometimes write record.metadata.ownerId; pointing them at llms-full.txt avoids that.