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

explore-ontology

GitHub

将本体版本渲染为离线交互式HTML查看器,支持多版本切换与对比。通过MCP工具调用可视化功能,专用于只读探索本体结构、概念及证据,严禁修改任何状态数据。

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

触发场景

需要以交互方式查看或对比本体版本差异 用户请求展示本体结构的可视化视图

安装

npx skills add ruc-datalab/EvoOntology --skill explore-ontology -g -y
更多选项

非标准路径

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

不安装直接使用

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.

版本历史

  • 379f611 当前 2026-12-03 08:14

同 Skill 集合

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

元信息

文件数
0
版本
379f611
Hash
9e9a44fb
收录时间
2026-12-03 08:14

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-03 08:40
浙ICP备14020137号-1