JetBrains MPS is a development environment for creating domain-specific languages, which are programming languages designed for a particular field or task. It provides editors with features such as completion, semantic checks, and type checking, and can generate code in languages including Java and XML.
Borrowing it
Nothing to install: this file belongs to JetBrains/MPS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/JetBrains/MPS/master/.agents/skills/mps-dsl-memory/SKILL.mdgit clone --depth 1 https://github.com/JetBrains/MPSWrote 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/jetbrains/mps/mps-dsl-memory)<a href="https://agentmods.dev/skills/jetbrains/mps/mps-dsl-memory"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-dsl-memory/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/jetbrains/mps/mps-dsl-memory"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-dsl-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00049 | $0.01863 |
| Opus 5.5 | $0.00020 | $0.00745 |
| Sonnet 5.5 | $0.00010 | $0.00373 |
| Haiku 4.5 | $0.00005 | $0.00186 |
Grade A, and why
mps-dsl-memory 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 8d 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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loading companion skills
Companion names in this skill are lazy dependencies: load only those relevant to the current task. If this skill came from an MCP server, use the host's skill loader to resolve the companion's unique discovered entry URI on the same host-assigned originating server. If the host has no server-backed skill loader, stop and report that limitation; do not silently fall back to a filesystem copy. If this skill came from a filesystem catalog, load the named sibling from that same catalog at <skills-root>/<skill-name>/SKILL.md, even if remote skill loaders are also available. Do not invent a tool name or server endpoint.
When to Use
- A new MPS sample or DSL project has no generated DSL skill under
.agents/skills/<dsl-name>-dsl/, or the existing one is outdated. - The user says "bootstrap DSL skill", "generate DSL skill", or "document this DSL".
- You have just explored a DSL and want to persist your findings for future sessions as a project-local skill.
Prerequisites
- MPS MCP tools are available.
- The project has one or more language modules and at least one sandbox, example solution, or editable model that exercises the DSLs.
- Use MPS MCP tools for discovery and model edits. Do not hand-edit serialized
.mpsXML.
Workflow
- Discover languages: Call
mps_mcp_get_project_structurewithincludeModels: false. Identify all editable DSL language modules and derive each concept-tools language ref asl:<uuid>:<languageName>. - Choose skill scope: Prefer one generated skill per language. Use one combined skill only when the project languages are tightly coupled and users normally edit them together.
- Find examples: For each language or language group, call
mps_mcp_get_project_structurewith the relevant sandbox/example solution asstartingPointandincludeRootNodes: true. Record editable model refs and representative root refs. - Read concepts: Call
mps_mcp_get_concept_detailswith the relevantl:<uuid>:<languageName>refs. Capture rootable concepts, concrete children, properties, child roles, references, and usefulshortDescriptiontext. - Sample sparingly: Use
mps_mcp_print_nodeonly on representative roots or subtrees needed for reference targets, required roles, or reusable blueprints, and derive blueprints from that output rather than writing them by hand. Avoid dumping every root. - Generate DSL skills: Create or update
.agents/skills/<dsl-name>-dsl/for each selected scope. Preserve user-added notes unless they are stale or wrong. In every generated file, write the temp directory as$TMPDIR(%TEMP%on Windows), never as the resolved directory (/private/var/folders/…/T,C:\Users\…\Temp), which differs per machine. - Cross-link related skills: When generated skills cover languages that extend, depend on, or are commonly used inside each other, add short links and usage notes between them.
- Verify: Confirm linked reference files exist, no
.DS_Storeor editor artifacts were added, and one or two recorded node refs still resolve if the sandbox may have changed. Dry-run every blueprint underreferences/blueprints/:mps_mcp_insert_root_node_from_jsonwithdryRun: trueinto a sandbox model for a root blueprint,mps_mcp_update_nodeADD CHILD withdryRun: trueunder a sample parent for a fragment. The server reads ajson/childJsonfile only from the system temp directory, so a path under.agents/skills/is rejected with "is not inside the system temp directory"; that rejection is not a blueprint failure. Send each file's exact content inline (up to 4,096 characters), or copy the files first and pass each copy's absolute path:d="${TMPDIR:-/tmp}/<dsl-name>-blueprints"; mkdir -p "$d"; cp .agents/skills/<dsl-name>-dsl/references/blueprints/*.json "$d/". When a dry run fails, fix the shipped file, not only the inline text or the temp copy, and dry-run again from the fixed file. Parsing as JSON is not enough, because the server rejects blueprints that parse. A dry run against a language that is not built is refused withLANGUAGE_NOT_BUILT; itsdetails.languageBuild.recoveryis the MAKE call to run, then repeat the dry run. A MAKE writes only generated output (source_gen/classes_gen), changes no model, and is allowed in a read-only task. If every blueprint is rejected withUnknown property …or withLANGUAGE_NOT_BUILT, the language descriptor is hollow: MAKE the language and retry. Warnings for references given by name are expected; see "Dry-run response" inreferences/reference-formats/response-envelope.mdin themps-mcp-workflowskill root after loading that companion skill from the same origin.
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.
- 8d ago Changed 13f09ecb9d4a
- 1mo ago Changed 734b5fbd651d
- 1mo ago Changed · +4 lines ccda58f2f804
- 2mo ago First seen · 76 lines · 49 tokens per session scan A c128faa20b8e
mps-dsl-memory is a skill published in the GitHub repository JetBrains/MPS (1,666 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 1,863 once invoked, about $0.0002 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.
mps-dsl-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mps-dsl-memoryJetBrains/MPS | Skill | 1.7k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| langiumeclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 33 | Claude Code |
| lai-gen-descriptoreclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 49 | Claude Code |
| lai-gen-mcpeclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 43 | Claude Code |
| lai-gen-language-skilleclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 33 | Claude Code |
| triton-syntaxmindspore-ai/akg | Skill | 265 | 2d ago | Apache-2.0 | A | 21 | Claude Code, Codex |
| triton-ascendmindspore-ai/akg | Skill | 265 | 2d ago | Apache-2.0 | A | 28 | Claude Code, Codex |