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 agentmods add skills/mdcms-ai/mdcms/mdcms-greenfield-initnpx skills add mdcms-ai/mdcms --skill mdcms-greenfield-initgit clone --depth 1 https://github.com/mdcms-ai/mdcmsWrote 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-greenfield-init)<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="Measured on agentmods" height="20"></a>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 | $0.00126 | $0.01165 |
| Opus 5 | $0.00063 | $0.00583 |
| Sonnet 5 | $0.00025 | $0.00233 |
| Haiku 4.5 | $0.00013 | $0.00117 |
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 5d 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 — 101 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-setupif 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:
- Scaffolds
content/posts/as the managed directory. - Generates a
posttype withtitle: z.string()andslug: z.string().optional(). - Writes
mdcms.config.ts. - Syncs the schema to the server.
- Creates
content/posts/example.md(a placeholder with frontmatter and a short body). Skip this last step with--no-example-postif 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
npx mdcms push
init writes the file locally but does not import it. Running push uploads it so the user can immediately open Studio and see a real draft document.
3. Decide on the content model
At this point the repo has a minimal post type with two fields. Ask the user what their real content model looks like (blog posts with authors and tags? marketing pages? campaigns with localized variants?) and either:
- Start drafting directly in the scaffolded directory if the starter shape fits, or
- Delegate to
mdcms-schema-refineto add the real types, fields, and references.
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.
- 5d ago First seen · 101 lines · 126 tokens per session scan A bc103a4506a6
mdcms-greenfield-init is a skill published in the GitHub repository mdcms-ai/mdcms (22 stars, last pushed today), licensed MIT. It adds 126 tokens to every session and 1,165 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
building-emdash-site
Build and customize EmDash CMS sites on Astro. Use when creating pages, defining collections, writing seed files, querying content, rendering Portable Text, setting up menus/taxonomies/widgets, configuring deployment, or any task involving an EmDash-powered Astro site. Assumes basic Astro knowledge but provides all…
intlayer-content
Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".
intlayer-compiler
Intlayer Compiler setup and usage. Configures automatic content extraction for your components without the need to define .content files manually.
webiny-api-cms-content-models
Creating Headless CMS content models via code using the ModelFactory pattern. Use this skill when the developer wants to create, modify, or understand content model definitions, define fields and validators, set up reference fields between models, configure field layouts (including nested layouts inside object or…
webiny-form-model
Building forms with the FormModel system — field types, renderers, layout, validation, conditional rules, computed fields, and dynamic zones. Use this skill when the developer needs to define form fields with the builder API, choose renderers, build layouts with tabs/rows/separators, add validation (Zod or…
webiny-api-permissions
Schema-based permission system for API features. Use this skill when implementing authorization in use cases, defining permission schemas with createPermissionSchema, creating injectable permissions via createPermissionsAbstraction/createPermissionsFeature, checking read/write/delete/publish permissions, handling…