Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Arkadiusz Moscicki avatar

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-plugins

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedJune 3, 2026
Repositoryamoscicki/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

  1. server.ts — Persistent HTTP server that initializes Payload once (avoiding 10-15s cold start per query)
  2. payload.js — Thin CLI client that routes commands to the server via HTTP

Setup

  1. Enable the plugin in Claude Code settings:

    { "enabledPlugins": { "payload@aromatt": true } }
    
  2. Start the server from your project root:

    node <plugin-root>/scripts/payload.js start
    
  3. Query data:

    node <plugin-root>/scripts/payload.js find users --limit 5
    node <plugin-root>/scripts/payload.js schema tutors
    

Requirements

  • Project must have @payload-config resolvable (standard Payload CMS setup)
  • pnpm tsx available in the project
  • PostgreSQL running for dev (and optionally test) database
  • Runtime state is shared in ~/.payload-cms (override with PAYLOAD_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.

Related skills

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.