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 skills add MobileReality/mdma --skill mdma-integrationgit clone --depth 1 https://github.com/MobileReality/mdmaWrote 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/mobilereality/mdma/mdma-integration)<a href="https://agentmods.dev/skills/mobilereality/mdma/mdma-integration"><img src="https://agentmods.dev/badge/skills/mobilereality/mdma/mdma-integration/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/mobilereality/mdma/mdma-integration"><img src="https://agentmods.dev/badge/skills/mobilereality/mdma/mdma-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 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 82 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 97 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.00111 | $0.03022 |
| Opus 5.5 | $0.00044 | $0.01209 |
| Sonnet 5.5 | $0.00022 | $0.00604 |
| Haiku 4.5 | $0.00011 | $0.00302 |
Grade A, and why
mdma-integration 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 3mo 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
This skill guides integration of MDMA (Markdown Document with Mounted Applications) into real applications. MDMA is published as a set of composable npm packages under the @mobile-reality org — mdma-spec, mdma-parser, mdma-runtime, mdma-renderer-react, mdma-attachables-core, mdma-prompt-pack, mdma-validator, mdma-cli, mdma-mcp. A good integration picks the narrowest set of packages for the task, follows the parse → store → render contract, and uses the authoring and validation tooling rather than rolling its own. The goal is to make it obvious to a developer — or an agent — how to plug MDMA into their stack with minimum ceremony and maximum correctness.
The user provides an integration task: "add MDMA to this React chat app", "stream MDMA from the LLM and re-render as chunks arrive", "write a domain prompt for a clinical intake", "validate our MDMA docs in CI", "register a custom chart renderer", "expose MDMA to our agent via MCP", or "migrate our form rendering to MDMA". They may specify framework (React is first-class), LLM provider, validation rules, or PII constraints.
Integration Thinking
Before editing code, establish what "integrate MDMA" actually means for this request:
- Shape of the integration: One of — static document rendering (ship pre-written MDMA, parse+render once), LLM-streamed chat (assistant streams MDMA, reparse as chunks arrive, preserve store state across reparses), CI validation (lint
*.mdfiles against the spec), custom prompt authoring (build a domain-specificcustomPromptthat feedsbuildSystemPrompt), MCP exposure (let an agent callget-spec/build-system-prompt/validate-prompt), or custom component (register a Zod schema + renderer for a non-builtin type). Each has a different package footprint. - Package footprint: Install only what the integration needs. A chat app needs
mdma-parser+mdma-runtime+mdma-renderer-react+mdma-prompt-pack. A CI validator needs onlymdma-validator. An agent harness may need onlymdma-mcp. Don't install the full matrix "just in case" — the dependency graph is structured so you never have to. - Constraints: Which components are in scope? Which fields must be
sensitive? Which environment policies apply (allow/deny actions, redaction mode)? Which LLM provider is streaming? Does the host app already own state management, or willcreateDocumentStorebe the source of truth for document state? - Where prompts live: A domain prompt is a maintained artifact, not a one-off string. Decide where it lives (a
prompts/directory, exported from a package, generated via the CLI prompt builder) and how it's versioned, before writing it.
CRITICAL: Integrate with the smallest valid surface area. Prefer the provided MdmaDocument + createDocumentStore pairing over hand-rolled rendering. Prefer buildSystemPrompt({ customPrompt }) over concatenating strings yourself. Prefer the validator package over ad-hoc regex. The packages encode invariants (binding graph, PII redaction, audit log, policy) that are painful to re-derive.
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.
- 3mo ago First seen · 168 lines · 111 tokens per session scan A aea8e3e87781
mdma-integration is a skill published in the GitHub repository MobileReality/mdma (77 stars, last pushed 11d ago), licensed MIT. It adds 111 tokens to every session and 3,022 once invoked, about $0.0004 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.
mdma-integration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mdma-integrationMobileReality/mdma | Skill | 77 | 11d ago | MIT | A | 111 | Claude Code, Codex |
| frontend-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 41 | Claude Code, Codex |
| react-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 49 | Claude Code, Kiro |
| react-testingaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 59 | Claude Code, Kiro |
| reskinCopilotKit/CopilotKit | Skill | 39k | yesterday | MIT | A | 154 | Claude Code |
| copilotkit-channelsCopilotKit/CopilotKit | Skill | 39k | yesterday | MIT | A | 112 | Claude Code |
| setup-slack-channelCopilotKit/CopilotKit | Skill | 39k | yesterday | MIT | A | 206 | Claude Code |