Content CLI

Lets AI agents and scripts read, edit and sync Payload content from the command line

Community 9 688/wk MIT v0.5.0

Installation

pnpm add @jhb.software/payload-content-cli

About

Payload Content CLI gives AI agents and shell scripts access to the content in a Payload project. Every REST operation, from finding and creating documents to uploading media and managing versions, runs as a command that prints predictable JSON.

Content can also be pulled to local files, edited with ordinary file tools and pushed back, with conflict detection and a dry run preview. Rich text can be changed node by node through a path instead of rewriting the whole field. An MCP toolset gives agents the same content operations when they connect to Payload over MCP.

Package info

Package name
@jhb.software/payload-content-cli
Latest version
0.5.0
Unpacked size
308 kB
License
MIT
Weekly downloads
688
Last publish
Sep 25, 2026

More from jhb-software

View profile

Admin chat view where editors read, create and update Payload content in plain language

Generates image alt text with AI in the admin panel, with bulk runs and a coverage widget

Translates Payload content between locales in the admin panel using AI or custom resolvers

Shows Vercel deployment status in a dashboard widget and triggers production redeploys

Stores Payload uploads in Cloudinary with direct browser uploads and public IDs

Adds a keyboard-driven global search modal to the Payload admin panel

Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app

Automated code transforms that move a Payload project past breaking changes

CLI and registry that installs wired Payload blocks into Next.js projects

Migrates WordPress posts, pages, media, SEO and redirects into Payload

Migrates WordPress sites to Payload from a WXR export file

Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects