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-aspect-editor-menus-and-keymaps/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-aspect-editor-menus-and-keymaps)<a href="https://agentmods.dev/skills/jetbrains/mps/mps-aspect-editor-menus-and-keymaps"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-aspect-editor-menus-and-keymaps/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-aspect-editor-menus-and-keymaps"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-aspect-editor-menus-and-keymaps.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.00224 | $0.03272 |
| Opus 5 | $0.00112 | $0.01636 |
| Sonnet 5 | $0.00045 | $0.00654 |
| Haiku 4.5 | $0.00022 | $0.00327 |
Grade A, and why
mps-aspect-editor-menus-and-keymaps 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 11d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MPS Editor Aspect — Menus, Keymaps and Actions
This skill covers the non-layout parts of the MPS editor aspect: everything that controls user interaction (typing, keystrokes, completion, paste, context actions). Most concepts belong to jetbrains.mps.lang.editor.structure; paste wrappers / node factories / copy-paste handlers live in jetbrains.mps.lang.actions.structure. Roots typically live in <lang>/languageModels/editor.mps or actions.mps.
Where these roots go. Menus / keymaps / action maps live in the same editor aspect model as the layout cell models — there is no separate aspect ID. Paste wrappers, copy-paste handlers and node factories live in the actions aspect model. Both aspect IDs (editor, actions) are case-sensitive and carry no @ suffix — see aspect-model-stereotypes.md.
For the layout side (concept editors, cell models, style sheets, editor components) see mps-mcp-workflow and mps-aspect-editor.
Critical Directives
- Pick the right artefact for the user-visible behaviour. "Change what
Deletedoes" → action map. "AddCtrl+Shift+I" → keymap. "Offer+after a number" → side transform in a transformation menu. "Hide / reorder completion" → substitute menu. "Wrap pasted node" → paste wrapper. Seereferences/landscape.mdfor the full mapping. - Author by convention. Name roots
<Concept>_ActionMap,<Concept>_KeyMap,<Concept>_TransformationMenu,<Concept>_<Position>_SubstituteMenu,<Concept>_Factory,<Concept>Stylingfor automatic discovery. MPS walks the super-concept chain to find them. - Use MPS MCP tools for edits.
mps_mcp_insert_root_node_from_json,mps_mcp_update_node. Resolve concept names withmps_mcp_search_concepts/mps_mcp_get_concept_details— never guess concept IDs. - Define a substitute menu before a transformation menu. The default
BaseConcept_TransformationMenualready includes the substitute menu; for most "make my concept completable" tasks, only a substitute menu is required. - An empty default substitute menu HIDES the concept from completion. Either remove it or fill it. See
references/substitute-menus.md§"Empty default suppresses". - Side-transform items are NOT automatically in
Ctrl+Space. Either listTransformationLocation_CompletionalongsideTransformationLocation_SideTransform, or add a separate completion section. - Use action maps for
DELETE/BACKSPACEinstead of keymaps bound toVK_DELETE. They integrate with two-step deletion and action inheritance. TransformationMenufield name isconceptDeclaration, notapplicableConcept. Real role names:sections,parts,locations,textFunction. Older docs lie.- Contributions must live in a different language from the menu they extend.
TransformationMenuContribution/SubstituteMenu_Contributionare cross-language only. - Write bodies with
mps-model-manipulationidioms.node.replace with(...),node.parent.<role>.set(...),node.children<X>.add new(...). Implicit params:node,editorContext(+model,scope,operationContextdepending on function kind). - After edits run
mps_mcp_check_root_node_problemsand rebuild the language. - Trace missing completion items with
Ctrl+Alt+Bon the offending item — MPS shows the menu → menu-part → action chain.
What ships with it
15 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.
- references/action-maps.md 13 KB
- references/common-failures.md 2.0 KB
- references/completion-styling.md 1.1 KB
- references/json-blueprints.md 1.8 KB
- references/keymaps.md 4.0 KB
- references/landscape.md 4.2 KB
- references/legacy-cell-menus.md 2.1 KB
- references/paste-and-copy.md 3.9 KB
- references/real-examples.md 1.1 KB
- references/reference-presentation.md 654 B
- references/selection-and-deletion.md 1.4 KB
- references/side-transforms.md 3.0 KB
- references/substitute-menus.md 4.9 KB
- references/transformation-menus.md 9.0 KB
- references/wiring-tables.md 1.7 KB
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.
- 11d ago First seen · 85 lines · 224 tokens per session scan A 9175c46a487b
mps-aspect-editor-menus-and-keymaps is a skill published in the GitHub repository JetBrains/MPS (1,658 stars, last pushed today), licensed Apache-2.0. It adds 224 tokens to every session and 3,272 once invoked, about $0.0011 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
langium
A comprehensive skill to understanding how Langium-based projects work — from grammar definition through code generation, runtime parsing, linking, validation, and LSP integration.
lai-gen-evals
Expand and refine the evaluation suite for a Langium DSL project. Generates comprehensive eval files that cover syntactic correctness, semantic validity, user intent matching, edge cases, and language understanding.
lai-gen-mcp
Generate a Model Context Protocol (MCP) server that exposes a Langium DSL's parser and validator as an MCP tool, allowing any MCP-compatible client to validate DSL code and receive diagnostics.
lai
Guide for using the langium-ai (LAI) CLI to generate language descriptors, synthesize system prompts, run evaluations, and iteratively refine AI-powered tooling in Langium projects. Use when working with lai commands, descriptors, or evaluation files.
lai-gen-descriptor
Generate or refine a language descriptor for a Langium DSL project. Bootstraps a new descriptor via lai gen descriptor if none exists, then guides refinement of paths, services, examples, documentation, and structure.
lai-gen-language-skill
Skill for generating a skill for understanding a specific Langium-based DSL. Used in cooperation with the lai & langium skills for understanding.