/hypha:metamodel-lookupfrom Hypha — SysML v2 Agent
Looks up OMG SysML v2 / KerML metamodel structure: metaclass features, supertypes, subtypes, redefinitions, multiplicities, constraints, enumerations, and cross-cutting queries across many metaclasses.
Ships in Hypha — SysML v2 Agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Answer questions about the structure of the KerML and SysML v2 metamodels from the hypha MCP
server's tools. They are named here without a client's prefix: a client may show hypha_metaclass
as, for example, mcp__hypha__hypha_metaclass. Be exact, and say where each fact comes from.
KerML and SysML v2 are one combined metamodel here: the SysML v2 model is generated from the full
KerML + SysML metamodel, so KerML metaclasses such as Feature, Element and Membership are
answered too.
The knowledge is generated per upstream release tag (YYYY-MM, such as 2026-05).
tag. Call
hypha_release_status when unsure what is installed or which release is the default.PartUsage ...".
The metamodel changes between releases, so an unqualified structural claim is incomplete.hypha_install_release only when the user wants it: it
downloads from GitHub and takes minutes..../SysML/20250201): it tracks neither
the release nor the content.One metaclass, hypha_metaclass with the question:
| Question | question | Arguments |
|---|---|---|
| What it is: kind, package, supertypes | element | name |
| Every supertype | ancestors | name |
| What specializes it | subclasses | name; concreteOnly to leave abstract ones out |
| Does it specialize another, and through what | specializes | name, general |
| Its features, owned and inherited, each with its owner | features | name; feature for one |
| Its features without the inherited ones it redefines | effective-features | name |
| Its constraints, or operations, each with where it is declared | constraints, operations | name; includeInherited (default true) |
| An enumeration's literals | literals | name, such as VisibilityKind |
| The metaclasses its features are typed by, and the features typed by it | neighbours | name |
One feature, hypha_feature with the question:
| Question | question | Arguments |
|---|---|---|
| What redefines it, or subsets it | redefinitions, subsettings | feature; class for the owner's own feature only |
| The other end of its association | opposite | feature, class |
| The constraints that name it | feature-constraints | feature, class |
| Everything that redefines or subsets it, directly or not | contributors | feature, class |
A type across the whole metamodel, hypha_typed_by with the question:
| Question | question | Arguments |
|---|---|---|
| Which metaclasses have a feature typed by it | classes-with-feature-typed | type; compositeOnly |
| Every feature that can hold a value of it | features-accepting | type; class for one metaclass's features |
| The composite features through which an element of it can be owned | containers | type; class |
And:
hypha_package with name: a package's metaclasses, nested packages and everything below it.hypha_search with text and kind: "metamodel": find a metaclass by name or qualified name
when the user's spelling is not exact.hypha_lookup with kind: "metamodel" and name: the metaclass's whole generated page, a page at
a time, for documentation wording to quote. When nextLine is set, call again with it as
startLine. The same page is the resource hypha://<tag>/metamodel/<Name>.hypha_syntax for how an element is written: see Notation below.hypha_diff with from, to and optionally element: what changed between two installed releases.A question about a set, a closure or a comparison is still one call: the tools return closures and inherited sets the generator already computed, so never collect them by hand from several pages.
Expression?" hypha_typed_by,
classes-with-feature-typed, type: "Expression".Usage?" hypha_metaclass, subclasses, name: "Usage",
concreteOnly: true.Feature::type?" hypha_feature, redefinitions, feature: "type",
class: "Feature". Without class the answer covers every feature named type, such as
FeatureTyping::type too.PartUsage's name come from?" hypha_metaclass, features, name: "PartUsage",
feature: "name": the answer names its owner.PartUsage and ItemUsage": one hypha_metaclass call per metaclass, then compare the
facts asked for; report only those.The answer of a tool that takes a question, and of hypha_package, hypha_search and hypha_diff,
carries a value, a grounding (tier, release and the generated file it was read from) and, when
part of the knowledge was never generated, unavailable saying why and how to generate it.
hypha_lookup answers with the release, a status and the page's path and content instead.
null value means the release has no such element: say so, and look the intended name up with
hypha_search. Never invent structure.class, or an association for an end the
association owns), because several metaclasses declare features of the same name. Report the owner.-1 for an unbounded upper bound: write it as *.How an element is written comes from the grammar itself rather than from names:
hypha_syntax with the question:
| Question | question | Arguments |
|---|---|---|
| The specification clauses that treat it, the grammar productions that build it, the features its syntax fills in, and worked examples | cross-reference | element |
| Which elements' syntax fills in a feature, through which operator and productions | feature-assignments | feature; operator |
| The elements a production builds | built-by | production |
The productions that write a keyword or operator, such as ref or :>> | keyword | word |
Read the operators literally: = sets a value, += adds to a collection, and ?= sets a boolean
from the presence of a keyword, so isStandard ?= means the flag is true when the keyword is
written at all. An element whose syntax fills in no features adds no syntax of its own (PartUsage's
declaration is inherited from Usage): say that, rather than that nothing is known. The SysML grammar
re-declares many KerML productions, so the same assignment can appear under both grammars; report it
once.
Every fact belongs to one of three tiers; the grounding says which. Say it when it matters, and never blur them:
| Tier | Means |
|---|---|
NORMATIVE | verbatim specification text, with its clause |
MODEL | read directly from the metamodel: a metaclass's own features, its constraints and operations |
DERIVED | computed or matched: inherited feature sets, closures, and every cross-reference edge |
The distinction that matters most: a metaclass's own features are MODEL, its inherited set is
DERIVED, and a clause found through a cross-reference is DERIVED. It says where to look, but it is
not a citation. The features answer is grounded DERIVED as a whole, because it includes the
inherited ones: a feature in it whose owner is the metaclass asked about is that metaclass's own, and
MODEL. Quoting the normative wording is the spec-citation skill's job.
question from the tables above; pass tag only when the user names a release.element, then the question asked (features, constraints, ...).
For a set or closure, make the one call that answers it.hypha_lookup's page, never from memory.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mycelium-cmbse/mycelium-hypha --plugin hypha6 skills in this plugin
/api-lookupLook up the OMG Systems Modeling API & Services (the SysML v2 API, not the language metamodel): a PIM type's attributes, multiplicities, derivation, subsetting and redefinition (Project, Commit, Branch, Tag, DataVersion, DataIdentity, Query, PrimitiveConstraint, ...), a PIM service operation, which PSM (OpenAPI) schema a PIM type maps to and which of its members the request and response models carry, a PSM schema's properties (type, required, nullable, what an identifier refers to), an endpoint, or a clause of the API specification. Use when the user asks how the SysML v2 API models something, whether a PIM member is in a request or response model, what fields a REST schema has, or which endpoint a service operation maps to./model-library-lookupLook up what a SysML v2 / KerML standard model library element means or where it is declared (e.g. ISQBase::mass, ScalarValues::Real, SysML.sysml's Parts::Part): the normative library packages a user's own model specializes with `:>`, not the metamodel itself. Use when the user references a qualified name from ISQ, ScalarValues, SysML.sysml, or asks what a standard-library type/attribute/part is./spec-citationQuote the normative OMG SysML v2 / KerML specification text, or the Systems Modeling API & Services specification text, with an exact clause reference: one clause, or what several clauses say about a topic. Covers the SysML v2, KerML and Systems Modeling API specifications, not the OMG UML specification. Use when the user wants the authoritative wording of one of those specifications, or asks 'what does the SysML v2 / KerML / API spec say about ...'.Other plugins' skills for the same job