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-brownfield-initnpx skills add mdcms-ai/mdcms --skill mdcms-brownfield-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-brownfield-init)<a href="https://agentmods.dev/skills/mdcms-ai/mdcms/mdcms-brownfield-init"><img src="https://agentmods.dev/badge/skills/mdcms-ai/mdcms/mdcms-brownfield-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.00116 | $0.01824 |
| Opus 5 | $0.00058 | $0.00912 |
| Sonnet 5 | $0.00023 | $0.00365 |
| Haiku 4.5 | $0.00012 | $0.00182 |
Grade A, and why
mdcms-brownfield-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 4d 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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MDCMS Brownfield Init
Onboard an existing repository whose content already lives as .md/.mdx files on disk. mdcms init is the one-shot command that creates mdcms.config.ts, infers a schema from the existing files, syncs that schema to the server, and imports the files as draft documents.
When to use this skill
The user has:
- an MDCMS backend reachable (if not, run
mdcms-self-host-setupfirst), and - a repo with Markdown/MDX content they want MDCMS to manage.
Do not use this skill for empty repos — use mdcms-greenfield-init instead.
Prerequisites
- Server URL (e.g.
http://localhost:4000). - An MDCMS API key with permission to create projects/environments and sync schema. Create one via Studio → Settings → API Keys, or use the demo key from
docker-compose.dev.ymlfor local development. - A project slug and environment name (defaults to
productionif omitted). - Node.js / npm — the CLI is
npx mdcms(orbun x mdcms).
Steps
1. Discover the content directories
find . -type f \( -name '*.md' -o -name '*.mdx' \) \
-not -path '*/node_modules/*' -not -path '*/.*' \
| awk -F/ '{print $2"/"$3}' | sort -u
List the top two directory levels (for example content/posts, docs/blog). Confirm with the user which of these MDCMS should manage. Those become --directory values in step 3.
2. Prepare the non-interactive flags
Collect these inputs up front. If any are missing and the user wants headless, stop and ask:
| Flag | Value |
|---|---|
--server-url |
MDCMS API base URL |
--project |
slug to create on the server (e.g. my-site) |
--environment |
environment name (default production) |
--api-key |
token with project create + schema sync scopes |
--directory |
one per managed directory, repeatable |
Alternatively, set the corresponding env vars (MDCMS_SERVER_URL, MDCMS_PROJECT, MDCMS_ENVIRONMENT, MDCMS_API_KEY) and omit the flags.
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.
- 4d ago First seen · 129 lines · 116 tokens per session scan A e231465dd6c5
mdcms-brownfield-init is a skill published in the GitHub repository mdcms-ai/mdcms (22 stars, last pushed 6d ago), licensed MIT. It adds 116 tokens to every session and 1,824 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
migrate-internal-package
Move a package from another TryGhost repository into Ghost as an internal-only workspace package while preserving its Git history. Use for package migrations from repositories such as TryGhost/SDK or TryGhost/framework, including the history import PR, exceptional merge-commit handoff, source-repository removal PR…
Shade tokens, not hex
Use Shade semantic tokens (bg-background, text-foreground, border-border-default, bg-surface-elevated) — never hex, hsl(), or bg-gray-200-style raw palette utilities for UI chrome. Trigger when editing TSX/CSS in Shade-consuming apps.
Shade dropdown surface contract
DropdownMenu, Select, and Popover share one visual recipe (bg-surface-elevated-2 + border-border/60 dark:border-border/30 + shadow-md). Change them together. Trigger when editing any of those three Shade files.
Shade new component
Acceptance checklist for adding or editing a Shade component or pattern file — naming, sibling story, className forwarding, cva variants, required states, recipe usage. Trigger when editing files in apps/shade/src/components.
Shade use primitives
Replace bare divs that only carry flex/grid/gap utilities with Shade primitives (Stack, Inline, Box, Grid, Container, Text). Use semantic gap="md" instead of gap-4. Trigger when editing TSX in Shade-consuming apps.
ui4
Manually invoked skill for reskinning Payload UI components. Requires Figma URL. Usage: /ui4.