Skip to content
Back to skills

Knowledge Graph

ASecurity

知识图谱构建模块,将学习内容可视化为知识网络。自动识别概念之间的关系,生成结构化的知识图谱,帮助用户建立系统性的知识体系。

  • 2,128 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentstypescript

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add LeoYeAI/openclaw-master-skills --skill knowledge-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leoyeai-knowledge-graph/badge)](https://www.skillsdirectory.com/skills/leoyeai-knowledge-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Knowledge Graph Builder

## Overview

知识图谱构建模块,将学习内容可视化为知识网络。自动识别概念之间的关系,生成结构化的知识图谱,帮助用户建立系统性的知识体系。

## Core Capabilities

### 1. 概念关系识别
- 自动识别概念间关系类型
- 构建层级结构
- 发现跨领域连接

### 2. 图谱可视化
- 生成Mermaid图表
- 支持多种布局
- 交互式展示

### 3. 知识导航
- 路径发现
- 影响分析
- 学习路径推荐

## Usage

```typescript
import KnowledgeGraph from './scripts/graph';

const builder = new KnowledgeGraph();

// 从概念列表构建图谱
const graph = await builder.build(['transformer', 'attention', 'BERT', 'GPT']);

// 导出为Mermaid格式
const mermaidCode = builder.toMermaid(graph);

// 发现学习路径
const path = builder.findPath(graph, 'attention', 'GPT');
```

## Output Format

```mermaid
graph TD
    A[Attention Mechanism] --> B[Transformer]
    B --> C[BERT]
    B --> D[GPT]
    A --> E[Self-Attention]
    E --> B
```

Files in this skill

  • scripts/enricher.ts7.7 KB
  • scripts/graph.ts14.3 KB
  • scripts/indexer.ts11 KB
  • scripts/storage.ts14.8 KB
  • skill.md1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…