mdcms-studio-embed

mdcms-studio-embed is a skill for Claude Code, Codex from mdcms-ai/mdcms. It costs 133 tokens per session (2,980 once invoked), scanned A, original, MIT.

A workflow for placing the MDCMS Studio editing interface inside a React application, such as a Next.js site. Editors can use the content-management interface under a route in the host app, such as /admin.

In plain words
What is it for?
Use it to add an embedded Studio route to a React, Next.js, or Remix application and connect it to an MDCMS server.
Why use it?
It avoids making editors switch to a separate site and explains the app route, package setup, and server access configuration needed for embedding.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import config from "../../../mdcms.config";.

Good fit Use it to add an embedded Studio route to a React, Next.js, or Remix application and connect it to an MDCMS server.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/mdcms-ai/mdcms
agentmods
npx agentmods add skills/mdcms-ai/mdcms/mdcms-studio-embed

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 mdcms-studio-embed

README.md
[![agentmods](https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-studio-embed/github.svg)](https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-studio-embed)
Your own site
<a href="https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-studio-embed"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-studio-embed/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 mdcms-studio-embed

Your own site · 80×15
<a href="https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-studio-embed"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-studio-embed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,980 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 pass 7 Sept 2026
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.00133 $0.02980
Opus 5.5 $0.00053 $0.01192
Sonnet 5.5 $0.00027 $0.00596
Haiku 4.5 $0.00013 $0.00298

Measured 21d ago against content hash 35dcf5191021, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mdcms-studio-embed 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.

skills/mdcms-studio-embed/SKILL.md · 192 lines

How it starts

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

MDCMS Studio Embed

Mount the MDCMS Studio UI inside the user's own host app so editors work alongside product code. The code in this skill is the tested setup; use it as written.

When to use this skill

The user wants a Studio UI under their own domain (e.g. app.example.com/admin/...) instead of running Studio standalone. If they only need the API and use Studio at the server's own /admin/studio route, skip.

Prerequisites

  • A reachable MDCMS server and a working mdcms.config.ts (run mdcms-brownfield-init or mdcms-greenfield-init first).
  • A React app, ideally Next.js App Router. Other frameworks work but need their own server/client split (see "Assumptions and limitations").
  • A current @mdcms/studio: the code below imports @mdcms/studio/client-config. If that import does not resolve, update the package.

Rule: prepare the config on the server with prepareStudioConfig

Studio only allows edits when it receives the schema hash of the project's schema. prepareStudioConfig(config, { cwd }) from @mdcms/studio/runtime computes it on the server, where the full mdcms.config.ts (with its Zod schemas) is available. It also reads the props of each registered MDX component, so Studio can show a props form. toSerializableStudioConfig and createStudioClientConfig from @mdcms/studio/client-config carry both to the browser.

The schema hash is computed for the config's environment, which must be listed under environments in mdcms.config.ts (mdcms init writes environments: { production: {} } for you). Do not remove that entry.

Do not use createStudioEmbedConfig for an editing Studio, even if other docs or an older package README show it. It passes only project, environment and serverUrl, so Studio opens every document read-only with "Studio writes require a resolved schema for environment …".

Steps

1. Install the Studio package in the host app

Use the project's package manager (look for pnpm-lock.yaml, bun.lock, yarn.lock or package-lock.json):

Read the full file on GitHub · 192 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. 21d ago Changed · +29 lines · +15 tokens per session 35dcf5191021
  2. 22d ago Changed · +32 lines · +4 tokens per session 539ea49299e1
  3. 3mo ago First seen · 131 lines · 114 tokens per session scan A 6bdaa93380dd

Subscribe to this mod's changes

mdcms-studio-embed is a skill published in the GitHub repository mdcms-ai/mdcms (22 stars, last pushed 5d ago), licensed MIT. It adds 133 tokens to every session and 2,980 once invoked, about $0.0005 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

mdcms-studio-embed compared with skills from other repositories

mdcms-studio-embed next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdcms-studio-embedmdcms-ai/mdcmsSkill225d agoMITA133Claude Code, Codex
webiny-api-cms-content-modelswebiny/webiny-jsSkill8.1ktodaynoneA313Claude Code, Codex
webiny-api-architectwebiny/webiny-jsSkill8.1ktodaynoneA93Claude Code, Codex
webiny-admin-architectwebiny/webiny-jsSkill8.1ktodaynoneA77Claude Code, Codex
webiny-form-modelwebiny/webiny-jsSkill8.1ktodaynoneA93Claude Code, Codex
webiny-v5-to-v6-migrationwebiny/webiny-jsSkill8.1ktodaynoneA75Claude Code, Codex
webiny-cognito-federationwebiny/webiny-jsSkill8.1ktodaynoneA126Claude Code, Codex