mdcms-greenfield-init

mdcms-greenfield-init is a skill for Claude Code, Codex from mdcms-ai/mdcms. It costs 126 tokens per session (1,338 once invoked), scanned A, original, MIT.

A setup workflow for starting a new MDCMS project with no existing Markdown or MDX content. It creates a starter content structure, configuration file, content type, example post, and server schema.

In plain words
What is it for?
Use it to initialize a fresh project, configure its server, project, and environment, create a basic post type, and optionally upload an example post.
Why use it?
It gives an empty repository the files and server configuration needed to begin managing content with MDCMS.

Skill for Claude CodeCodex

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

Good fit Use it to initialize a fresh project, configure its server, project, and environment, create a basic post type, and optionally upload an example post.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mdcms-ai/mdcms/mdcms-greenfield-init
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 mdcms-ai/mdcms --skill mdcms-greenfield-init
Clone the repo
git clone --depth 1 https://github.com/mdcms-ai/mdcms

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-greenfield-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-greenfield-init"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-greenfield-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,338 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: 4 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 MCP Rug Pull · line 19
    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]
  • medium MCP Rug Pull · line 26
    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]
  • medium MCP Rug Pull · line 46
    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]
  • medium MCP Rug Pull · line 63
    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]
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.00126 $0.01338
Opus 5.5 $0.00050 $0.00535
Sonnet 5.5 $0.00025 $0.00268
Haiku 4.5 $0.00013 $0.00134

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

Security

Grade A, and why

mdcms-greenfield-init 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 23d 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-greenfield-init/SKILL.md · 111 lines

How it starts

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

MDCMS Greenfield Init

Bootstrap MDCMS in a repo that has no content yet. mdcms init scaffolds a minimal starter (one content type, one example post, a valid mdcms.config.ts) and syncs the schema. A follow-up mdcms push uploads the example.

When to use this skill

The user wants MDCMS for a new project and has no existing Markdown/MDX files to import. If the repo already has content, use mdcms-brownfield-init instead.

Prerequisites

  • Server URL (self-host with mdcms-self-host-setup if needed).
  • MDCMS API key with project + schema permissions.
  • Project slug and environment name.
  • Node.js / npm for npx mdcms.

Steps

1. Run init

npx mdcms init --non-interactive \
  --server-url "$MDCMS_SERVER_URL" \
  --project "$MDCMS_PROJECT" \
  --environment "$MDCMS_ENVIRONMENT" \
  --api-key "$MDCMS_API_KEY"

With no content on disk, init:

  1. Scaffolds content/posts/ as the managed directory.
  2. Generates a post type with title: z.string() and slug: z.string().optional().
  3. Writes mdcms.config.ts.
  4. Syncs the schema to the server.
  5. Creates content/posts/example.md (a placeholder with frontmatter and a short body). Skip this last step with --no-example-post if the user does not want it.

If the user prefers a different starter directory, pass --directory <path> — the type is named after the last path segment.

2. Push the example to the server

init writes the file locally but does not import it, so push sees it as a new file. Check the plan first:

npx mdcms push --dry-run

The plan should list content/posts/example.md as the only new file. Then push it:

npx mdcms push --force

Without a terminal (as when an agent runs the command), push skips new files unless --force is passed. --force only skips the prompts that choose new and deleted files; it uploads every new file and applies every deletion in the plan, which is why the dry run comes first. In an interactive terminal, plain npx mdcms push asks which new files to upload instead.

Read the full file on GitHub · 111 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. 23d ago Changed · +10 lines d252e0db0d79
  2. 3mo ago First seen · 101 lines · 126 tokens per session scan A bc103a4506a6

Subscribe to this mod's changes

mdcms-greenfield-init is a skill published in the GitHub repository mdcms-ai/mdcms (22 stars, last pushed yesterday), licensed MIT. It adds 126 tokens to every session and 1,338 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-greenfield-init compared with skills from other repositories

mdcms-greenfield-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdcms-greenfield-initmdcms-ai/mdcmsSkill22yesterdayMITA126Claude Code, Codex
building-emdash-siteemdash-cms/emdashSkill15ktodayMITA66Claude Code, Codex
webiny-api-cms-content-modelswebiny/webiny-jsSkill8.1ktodaynoneA313Claude Code, Codex
webiny-form-modelwebiny/webiny-jsSkill8.1ktodaynoneA93Claude Code, Codex
webiny-api-permissionswebiny/webiny-jsSkill8.1ktodaynoneA78Claude Code, Codex
webiny-event-handler-patternwebiny/webiny-jsSkill8.1ktodaynoneA64Claude Code, Codex
creating-pluginsemdash-cms/emdashSkill15ktodayMITA50Claude Code, Codex