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-node-editing/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-node-editing)<a href="https://agentmods.dev/skills/jetbrains/mps/mps-node-editing"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-node-editing/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-node-editing"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-node-editing.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.00067 | $0.06304 |
| Opus 5.5 | $0.00027 | $0.02522 |
| Sonnet 5.5 | $0.00013 | $0.01261 |
| Haiku 4.5 | $0.00007 | $0.00630 |
Grade A, and why
mps-node-editing 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 — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MPS Node Editing
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.
The core workflow for mutating MPS nodes through MCP tools. JSON blueprints describe the node hierarchy you want; the tools resolve concepts, references, and used languages on insert.
Critical Directives
- Always use the fully qualified concept name in the
conceptfield — it is unambiguous and does not require aconceptReference. - Resolve before editing — call
mps_mcp_get_current_editor_root_node(for the user's focus) ormps_mcp_search_root_node_by_name(by name) to lock onto the target. Don't guess refs. - Prefer surgical edits —
mps_mcp_update_node(ADD/CHILDorSET/CHILD) preserves persistent IDs.mps_mcp_update_root_node_from_jsonrewrites the entire root and is wasteful when only one subtree changed. - Don't delete-and-reinsert to make a small change — deletion destroys persistent IDs and breaks incoming references.
- Cloning an existing node? Use
mps_mcp_alter_nodesCOPY_NODE, not a JSON blueprint. It clones the subtree natively — correct concept, properties, refs, nested structure — as the next sibling (multi-child role) or new root, then tweak withmps_mcp_update_node. Reserve JSON blueprints for nodes with no close match to copy from. - Choosing a replacement or filling a typed slot? Ask
mps_mcp_query_nodesGET_EXPECTED_TYPEon the node you are about to replace, then confirm a candidate withmps_mcp_query_typesIS_SUBTYPEbefore inserting. An empty slot has no answer, and the bound can depend on the node already there (byte b = 1,return 'c');nullmeans no usable upper/comparable bound, not “anything goes.” Seemps-mcp-workflow/references/analysis-tools/type-queries.mdfor details. - Validate frequently — call
mps_mcp_check_root_node_problemsimmediately after inserting or modifying a complex node."ok": truefrom insert does not mean the AST is semantically valid; readwarningsanddetails.uncheckedSubtrees, and open a problem'srules[].statementto see which rule reported it. - Generate deep blueprints, do not hand-nest them — if you write a blueprint as JSON rather than through
mps_mcp_parse_java_and_insert, and it holds a BaseLanguage body or nests more than ~5 node levels, generate it withscripts/blueprint.pyand pass the printed temp-file path. A hand-written one ends in a long run of]}pairs; one pair too few is rejected asINVALID_JSON … unbalanced, or, when it is missing mid-input, puts a later role under the wrong node. Plain Java still goes through the parser first (mps-baselanguage). - A blueprint is not the whole node — the concept's node factory runs first and may add properties, children, and references your JSON never mentions. Do not re-do its work by hand, and do not assume an inserted node contains exactly what you wrote. See "Node factories" below.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · +36 lines ed0955dfca65
- 11d ago Changed a7be39893cc3
- 29d ago Changed · +6 lines d62c5368fe6e
- 1mo ago Changed · +1 lines 8e35c23b6562
- 1mo ago Changed · +113 lines 71a4dddac404
- 2mo ago First seen · 82 lines · 67 tokens per session scan A aa7fad571ec8
mps-node-editing is a skill published in the GitHub repository JetBrains/MPS (1,666 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 6,304 once invoked, about $0.0003 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-node-editing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mps-node-editingJetBrains/MPS | Skill | 1.7k | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| langiumeclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 33 | Claude Code |
| lai-gen-evalseclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 42 | Claude Code |
| laieclipse-langium/langium-ai | Skill | 31 | 4d ago | MIT | A | 52 | 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 |