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.
npx agentmods add commands/siddik-web/wp-block-theme-converter/wp-debuggit clone --depth 1 https://github.com/siddik-web/wp-block-theme-converterWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.07891 |
| Opus 5 | $0.00015 | $0.03946 |
| Sonnet 5 | $0.00006 | $0.01578 |
| Haiku 4.5 | $0.00003 | $0.00789 |
Grade A, and why
wp-debug 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 974 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/wp-debug
Purpose: Run a guided diagnostic workflow to identify and fix the root cause of a WordPress block theme problem. This command maps symptoms to specific root causes, provides step-by-step diagnosis, and offers to apply fixes directly to theme files.
When to Use
Trigger this command when:
- A block theme is producing an error message in the editor or on the front end
- Styles, colors, typography, or spacing are not applying correctly
- A pattern or template is missing from the Site Editor or inserter
- A file change had no visible effect
- The editor and front end look different
- Shortcodes, widget HTML, or ACF field values are not rendering in blocks
- PHP warnings or notices appear on the front end
When This Command Does NOT Apply
| Situation | Use Instead |
|---|---|
| Converting static HTML/CSS to a block theme | /convert-to-wp-theme |
| Plugin conflict causing a white screen or admin error | /wp-plugin-theme |
| Hosting, server config, or database connection errors | Out of scope — contact hosting provider |
| WP-CLI or SSH access denied | Out of scope — contact server admin |
| Performance / Core Web Vitals issues | Out of scope — use references/asset-optimization.md |
Workflow
Step 1: Gather the Symptom
Ask the user:
"Describe what you're seeing — paste the exact error message if there is one, or describe the behavior (e.g., 'blank page after I edited a block', 'my color palette shows gray instead of my brand colors', 'the hero pattern isn't showing in the inserter')."
If the user already included a symptom in their message with /wp-debug, skip asking and proceed directly to Step 2.
Accept any of these symptom forms:
- Pasted error message (verbatim text from browser or editor)
- Screenshot description ("I see a yellow warning banner in the editor")
- Behavioral description ("nothing changed after I updated the .html file")
- PHP log excerpt
Step 2: Map to Root-Cause Category
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.
- 3d ago First seen · 974 lines · 29 tokens per session scan A cc20664e364a
wp-debug is a command published in the GitHub repository siddik-web/wp-block-theme-converter (44 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 7,891 once invoked, about $0.0001 per session on Opus 5. 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.
Other commands, from other repositories
release
Command "release" from Automattic/pressship, covering release, svn password and options.
publish
Command "publish" from Automattic/pressship, covering publish and options.
info
pressship info pressship info ./my-plugin pressship info 16deza-table-cell-extras pressship info https://wordpress.org/plugins/16deza-table-cell-extras/ pressship info --remote pressship info ./my-plugin --remote pressship info 16deza-table-cell-extras --json.
pack
Command "pack" from Automattic/pressship, covering pack and options.
verify
Command "verify" from Automattic/pressship, covering verify and options.
Q
MCP-first cross-validated code intelligence across dependency graphs.