SysML v2 Systems Modeling

VerifiedCaution

SysML v2 systems modeling guidance for creating valid models with correct syntax, proper type hierarchies, and validation workflows. Use when working with .sysml files, systems modeling, architecture documentation, SysON, or Eclipse SysML tools.

Sby Skills Guide Bot
DevelopmentAdvanced
7/22/2026
Claude CodeCursorCodex
#sysmlv2#systems-modeling#modeling-language#validation#eclipse

Recommended for

Automated summary

This skill provides guidance for writing valid SysML v2 models with correct syntax, proper type hierarchies, and a command-line validation workflow.

Strengths

  • Recalls the critical syntax rules (import visibility, attribute def specialization, ScalarValues import)
  • Prescribes an explicit validation workflow with validate-sysml before committing or importing into SysON
  • Points to the authoritative OMG specification and the Eclipse pilot implementation
  • Also covers SysON integration and Infrastructure-as-Code modeling chains

Limitations

  • Relies on an external validation tool (sysmlv2-validator) that must be installed separately
  • Detailed content is deferred to companion reference files not included here
  • Does not cover graphical diagram generation, only textual modeling and validation
When to use it

Use it when writing or fixing .sysml files, or preparing a model before importing it into SysON or committing it.

When not to use it

Avoid it for classic UML, SysML v1, or modeling tasks unrelated to the KerML metamodel.

Security analysis

Caution
Quality score85/100

The skill is legitimate systems-modeling guidance and uses powerful tools only for validation and Docker-based SysON deployment. The external validator and unpinned Docker image warrant caution, but there is no evidence of malicious or destructive behavior.

Findings
  • •Allowed-tools include Bash and WebFetch, enabling command execution and external network access.
  • •Recommends installing/running an external validator from GitHub and a Docker image without version pinning, which introduces mild supply-chain risk.
  • •No destructive, exfiltration, obfuscated, or safety-disabling instructions are present.
How this analysis is made

Examples

Validate a new model
Create a SysML v2 model for a satellite power subsystem in power.sysml and validate it with validate-sysml before I commit.
Fix syntax errors
My .sysml file fails validation with 'attribute def Region;' — fix the syntax and explain which SysML v2 rules I violated.
Import into SysON
Review this .sysml file for SysML v2 compliance so I can import it into a local SysON Docker instance without errors.

name: sysmlv2-skill description: SysML v2 systems modeling guidance for creating valid models with correct syntax, proper type hierarchies, and validation workflows. Use when working with .sysml files, systems modeling, architecture documentation, SysON, or Eclipse SysML tools. Provides syntax reference, common patterns, error troubleshooting, and best practices from OMG specifications. license: ISC allowed-tools: Bash Read Edit Write Grep Glob WebFetch metadata: version: "1.0.0" author: sysmlv2-skill contributors

SysML v2 Systems Modeling

Authoritative guidance for creating valid SysML v2 models with correct syntax, proper type hierarchies, and integration with validation tools.

Core Principle

SysML v2 is a textual modeling language with formal syntax. Always validate models with the command-line validator before importing into SysON or committing to version control. The language is defined by OMG specifications, implemented by Eclipse tooling, and must follow strict KerML (Kernel Modeling Language) metamodel rules.

Essential References

Primary Sources (in order of authority):

  1. OMG SysML v2 Specification: https://www.omg.org/spec/SysML/2.0/

    • Official language specification
    • Normative example model: https://www.omg.org/cgi-bin/doc?ptc/25-04-31.sysml
  2. SysML v2 Pilot Implementation: https://github.com/Systems-Modeling/SysML-v2-Pilot-Implementation

    • Reference implementation with parser and validator
  3. SysML v2 Release Repository: https://github.com/Systems-Modeling/SysML-v2-Release

    • Standard library models included in the pilot implementation
  4. Eclipse SysON: https://doc.mbse-syson.org/ (web-based graphical modeling)

For detailed syntax rules: See references/SYNTAX.md For error troubleshooting: See references/ERRORS.md For common patterns: See references/PATTERNS.md

Validation Workflow

CRITICAL: Always validate before committing or importing to SysON

Use the validate-sysml command from sysmlv2-validator:

validate-sysml model.sysml

Errors are reported in GNU format for editor integration:

filename:line:column: error: message

Top 3 Critical Rules

  1. Always add visibility modifier to imports: private import ScalarValues::*; (NOT import ScalarValues::*;)
  2. Attribute defs must specialize: attribute def Region :> String; (NOT attribute def Region;)
  3. Import ScalarValues for basic types: String, Real, Integer, Boolean all require this import

For complete syntax reference: See references/SYNTAX.md For error troubleshooting: See references/ERRORS.md For common patterns: See references/PATTERNS.md

Integration Workflows

SysON (visual modeling): Deploy via Docker (docker run -p 8080:8080 eclipsesyson/syson:latest) or see https://doc.mbse-syson.org/

Infrastructure-as-Code: Model in SysML → Validate → Implement in Terraform/Pulumi → Verify match

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/sysml-v2-systems-modeling-mrwakaor' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/sysml-v2-systems-modeling-mrwakaor/download' --output '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md.part' && mv '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md.part' '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash Read Edit Write Grep Glob WebFetch

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && test -s '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/sysmlv2-skill' && cp -R '.skill-downloads/sysml-v2-systems-modeling-mrwakaor' '.claude/skills/sysmlv2-skill'

Cursor
test -f '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && test -s '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/sysmlv2-skill' && cp -R '.skill-downloads/sysml-v2-systems-modeling-mrwakaor' '.cursor/skills/sysmlv2-skill'

Codex
test -f '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && test -s '.skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/sysmlv2-skill' && cp -R '.skill-downloads/sysml-v2-systems-modeling-mrwakaor' '.agents/skills/sysmlv2-skill'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/sysml-v2-systems-modeling-mrwakaor'

openskills read 'sysml-v2-systems-modeling-mrwakaor'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/sysml-v2-systems-modeling-mrwakaor/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills