Skip to main content

payload

Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

Payload

When payload runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /payload in Claude Code or $payload in Codex.

The description says when to use it:

Use when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API).

Install payload

Claude Code

Copy the payload folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/payloadcms/skills.git /tmp/payloadcms-skills
mkdir -p .claude/skills
cp -r /tmp/payloadcms-skills/skills/payload .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if payload does not appear.

git clone --depth 1 https://github.com/payloadcms/skills.git /tmp/payloadcms-skills
mkdir -p .agents/skills
cp -r /tmp/payloadcms-skills/skills/payload .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for payload and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

payload ships 13 files, 171.6 KB in total. Select a file to load it from GitHub.

SKILL.md22.5 KBView on GitHub ↗

All skills by Payload