demo

demo is a command for coding agents from Automattic/pressship. It costs 0 tokens per session (277 once invoked), scanned A, original, MIT.

A Pressship command that starts a local WordPress Playground site with a plugin installed and activated. WordPress Playground is a temporary WordPress site that runs locally for testing or demonstration.

In plain words
What is it for?
Use it to demo a local plugin folder or a plugin from WordPress.org, choose WordPress and PHP versions, set a port, reset the site, or start without opening a browser.
Why use it?
It gives you a quick way to open and inspect a plugin without configuring a full WordPress installation.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/automattic/pressship/demo
Clone the repo
git clone --depth 1 https://github.com/Automattic/pressship

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for demo

README.md
[![agentmods](https://agentmods.dev/badge/commands/automattic/pressship/demo.svg)](https://agentmods.dev/commands/automattic/pressship/demo)
Your own site
<a href="https://agentmods.dev/commands/automattic/pressship/demo"><img src="https://agentmods.dev/badge/commands/automattic/pressship/demo.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 277 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00277
Opus 5 $0.00000 $0.00138
Sonnet 5 $0.00000 $0.00055
Haiku 4.5 $0.00000 $0.00028

Measured 5d ago against content hash c438df0493c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

demo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

website/docs/commands/demo.md · 37 lines

What it actually says

Demo

pressship demo
pressship demo ./my-plugin
pressship demo elementor
pressship demo https://wordpress.org/plugins/elementor/

demo starts a local WordPress Playground server with the plugin loaded and activated.

For local paths, Pressship mounts the plugin directory into Playground. For hosted slugs or WordPress.org plugin URLs, Pressship creates a Blueprint that installs and activates the plugin from the WordPress.org directory.

Pressship uses the plugin's required WordPress and PHP versions when they are declared. You can override either runtime:

pressship demo ./my-plugin --wp 6.8 --php 8.3

Options

pressship demo ./my-plugin --port 9401
pressship demo ./my-plugin --reset
pressship demo ./my-plugin --skip-browser
  • --port chooses the local Playground server port.
  • --reset removes the persisted Playground site before starting.
  • --skip-browser starts the server without opening a browser.

Pressship also adds a small Playground compatibility mu-plugin before activation. It loads WordPress admin plugin helpers when plugins expect them and suppresses PHP deprecation notices so demo pages stay readable while real warnings, errors, and fatals still surface.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 37 lines · 0 tokens per session scan A c438df0493c6

Subscribe to this mod's changes

demo is a command published in the GitHub repository Automattic/pressship (51 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 277 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.