HugeGraph 图查询分析
hugegraph-query-analyst
将 HugeGraph MCP 结构化图查询任务路由至稳定的只读工具。当用户提出图相关问题、要求生成 Gremlin、提供 Gremlin 要求解释,或需要只读图探索时使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 147
- Forks
- 97
01 前言 Front Matter
- name
- hugegraph-query-analyst
- description
- Route HugeGraph MCP structured graph query tasks to stable read-only tools. Use when the user asks graph questions, asks to generate Gremlin, provides Gremlin to explain, or needs read-only graph exploration.
02 资源文件 1
- 参考文档agents/openai.yaml1008 B
03 SKILL.md 正文
HugeGraph Query Analyst
Tool Routes
| Goal | Tool |
|---|---|
| Inspect schema, labels, properties, or edge directions | inspect_graph_tool(include_raw_schema=false) or inspect_graph_tool(include_raw_schema=true) |
| Generate Gremlin from natural language | generate_gremlin_tool(query, execute=false) |
| Answer a natural-language graph question | Inspect schema, then use query_graph_data_tool for supported bounded queries |
| Execute user-provided Gremlin | Unavailable: Raw Gremlin execution returns FEATURE_DISABLED, including in admin mode |
| Generate only, without execution | generate_gremlin_tool(query, execute=false) |
Order
Need schema: inspect_graph_tool
Natural-language query: inspect_graph_tool -> query_graph_data_tool
Existing Gremlin: explain it; translate supported queries into query_graph_data_tool arguments
Structured query and plan lifecycle tools require the default core toolset. For a legacy deployment, enable HUGEGRAPH_MCP_TOOLSET=core and restart before using them.
These skills describe the current release with core / legacy. The previous 1.7.1 release uses v2_core / v1; see the migration guide.
04 同仓库更多 Skills
HugeGraph Schema 设计与验证
hugegraph-schema-designer
将 HugeGraph MCP 的 schema 设计、验证及预演预览任务路由至稳定的公共工具。当用户要求设计顶点标签、边标签、属性、主键、索引,或预览 schema 操作时使用。
HugeGraph 回归测试
hugegraph-regression-tester
将 HugeGraph MCP 回归测试任务路由至当前公共工具集,包括检查、只读查询、Gremlin 生成、提取、受控导入、schema 验证/预演、安全守卫及管理员门控工具检查。
HugeGraph MCP 运维检查
hugegraph-operator
将 HugeGraph MCP 运维检查请求路由至状态、schema、MCP 只读状态、AI 可用性及只读验证工具。当用户要求检查当前图、schema、MCP 连接、只读状态、HugeGraph-AI 状态、计数、索引或就绪情况时使用。
HugeGraph 图数据导入
hugegraph-data-importer
将 HugeGraph MCP 图数据提取以及受控的导入/删除任务路由到稳定的公共工具。当用户要求从文本中提取图数据、导入结构化的顶点或边、验证导入结果,或询问是否支持表、SQL、更新或删除等图写入操作时使用。