Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mdcms-ai/mdcmsnpx agentmods add skills/mdcms-ai/mdcms/mdcms-mdx-componentsWrote 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/mdcms-ai/mdcms/mdcms-mdx-components)<a href="https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-mdx-components"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-mdx-components/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/mdcms-ai/mdcms/mdcms-mdx-components"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-mdx-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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 MCP Rug Pull · line 96 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00150 | $0.02473 |
| Opus 5.5 | $0.00060 | $0.00989 |
| Sonnet 5.5 | $0.00030 | $0.00495 |
| Haiku 4.5 | $0.00015 | $0.00247 |
Grade A, and why
mdcms-mdx-components 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 21d 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 — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MDCMS MDX Components
Register custom React components so they work in all three places that read MDCMS content:
- Document bodies (
<Callout title="…">…</Callout>in the stored MDX), - The Studio editor (insert from the toolbar or
/menu, live preview, props form), - The host app's server render through
@mdcms/sdk/react.
The code in this skill is complete and matches the shipped @mdcms/* types; use it as written.
When to use this skill
The user has, or wants, content that uses custom components (<Callout>, <Cta>, <Chart>, <Video>) and wants them to work end to end. Also use when a component renders in one place but not another (for example the site renders it but Studio shows a placeholder).
Not for schema changes (mdcms-schema-refine) or plain Markdown (no registration needed).
Prerequisites
mdcms.config.tsexists (runmdcms-brownfield-initormdcms-greenfield-initfirst).- Each component is a React component in the host app's source tree.
- For Studio: the
/adminroute frommdcms-studio-embed. For the site: the renderer frommdcms-sdk-integration.
How components flow
A component is registered once, in mdcms.config.ts, with these fields (the full contract; there are no others):
| Field | Required | Purpose |
|---|---|---|
name |
yes | JSX tag used in content (<Callout> needs name: "Callout"). Case-sensitive. |
importPath |
yes | Path to the component source, relative to the project root. Studio reads the file's TypeScript props from it. |
load |
no | () => Promise<…> that loads the component. Used by the SDK renderer and by Studio previews. |
description |
no | Shown next to the component in Studio's insert menu. |
propHints |
no | Per-prop form hints, for example { href: { format: "url" } }, { color: { widget: "color-picker" } }. |
propsEditor |
no | Path to a custom props editor component (instead of the generated form). |
loadPropsEditor |
no | () => Promise<…> that loads the custom props editor in Studio. |
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.
- 21d ago Changed · +53 lines d1cd703b7594
- 3mo ago First seen · 134 lines · 150 tokens per session scan A 0948b95c1c3f
mdcms-mdx-components is a skill published in the GitHub repository mdcms-ai/mdcms (22 stars, last pushed 5d ago), licensed MIT. It adds 150 tokens to every session and 2,473 once invoked, about $0.0006 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.
mdcms-mdx-components compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mdcms-mdx-componentsmdcms-ai/mdcms | Skill | 22 | 5d ago | MIT | A | 150 | Claude Code, Codex |
| 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-admin-architectwebiny/webiny-js | Skill | 8.1k | today | none | A | 77 | 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 |
| webiny-cognito-federationwebiny/webiny-js | Skill | 8.1k | today | none | A | 126 | Claude Code, Codex |