explore-ontology
GitHub将本体版本渲染为离线单文件交互HTML查看器,支持多版本切换、对比及差异高亮。严格只读,通过MCP工具调用可视化入口,不修改本体状态或生成HTML代码。
Trigger Scenarios
Install
npx skills add ruc-datalab/EvoOntology --skill explore-ontology -g -y
SKILL.md
Frontmatter
{
"name": "explore-ontology",
"description": "Explore ontology questions, grounded concepts, evidence, actual task results and evolution outcomes in a read-only interactive version explorer."
}
Explore Ontology
Render all ontology versions as one standalone, offline, single-file interactive HTML explorer (Results & questions / Content / Schema / Tool views), with in-page version switching and side-by-side comparison across all three layers. Difference highlighting can be toggled without changing the compared versions. The operation is strictly read-only.
Workflow
- Resolve the workspace input: default is the current project's
.evoontology/; use an explicit path when the user provides one. The Core accepts an exact workspace, a.evoontologycontainer, or a project root. It uses the requested version to discover one matching nested workspace at any depth. If multiple workspaces match, report the candidates and ask for the exact path instead of guessing. - Resolve the initially shown version: default
active(the version referenced byactive.json). An explicitontology_vNchanges only the initial page selection and never changesactive.json; every available version is embedded. - Call the
evo-semanticMCP toolvisualize_ontology(the single rendering entry point), passing the absolute workspace input and optionallyversionandopen_browser. Do not runpython -m evoontology.visualization. - Use the default external presentation unless the user explicitly requests headless operation. The MCP tool opens the generated page once; do not open the same result again.
Boundaries
- Do not implement HTML generation inside this skill; all rendering lives in
EvoOntology Core (
evoontology.visualization). - Never modify Build, Evolve, Runtime,
active.json,versions/, or any other ontology/evolution state. - Errors stay explicit: workspace not initialized, no active version, the requested version does not exist, or multiple nested workspaces match. Broken references only produce warnings; graph objects are never fabricated.
- Content edges follow the semantic model: solid Semantic Relations connect Terms, while dotted Structural References attach Mapping, Constraint, and Evidence records according to schema reference rules.
The Results & questions page distinguishes semantic coverage, observed execution and independent evaluation. Click a question to highlight its associated semantic objects. Terminal run summaries show provenance-labelled metrics and public task replays; no reserved validation cases are exposed. Missing reports or executions remain explicit empty states. Never fabricate examples to fill the page.
Version History
- 379f611 Current 2026-12-03 08:14


