← 返回 Skills 市场
Edge Knowledge Graph
作者
KingOfZhao
· GitHub ↗
· v1.0.0
· MIT-0
210
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install edge-knowledge-graph
功能描述
Build and query focused knowledge graph subgraphs locally on resource-limited edge devices for low-latency, offline-aware reasoning and incremental updates.
使用说明 (SKILL.md)
Edge Knowledge Graph
边缘计算 × 知识图谱:在资源受限的边缘设备上构建和查询知识图谱。
何时使用
- IoT设备需要本地知识推理(断网场景)
- 移动端实时知识查询(低延迟需求)
- 边缘节点的轻量级知识管理
- 端侧个性化知识图谱
核心认知
1. 边缘知识图谱的核心矛盾
知识图谱的价值与规模成正比,但边缘设备的资源(内存、算力、存储)极其有限。解决方案不是"缩放"而是"投影"——将云端的完整知识图谱投影为边缘场景所需的子图。
投影原则:
- 场景驱动:只保留当前任务所需的三跳以内的实体和关系
- 频率加权:高频查询路径保留更多细节,低频路径只保留骨架
- 压缩存储:用整数ID替代URI,用位图索引替代B+树
2. 增量同步协议
边缘KG不能全量同步,需要增量更新:
- Change Vector:每个边缘节点维护一个变更向量(类似CRDT的version vector)
- Diff-Patch协议:云端计算出变更差异(Delta),只传输Delta
- 冲突解决:边缘离线期间的本地修改与云端更新冲突时,按时间戳+优先级合并
- 压缩传输:Delta用RDF diff格式 + gzip压缩,典型压缩比 > 90%
3. 端侧推理优化
在边缘设备上执行SPARQL查询太重。替代方案:
- 预计算路径:云端预计算高频查询路径,边缘只做路径匹配
- 规则缓存:OWL推理规则编译为简单的if-then规则,边缘执行
- 近似查询:允许一定误差的近似子图匹配,换取消耗降低
碰撞来源
edge-computing×knowledge-graph-builder×knowledge-graph-query-optimizercrdt-conflict-resolution(增量同步)×edge-ai-deployment(部署模式)
安全使用建议
This skill is a high-level design/instruction document (no code, no installs, no credentials requested), and appears internally consistent with its stated goal. Still consider: (1) provenance — source and homepage are missing, so if you later install an implementation based on these instructions, audit that code and packages before running on devices; (2) testing — try implementations in a sandbox or isolated edge device before deploying to production; (3) least privilege — never supply cloud credentials or device admin credentials unless a concrete implementation legitimately requires them and you’ve reviewed that code. If you want a runnable implementation, ask the author for source (repo, releases) and a clear install plan so you can review packages and update mechanics.
功能分析
Type: OpenClaw Skill
Name: edge-knowledge-graph
Version: 1.0.0
The skill bundle consists of metadata and conceptual documentation (SKILL.md) regarding the implementation of knowledge graphs on edge devices. It contains no executable code, scripts, or instructions that attempt to exfiltrate data, gain unauthorized access, or perform malicious actions. The content is purely educational and theoretical in nature.
能力评估
Purpose & Capability
Name and description (edge knowledge-graph subgraphs for resource-limited devices) match the SKILL.md content: projection, incremental sync, lightweight inference. The doc does not request unrelated binaries, credentials, or config paths.
Instruction Scope
SKILL.md contains high-level design guidance (projection rules, diff/patch sync, conflict resolution, inference optimizations) and does not instruct the agent to read local files, access environment variables, execute binaries, or transmit data to external endpoints. There is no scope creep beyond the stated purpose.
Install Mechanism
There is no install spec and no code files — the skill is instruction-only, so nothing will be written to disk or downloaded during install.
Credentials
The skill declares no required environment variables, credentials, or config paths. That is proportional for a design/instruction document that does not perform runtime network or privileged operations.
Persistence & Privilege
The skill does not request always: true and does not indicate any mechanism for persistent or elevated privileges. Autonomous invocation remains possible (platform default) but the instructions themselves do not escalate privilege.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install edge-knowledge-graph - 安装完成后,直接呼叫该 Skill 的名称或使用
/edge-knowledge-graph触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Edge Knowledge Graph 1.0.0
- Initial release with design principles for deploying knowledge graphs on resource-constrained edge devices.
- Introduces a "projection" strategy to generate scenario-specific subgraphs from cloud knowledge graphs.
- Details an incremental sync protocol using change vectors, diff/patches, and conflict resolution.
- Describes optimizations for query and inference on the edge, including path precomputation, rule caching, and approximate matching.
- Targets scenarios like IoT offline reasoning, mobile real-time queries, and edge-specific lightweight knowledge management.
元数据
常见问题
Edge Knowledge Graph 是什么?
Build and query focused knowledge graph subgraphs locally on resource-limited edge devices for low-latency, offline-aware reasoning and incremental updates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。
如何安装 Edge Knowledge Graph?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install edge-knowledge-graph」即可一键安装,无需额外配置。
Edge Knowledge Graph 是免费的吗?
是的,Edge Knowledge Graph 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Edge Knowledge Graph 支持哪些平台?
Edge Knowledge Graph 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Edge Knowledge Graph?
由 KingOfZhao(@kingofzhao)开发并维护,当前版本 v1.0.0。
推荐 Skills