wordpress-plugin-to-emdash

wordpress-plugin-to-emdash is a skill for Claude Code, Codex from emdash-cms/emdash. It costs 73 tokens per session (1,294 once invoked), scanned A, original, MIT.

A migration guide for adapting WordPress plugins to EmDash, a different content-management system, using TypeScript implementations.

In plain words
What is it for?
Use it when porting a WordPress plugin, theme behavior, or custom content type to EmDash while preserving its behavior.
Why use it?
It explains how WordPress content types, fields, settings, hooks, and other concepts correspond to EmDash concepts, so the plugin is not copied line by line without regard to the new system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when porting a WordPress plugin, theme behavior, or custom content type to EmDash while preserving its behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emdash-cms/emdash/wordpress-plugin-to-emdash
About the project

EmDash is a content management system for creating and managing websites, built with TypeScript and Astro and deployable on Cloudflare or Node.js with SQLite. It is for site owners and developers who want WordPress-like administration, templates, and plugins without PHP or separate hosting.

emdash-cms/emdash · 14,661 stars · on GitHub · emdashcms.com

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.

Any agent
npx skills add emdash-cms/emdash --skill wordpress-plugin-to-emdash
Clone the repo
git clone --depth 1 https://github.com/emdash-cms/emdash

Made for: Claude Code, Codex.

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 wordpress-plugin-to-emdash

README.md
[![agentmods](https://agentmods.dev/badge/skills/emdash-cms/emdash/wordpress-plugin-to-emdash/github.svg)](https://agentmods.dev/skills/emdash-cms/emdash/wordpress-plugin-to-emdash)
Your own site
<a href="https://agentmods.dev/skills/emdash-cms/emdash/wordpress-plugin-to-emdash"><img src="https://agentmods.dev/badge/skills/emdash-cms/emdash/wordpress-plugin-to-emdash/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wordpress-plugin-to-emdash

Your own site · 80×15
<a href="https://agentmods.dev/skills/emdash-cms/emdash/wordpress-plugin-to-emdash"><img src="https://agentmods.dev/badge/skills/emdash-cms/emdash/wordpress-plugin-to-emdash.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 33
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.1 $0.00073 $0.01294
Opus 5.5 $0.00029 $0.00518
Sonnet 5.5 $0.00015 $0.00259
Haiku 4.5 $0.00007 $0.00129

Measured 2mo ago against content hash f80be0da5c99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wordpress-plugin-to-emdash 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 2mo 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.

skills/wordpress-plugin-to-emdash/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Port a WordPress plugin to EmDash

Preserve the plugin's user-visible behavior and data model without translating PHP line by line. WordPress and EmDash divide responsibilities differently, so first decide whether each feature belongs in site schema, Astro code, a sandboxed plugin, or a trusted native plugin.

Load creating-plugins before implementing plugin code. Load building-emdash-site when the port changes collections, seeds, queries, or frontend templates. Those skills define the current APIs; this skill covers migration decisions.

Understand the source

Inspect the plugin source, installation behavior, database changes, hooks, REST endpoints, scheduled work, admin screens, shortcodes or blocks, frontend output, permissions, and external services. Identify behavior that users rely on separately from WordPress-specific implementation.

Record:

  • required content and configuration data;
  • actions that mutate or publish data;
  • authorization and trust boundaries;
  • background or retry behavior;
  • frontend and administrator interactions;
  • import, migration, and rollback needs;
  • license obligations for copied assets or code.

If the source, expected behavior, or target EmDash environment is missing, report the gap instead of inventing an equivalent.

Assign each responsibility

WordPress responsibility EmDash destination
Custom post type, taxonomy, or metadata Collection, taxonomy, and fields created through the site schema or seed
Site-wide presentation setting Site setting read by Astro templates
Plugin-owned user settings ctx.settings; declare credentials as encrypted secret fields
Plugin-owned cursors, caches, or internal state Plugin-scoped ctx.kv
Plugin-owned queryable records Declared ctx.storage.<collection> storage
Content discovery, translation, or publication Capability-gated ctx.content and ctx.schema; policy hooks and actions have separate authority
Runtime taxonomy or redirect management ctx.taxonomies or ctx.redirects with narrow read/write capability
Comment administration ctx.comments; reads expose personal data and moderation uses expected status
WordPress REST endpoint Declared plugin route with explicit methods, inputs, headers, and response mode
Scheduled event cron hook and ctx.cron scheduling
Admin page or form Block Kit for sandboxed plugins; React only for a trusted native plugin
Post editor metabox or saved-entry action admin.editorPanels or admin.editorActions on private routes
User or author lookup ctx.users with users:read
Outbound HTTP request ctx.http.fetch() with network:request and an allowedHosts entry
Media operation Separate metadata, byte-read, metadata-write, and upload/delete authorities
WP_Query or template tag EmDash content API in Astro site code
Shortcode or editor block Existing Portable Text content where possible; a custom Portable Text block requires a trusted native plugin
Raw head markup or scripts Trusted native page:fragments; registry-installed plugins can contribute validated page:metadata only

Read the full file on GitHub · 97 lines

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. 2mo ago Changed · +6 lines f80be0da5c99
  2. 2mo ago Changed · -207 lines · +21 tokens per session e8dc784a1f12
  3. 3mo ago First seen · 298 lines · 52 tokens per session scan A 7fd2a9bd9952

Subscribe to this mod's changes

wordpress-plugin-to-emdash is a skill published in the GitHub repository emdash-cms/emdash (14,661 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,294 once invoked, about $0.0003 per session on Opus 5.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.

Related

wordpress-plugin-to-emdash compared with skills from other repositories

wordpress-plugin-to-emdash next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wordpress-plugin-to-emdashemdash-cms/emdashSkill15ktodayMITA73Claude Code, Codex
emdash-cliEngDawood/emdash-claude-pluginSkill41mo agononeA52Claude Code
creating-pluginsEngDawood/emdash-claude-pluginSkill41mo agononeA50Claude Code
building-emdash-siteEngDawood/emdash-claude-pluginSkill41mo agononeA66Claude Code
emdash-github-actionsEngDawood/emdash-claude-pluginSkill41mo agononeA234Claude Code
wordpress-plugin-to-emdashEngDawood/emdash-claude-pluginSkill41mo agononeA73Claude Code
adversarial-reviewerEngDawood/emdash-claude-pluginSkill41mo agononeA72Claude Code