MPS: Skill for Claude Code

.agents/skills/mps-aspect-accessories/SKILL.md

mps-aspect-accessories is a skill for Claude Code, Codex from JetBrains/MPS. It costs 69 tokens per session (1,675 once invoked), scanned A, original, Apache-2.0.

Rules for connecting MPS modules and models to the languages, libraries, development kits, runtime solutions, and accessory models they need.

In plain words
What is it for?
It helps add or remove dependencies, used languages and devkits, extended languages, runtime solutions, accessory models, and language or dependency version links.
Why use it?
It prevents broken dependencies and module descriptors when an MPS language is extended, built, or shipped with example or supporting models.

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,666 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-aspect-accessories/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-aspect-accessories

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetbrains/mps/mps-aspect-accessories/github.svg)](https://agentmods.dev/skills/jetbrains/mps/mps-aspect-accessories)
Your own site
<a href="https://agentmods.dev/skills/jetbrains/mps/mps-aspect-accessories"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-aspect-accessories/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.

agentmods 80×15 button for mps-aspect-accessories

Your own site · 80×15
<a href="https://agentmods.dev/skills/jetbrains/mps/mps-aspect-accessories"><img src="https://agentmods.dev/badge/skills/jetbrains/mps/mps-aspect-accessories.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,675 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 pass 7 Sept 2026
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.00069 $0.01675
Opus 5.5 $0.00028 $0.00670
Sonnet 5.5 $0.00014 $0.00335
Haiku 4.5 $0.00007 $0.00168

Measured 29d ago against content hash 408b598a0aba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mps-aspect-accessories 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 29d 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-aspect-accessories/SKILL.md · 63 lines

How it starts

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

MPS Module and Model Dependencies, Accessory Models

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.

This skill covers the wiring layer of an MPS language — the module descriptor (.mpl) and the per-model imports — and the special role of accessory models and runtime solutions.

Note: accessory wiring does not introduce a new aspect model or stereotype; it edits the existing language descriptor and model imports. When you do need to create a new aspect or stereotyped model, see aspect-model-stereotypes.md for the canonical aspect IDs and @stereotype values.

Critical Directives

  • Prefer MCP wiring tools over hand-editing .mpl XML. Hand-editing can silently corrupt the module descriptor. If you must hand-edit (e.g. for accessoryModels, which has no dedicated MCP tool), make a backup, edit only the targeted block, and rebuild the module immediately afterwards so MPS re-reads the descriptor.
  • Don't hand-edit languageVersions / dependencyVersions. These are the consumer-side stamps recording which version of another language a module was last migrated against; MPS maintains them. Use the MPS "Update language/dependency versions" action.
  • A language's OWN version is a different number, exposed as languageVersion on every Language module in mps_mcp_get_project_structure and derived from the migration scripts by mps_mcp_update_module(operation = "SYNC_VERSION") (max(fromVersion) + 1, computed for you; there is no way to set it to an arbitrary value). It is the integer a migration script's fromVersion gates on, and both MigrationScript and PureMigrationScript get it from their node factory when created through a factory-running path — never set it by hand. Never hand-edit it in the .mpl, and never "fix" a migration by refreshing the consumer stamps instead — that marks the migration as already applied. See module-info-fields.md and the mps-aspect-migrations skill.
  • Generator modules have their own dependency list. Add target-language deps to the generator, not the parent language.
  • Used languages auto-import when nodes are inserted via mps_mcp_insert_root_node_from_json, mps_mcp_update_node. Manually add a used language only for hand-written code or implicit dependencies.
  • A runtime solution holds the stable part of generation (code that doesn't vary with the model). Generate thin code that calls it; don't regenerate it. No MCP tool wires the language's <runtime> block — see references/runtime-solutions.md.

Read the full file on GitHub · 63 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. 29d ago Changed 408b598a0aba
  2. 1mo ago Changed · +7 lines 15ab01a68202
  3. 2mo ago First seen · 56 lines · 69 tokens per session scan A 31d01f1a2889

Subscribe to this mod's changes

mps-aspect-accessories is a skill published in the GitHub repository JetBrains/MPS (1,666 stars, last pushed yesterday), licensed Apache-2.0. It adds 69 tokens to every session and 1,675 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.

Related

mps-aspect-accessories compared with skills from other repositories

mps-aspect-accessories next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mps-aspect-accessoriesJetBrains/MPSSkill1.7kyesterdayApache-2.0A69Claude Code, Codex
langiumeclipse-langium/langium-aiSkill314d agoMITA33Claude Code
lai-gen-evalseclipse-langium/langium-aiSkill314d agoMITA42Claude Code
laieclipse-langium/langium-aiSkill314d agoMITA52Claude Code
lai-gen-descriptoreclipse-langium/langium-aiSkill314d agoMITA49Claude Code
lai-gen-mcpeclipse-langium/langium-aiSkill314d agoMITA43Claude Code
lai-gen-language-skilleclipse-langium/langium-aiSkill314d agoMITA33Claude Code