MPS: Skill for Claude Code

.agents/skills/mps-language-aspects-overview/SKILL.md

mps-language-aspects-overview is a skill for Claude Code, Codex from JetBrains/MPS. It costs 90 tokens per session (2,260 once invoked), scanned A, original, Apache-2.0.

A guide to the separate parts of a JetBrains MPS language. MPS is a tool for building custom programming languages, and these parts define their syntax, meaning, editor, checks, generated output, and other behavior.

In plain words
What is it for?
Use it to plan and modify MPS languages, choose the recommended authoring order, connect related language parts, validate changes, and find more specific guidance for each part.
Why use it?
It helps developers choose the right language part and understand how changes depend on one another, reducing unsafe edits and rebuild problems.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is JetBrains/MPS's own configuration. It tells Claude Code and Codex how to work on MPS itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MPS configures →

About the project

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.

JetBrains/MPS · 1,657 stars · on GitHub · jetbrains.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/JetBrains/MPS/master/.agents/skills/mps-language-aspects-overview/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JetBrains/MPS

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mps-language-aspects-overview

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetbrains/mps/mps-language-aspects-overview.svg)](https://agentmods.dev/skills/jetbrains/mps/mps-language-aspects-overview)
Your own site
<a href="https://agentmods.dev/skills/jetbrains/mps/mps-language-aspects-overview"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-language-aspects-overview.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, 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 Prompt Injection · line 13
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.02260
Opus 5 $0.00045 $0.01130
Sonnet 5 $0.00018 $0.00452
Haiku 4.5 $0.00009 $0.00226

Measured 8d ago against content hash b1518805edd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mps-language-aspects-overview 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.

.agents/skills/mps-language-aspects-overview/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MPS Language Aspects — Overview

An MPS language is a collection of aspects, each a separate model inside the language module. Together they define syntax, semantics, UI, and output. Edit each aspect through its own language (its DSL). This skill is the router; each aspect links to a dedicated skill.

Critical Directives

  • Always prefer MPS MCP tools over hand-editing .mps XML. Hand edits can silently corrupt model files.
  • Keep aspect rules thin and declarative — push logic into behavior methods, then call them from any aspect.
  • When something in a consumer is wrong, re-check the root cause on the language side (structure / generator / typesystem) before patching generated Java.
  • Choose a modularity strategy before authoring when this language must relate to others — reference, extend, embed, or adapt them. The kind you pick (referencing / extension / reuse / embedding) changes how you use structure, constraints, typesystem, and generator. See mps-language-modularity.

Aspects and Where to Find Detailed Guidance

Aspect Aspect ID / Stereotype Model file Language DSL Detailed skill
Structure structure models/structure.mps jetbrains.mps.lang.structure mps-aspect-structure-concepts
Editor editor models/editor.mps jetbrains.mps.lang.editor mps-aspect-editor, mps-aspect-editor-menus-and-keymaps
Constraints constraints models/constraints.mps jetbrains.mps.lang.constraints mps-aspect-constraints
Behavior behavior models/behavior.mps jetbrains.mps.lang.behavior mps-aspect-behavior
Typesystem & Checking typesystem models/typesystem.mps jetbrains.mps.lang.typesystem mps-aspect-typesystem
Intentions intentions models/intentions.mps jetbrains.mps.lang.intentions mps-aspect-intentions
Actions actions models/actions.mps jetbrains.mps.lang.actions mps-aspect-actions
Generator @generator (stereotype) generator/template/[email protected] jetbrains.mps.lang.generator mps-aspect-generator
TextGen textGen models/textGen.mps jetbrains.mps.lang.textGen mps-aspect-textgen
Dataflow dataFlow (camelCase) models/dataFlow.mps jetbrains.mps.lang.dataFlow mps-aspect-dataflow
Migrations migration models/migration.mps jetbrains.mps.lang.migration mps-aspect-migrations
Enhancement scripts scripts models/scripts.mps jetbrains.mps.lang.script mps-aspect-migrations
Find Usages findUsages (camelCase) models/findUsages.mps jetbrains.mps.lang.findUsages
Refactorings refactorings models/refactorings.mps jetbrains.mps.lang.refactoring
IDE plugin plugin models/plugin.mps jetbrains.mps.lang.plugin mps-ide-plugin
Feedback feedback models/feedback.mps jetbrains.mps.lang.feedback
Accessories / Dependencies — (no model created) .mpl and per-model mps-aspect-accessories
Code inside bodies any aspect that holds BL baseLanguage, smodel, collections, closures mps-model-manipulation
Inline node literals any aspect using quotations jetbrains.mps.lang.quotation mps-quotations

Read the full file on GitHub · 97 lines

Changes

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.

  1. 8d ago First seen · 97 lines · 90 tokens per session scan A b1518805edd7

Subscribe to this mod's changes

mps-language-aspects-overview is a skill published in the GitHub repository JetBrains/MPS (1,657 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 2,260 once invoked, about $0.0005 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.

Related

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.

eclipse-langium/langium-ai · 33 tokens

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.

eclipse-langium/langium-ai · 42 tokens

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.

eclipse-langium/langium-ai · 43 tokens

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.

eclipse-langium/langium-ai · 52 tokens

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.

eclipse-langium/langium-ai · 49 tokens

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.

eclipse-langium/langium-ai · 33 tokens