| name | module-lookup |
| description | Query the digitalmodel module registry to discover modules by capability, standard, or maturity without reading source code. |
| type | reference |
| version | 1.0.0 |
| category | digitalmodel |
| capabilities | [] |
| requires | [] |
| see_also | [] |
| tags | [] |
digitalmodel Module Lookup Skill
Query the digitalmodel module registry (specs/module-registry.yaml) to discover
which modules can perform a given engineering task, implement a specific standard,
or have a given capability — without reading any source code.
Registry Location
digitalmodel/specs/module-registry.yaml
Invocation Patterns
1. Query by Capability (natural language)
import yaml
from pathlib import Path
REGISTRY = Path("digitalmodel/specs/module-registry.yaml")
def find_by_capability(keyword: str) -> list[dict]:
"""Return all modules whose capabilities mention the keyword."""
data = yaml.safe_load(REGISTRY.read_text())
keyword = keyword.lower()
return [
m for m in data["modules"]
if any(keyword in cap.lower() for cap in m.get("capabilities", []))
or keyword in m.get("description", "").lower()
]
find_by_capability("cathodic protection")
find_by_capability("rainflow")
find_by_capability("plate buckling")
find_by_capability("wall thickness")
2. Query by Standard
def find_by_standard(standard_id: str) -> list[dict]:
"""Return modules that reference a standard, with implementation status."""
data = yaml.safe_load(REGISTRY.read_text())
standard_id = standard_id.upper()
results = []
m data[]:
std m.get(, []):
standard_id std[].upper():
results.append({
: m[],
: m[],
: std[],
: m[],
: m[],
})
results
find_by_standard()
find_by_standard()
find_by_standard()
find_by_standard()