Skip to main content

hugegraph-data-importer

Route HugeGraph MCP graph data extraction and controlled import/delete tasks to stable public tools. Use when the user asks to extract graph data from text, import structured vertices or edges, verify an import, or asks whether table, SQL, update, or delete graph writes are available.

来源信息

仓库
apache/hugegraph-ai
最近来源活动
2026年9月26日 12:27
检测到的 SKILL.md 语言
英语
星标
145
分支
90

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
hugegraph-data-importer
description
Route HugeGraph MCP graph data extraction and controlled import/delete tasks to stable public tools. Use when the user asks to extract graph data from text, import structured vertices or edges, verify an import, or asks whether table, SQL, update, or delete graph writes are available.
# HugeGraph Data Importer ## Tool Routes | Goal | Tool | | --- | --- | | Inspect schema, primary keys, or edge endpoints | `inspect_graph_tool(include_raw_schema=true)` | | Extract candidate graph data from text | `extract_graph_data_tool(text, graph_schema?, example_prompt?)` | | Preview structured vertex/edge import | `import_graph_data_tool(mode="ingest", graph_data, dry_run=true)` | | Execute confirmed import | Unavailable: preview-only, no `plan_id`; confirmation returns `FEATURE_DISABLED` | | Preview controlled vertex/edge delete | `delete_graph_data_tool(change_plan, dry_run=true)` | | Execute confirmed controlled delete | `confirm_write_tool(plan_id)` for a confirmable exact edge delete only | | Verify imported data | `query_graph_data_tool` (bounded page or exact ID query) | `change_plan` must contain exact operations. For example, a vertex delete preview (not executable) is: ```json {"operations":[{"op":"delete_vertex","label":"person","match":{"name":"Alice"}}]} ``` Edge deletion uses `op: "delete_edge"`, `label`, `source_label`, `source_match`, `target_label`, and `target_match`. Each operation must resolve to exactly one target during dry-run; bulk and cascade deletes are not supported. ## Order ```text inspect_graph_tool -> extract_graph_data_tool or prepare graph_data -> import_graph_data_tool(dry_run=true) -> review preview (stop: no executable import plan) ``` For controlled deletes: ```text inspect_graph_tool(include_raw_schema=true) -> delete_graph_data_tool(dry_run=true) -> confirm_write_tool(plan_id), only for confirmable exact edge deletes -> get_write_status_tool(plan_id) -> query_graph_data_tool ``` Structured query and plan lifecycle tools require the default `v2_core` toolset. For a `v1` deployment, enable `HUGEGRAPH_MCP_TOOLSET=v2_core` and restart before using them.
在 GitHub 查看