Agent skill · Audited from source
Creating Plugins
skill · emdash-cms/emdashMIT licenceAudited 7 Oct 2026 · source 2e1ca292efe5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 2e1ca292efe5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 6 findings, 0 critical or high. What it does: Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP tools, and declarative admin UI, or native React and Astro extensions. Use when scaffolding or implementing an EmDash plugin.
Cite
Cite this page
ModelsAtlas. “Creating Plugins (emdash-cms/emdash)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/emdash-cms/creating-plugins
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 5 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | WARN | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (6)
MEDIUMInventory / provenanceinv.symlink · .agents/skills
.agents/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · templates/blank/.claude/skills
templates/blank/.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · templates/blog-cloudflare/.claude/skills
templates/blog-cloudflare/.claude/skills
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · .claude/CLAUDE.md
.claude/CLAUDE.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 2e1ca292efe5 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisheremdash-cms GitHub organizationOwner of the repository this skill is read from
- Source folderemdash-cms/emdash/skills/creating-pluginsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict2e1ca292efe5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP tools, and declarative admin UI, or native React and Astro extensions. Use when scaffolding or implementing an EmDash plugin.
---
name: creating-plugins
description: Create EmDash CMS plugins with sandboxed hooks, routes, storage, content and media APIs, MCP tools, and declarative admin UI, or native React and Astro extensions. Use when scaffolding or implementing an EmDash plugin.
---
# 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
```sh
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`.
```typescript title="src/plugin.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`. Value imports are limited to lightweight helpers such as `pluginRoute()` and `pluginResponse()`, which the CLI bundles. Sandboxed runtime code can use Web APIs but not Node.js built-ins.
## Declare access
Declare every host API in `emdash-plugin.jsonc`. Adding authority, exposing a route publicly, or adding MCP tools requires renewed administrator approval.
| Capability | Grants |
| -------------------------------- | -------------------------------------------------------------------------- |
| `schema:read` | Public collection and field definitions |
| `admin.editor-draft:read` | Selected unsaved field values after an explicit editor interaction |
| `admin.editor-draft:patch` | Host-validated unsaved field changes proposed for editor review |
| `content:read` | Content identity, translations, and published public URLs |
| `content:revisions:read` | Retained revision data; implies content read |
| `content:write` | Create, update, delete, and translation creation; implies read |
| `content:publish` | Revision-fenced publish, unpublish, schedule, and unschedule; implies read |
| `content:restore` | Revision-fenced reads and restoration of trashed content |
| `hooks.content-policy:register` | Pre-publish, pre-schedule, and pre-unpublish policy hooks |
| `taxonomies:read` | Taxonomy definitions, terms, and entry assignments |
| `taxonomies:write` | Term creation and assignment deltas; implies read |
| `bylines:read` | Public byline profiles and single or batched entry credits |
| `redirects:read` | Versioned redirect inspection |
| `redirects:write` | Versioned redirect creation, update, and deletion; implies read |
| `comments:read` | Stored non-trashed comments and their personal data |
| `comments:moderate` | Expected-status moderation; implies read |
| `media:read` | Ready-media metadata and authenticated asset URLs |
| `media:bytes:read` | Bounded media bytes and content hashes |
| `media:metadata:write` | Alt text, caption, and focal-point updates |
| `media:write` | Upload and delete; implies media read |
| `network:request` | `ctx.http.fetch()` restricted to `allowedHosts` |
| `network:request:unrestricted` | `ctx.http.fetch()` without a host list |
| `users:read` | User directory lookup; also required by comment hooks |
| `email:send` | Email delivery when a transport is configured |
| `hooks.email-transport:register` | Exclusive `email:deliver` hook |
| `hooks.email-events:register` | Email before/after hooks |
| `hooks.page-fragments:register` | Trusted-only page fragments; excluded from sandbox registration |
Settings, KV, declared storage, logging, and cron scheduling are plugin-scoped and need no capability. Use `ctx.settings` for user configuration, `ctx.kv` for internal key-value state, and declared `ctx.storage.<collection>` for queryable recorExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 2e1ca29
git clone https://github.com/emdash-cms/emdash git -C emdash checkout 2e1ca292efe5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 2e1ca292efe5 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
2e1ca292efe5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/emdash-cms/creating-plugins/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →emdash-cms/emdash
Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart. Do not use for…
emdash-cms/emdash
Use the agent-browser CLI to exercise web interfaces, inspect rendered accessibility state, verify interactions, and capture screenshots. Use for browser-based UI testing and evidence collection. Do not use as a…
emdash-cms/emdash
Build the site-facing parts of an EmDash CMS project on Astro, including schema and seeds, content queries, Portable Text rendering, menus, taxonomies, widgets, and deployment configuration. Use for EmDash site and…
emdash-cms/emdash
Use the EmDash CLI to inspect and manage an EmDash instance from the command line, including content, schema, media, taxonomies, menus, search, authentication, seeds, migrations, generated types, and whole-site export…
emdash-cms/emdash
Review one pull request for real bugs, regressions, and convention violations. Enumerate candidate issues across the whole diff, verify each against the code, then return structured line-anchored findings and a verdict.…
emdash-cms/emdash
Analyze and port WordPress plugin behavior, custom post types, shortcodes, admin workflows, and stored data to current EmDash extension points. Use for WordPress-plugin migrations or when deciding which behavior belongs…
Add this badge to your README
[](https://modelsatlas.com/skills/emdash-cms/creating-plugins/)
<a href="https://modelsatlas.com/skills/emdash-cms/creating-plugins/"><img src="https://modelsatlas.com/skills/emdash-cms/creating-plugins/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Creating Plugins
What does the Creating Plugins skill do?
Is Creating Plugins safe to install?
What can Creating Plugins access on my machine?
Which assistants does Creating Plugins work with?
How current is this page?
Sources
- github.com/emdash-cms/emdash/tree/main/skills/creating-plugins — the audited source at commit 2e1ca292efe5 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Creating Plugins skill do?
- Is Creating Plugins safe to install?
- What can Creating Plugins access on my machine?