Agent Skills › ruc-datalab/EvoOntology › explore-ontology

explore-ontology

GitHub

将本体版本渲染为单文件交互式HTML查看器,支持多版本切换与对比。通过MCP工具调用可视化接口,在Codex内嵌浏览器中展示结果、内容、Schema及工具视图,严格只读,不修改任何本体状态。

plugins/evoontology-codex/skills/explore-ontology/SKILL.md ruc-datalab/EvoOntology

Trigger Scenarios

需要以交互方式查看或比较本体不同版本的变更 在Codex环境中快速预览本体结构、语义关系及执行证据

Install

npx skills add ruc-datalab/EvoOntology --skill explore-ontology -g -y
More Options

Non-standard path

npx skills add https://github.com/ruc-datalab/EvoOntology/tree/master/plugins/evoontology-codex/skills/explore-ontology -g -y

Use without installing

npx skills use ruc-datalab/EvoOntology@explore-ontology

指定 Agent (Claude Code)

npx skills add ruc-datalab/EvoOntology --skill explore-ontology -a claude-code -g -y

安装 repo 全部 skill

npx skills add ruc-datalab/EvoOntology --all -g -y

预览 repo 内 skill

npx skills add ruc-datalab/EvoOntology --list

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

  1. 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 .evoontology container, 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.

  2. Resolve the initially shown version: default active (the version referenced by active.json). An explicit ontology_vN changes only the initial page selection and never changes active.json; every available version is embedded.

  3. Call the evo-semantic MCP tool visualize_ontology (the single rendering entry point), passing the absolute workspace input and optionally version and open_browser. Do not run python -m evoontology.visualization.

  4. In Codex desktop call visualize_ontology with presentation:"codex" and open_browser:false. The tool returns html_path and a loopback browser_url. Open browser_url with the available Codex open_in_codex tool using target:{type:"browser",url:browser_url}, placement:"right". Reuse the preview tab when available. The MCP tool does not open an external browser in this mode. If the app browser tool is unavailable, return the URL and HTML path explicitly; do not claim the page opened. For an explicitly requested external browser use presentation:"external". No browser is opened twice.

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

Same Skill Collection

plugins/claude-code/skills/build-ontology/SKILL.md
plugins/claude-code/skills/explore-ontology/SKILL.md
plugins/evoontology-codex/skills/build-ontology/SKILL.md
plugins/claude-code/skills/evolve-ontology/SKILL.md
plugins/evoontology-codex/skills/evolve-ontology/SKILL.md

Metadata

Files
0
Version
379f611
Hash
9e9a44fb
Indexed
2026-12-03 08:14

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-05 07:11
浙ICP备14020137号-1