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.
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 skills add emdash-cms/emdash --skill creating-pluginsgit clone --depth 1 https://github.com/emdash-cms/emdashWrote 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.
[](https://agentmods.dev/skills/emdash-cms/emdash/creating-plugins)<a href="https://agentmods.dev/skills/emdash-cms/emdash/creating-plugins"><img src="https://agentmods.dev/badge/skills/emdash-cms/emdash/creating-plugins/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.
<a href="https://agentmods.dev/skills/emdash-cms/emdash/creating-plugins"><img src="https://agentmods.dev/badge/skills/emdash-cms/emdash/creating-plugins.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
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 →
- medium Data Exfiltration · line 167 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 167 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01982 |
| Opus 5.5 | $0.00020 | $0.00793 |
| Sonnet 5.5 | $0.00010 | $0.00396 |
| Haiku 4.5 | $0.00005 | $0.00198 |
Grade A, and why
creating-plugins 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 1mo 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 — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Creating EmDash plugins
Build against the API that reaches the intended execution mode. Source types and production-boundary tests take precedence over examples in this skill when they disagree.
Choose a format
| Format | Runtime source | Admin UI | Distribution |
|---|---|---|---|
| Sandboxed | src/plugin.ts default-exports a SandboxedPlugin |
Block Kit pages, widgets, saved-entry panels, and actions | Plugin CLI and registry |
| Native | definePlugin() / createPlugin() |
React, Block Kit, and Astro components | Trusted site dependency only |
Use a sandboxed plugin unless the feature needs host-process access, React admin code, Astro rendering components, raw page fragments, or custom Portable Text block definitions. Native plugins run with the site's authority and cannot be installed from the registry.
Scaffold a sandboxed plugin
pnpm dlx @emdash-cms/plugin-cli init my-plugin
cd my-plugin
pnpm install
pnpm run test
The manifest is the identity and trust contract. Runtime hooks and routes live in src/plugin.ts; the CLI generates descriptors, manifests, and bundles. Do not create a separate descriptor factory or sandbox-entry.ts.
import type { SandboxedPlugin } from "emdash/plugin";
const plugin: SandboxedPlugin = {
hooks: {
"content:afterSave": async (event, ctx) => {
ctx.log.info("Content saved", { id: event.content.id });
},
},
};
export default plugin;
Import authoring types from emdash/plugin with import type. The CLI bundles value imports such as pluginRoute() and pluginResponse() from emdash/plugin and portableTextToMarkdown() from emdash/client. Sandboxed runtime code can use Web APIs but not Node.js built-ins.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/admin-ui.md 13 KB
- references/api-routes.md 12 KB
- references/block-kit.md 20 KB
- references/comments.md 1.2 KB
- references/content.md 3.4 KB
- references/hooks.md 24 KB
- references/media.md 1.6 KB
- references/portable-text-blocks.md 6.9 KB
- references/publishing.md 5.7 KB
- references/sandbox-boundaries.md 3.6 KB
- references/storage.md 9.2 KB
- references/taxonomies-and-redirects.md 1.5 KB
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.
- 1mo ago Changed 34a81edbe269
- 2mo ago Changed · +1 lines 66fda54d0060
- 2mo ago Changed · +2 lines 77e77df0e48f
- 2mo ago Changed · -116 lines · +3 tokens per session 22fbb2bf3b61
- 2mo ago Changed · +26 lines 8a184db9058c
- 2mo ago Changed · -278 lines · -15 tokens per session scan B → A 053aba212229
- 2mo ago Changed · +4 lines 2b8431e42d5d
- 2mo ago Changed · +4 lines c15535245716
- 2mo ago Changed · +33 lines 00c03c582757
- 3mo ago First seen · 460 lines · 62 tokens per session scan B 140f98dd25a7
creating-plugins is a skill published in the GitHub repository emdash-cms/emdash (14,661 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 1,982 once invoked, about $0.0002 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.
creating-plugins compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| creating-pluginsemdash-cms/emdash | Skill | 15k | today | MIT | A | 50 | Claude Code, Codex |
| emdash-cliEngDawood/emdash-claude-plugin | Skill | 4 | 1mo ago | none | A | 52 | Claude Code |
| wordpress-theme-to-emdashEngDawood/emdash-claude-plugin | Skill | 4 | 1mo ago | none | A | 72 | Claude Code |
| webiny-api-cms-content-modelswebiny/webiny-js | Skill | 8.1k | today | none | A | 313 | Claude Code, Codex |
| webiny-api-architectwebiny/webiny-js | Skill | 8.1k | today | none | A | 93 | Claude Code, Codex |
| webiny-form-modelwebiny/webiny-js | Skill | 8.1k | today | none | A | 93 | Claude Code, Codex |
| webiny-v5-to-v6-migrationwebiny/webiny-js | Skill | 8.1k | today | none | A | 75 | Claude Code, Codex |