
Payload
- Updated June 3, 2026
- amoscicki/aromatt
A CLI skill that lets Claude Code query and mutate a Payload CMS through a persistent local API server. A developer uses it when developing or scripting against a Payload-backed backend, reading and writing content data without manually hitting the admin UI.
Key points
- Payload CMS query/mutate CLI
- Persistent local API server
- For Claude Code agents
Payload by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add amoscicki/aromatt/plugin install payload@amoscicki-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | June 3, 2026 |
|---|---|
| Repository | amoscicki/aromatt ↗ |
What it does
Query and mutate a Payload CMS from Claude Code via a persistent local API server during backend development.
README.md
@aromatt/payload
Payload CMS CLI plugin for Claude Code. Query and mutate Payload collections via a persistent local HTTP server.
How it works
server.ts— Persistent HTTP server that initializes Payload once (avoiding 10-15s cold start per query)payload.js— Thin CLI client that routes commands to the server via HTTP
Setup
Enable the plugin in Claude Code settings:
{ "enabledPlugins": { "payload@aromatt": true } }Start the server from your project root:
node <plugin-root>/scripts/payload.js startQuery data:
node <plugin-root>/scripts/payload.js find users --limit 5 node <plugin-root>/scripts/payload.js schema tutors
Requirements
- Project must have
@payload-configresolvable (standard Payload CMS setup) pnpm tsxavailable in the project- PostgreSQL running for dev (and optionally test) database
- Runtime state is shared in
~/.payload-cms(override withPAYLOAD_CMS_HOME)
Commands
| Command | Description |
|---|---|
start |
Start persistent Payload server |
stop |
Graceful shutdown |
status |
Health check |
collections list |
List all collections |
schema <col> |
Field definitions |
find <col> |
Query documents |
find-by-id <col> --id <id> |
Get by ID |
count <col> |
Count documents |
create <col> --data <json> |
Create document |
update <col> --id <id> --data <json> |
Update document |
delete <col> --id <id> |
Delete document |
Run node <plugin-root>/scripts/payload.js help for full reference.