Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

knowledge-graph-builder知识图谱构建器

Agent Skill

knowledge-graph-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,552

周安装

86

GitHub Stars

3

下载量

1,061
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:knowledge-graph-builder(知识图谱构建器)
来源仓库:https://github.com/jmsktm/claude-settings
仓库路径:skills/knowledge-graph-builder
安装命令:
npx skills add https://github.com/jmsktm/claude-settings --skill 'Knowledge Graph Builder'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jmsktm/claude-settings --skill 'Knowledge Graph Builder'

简介

knowledge-graph-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于语义理解项目前的实体关系建模与图谱构建调研场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和联网行为。
  • 建议结合原始 README 核验具体用法,注意维护状态与潜在的文件读写操作。
  • 使用前请评估是否触发外部命令执行及数据访问边界,确保符合安全策略。

SKILL.md

Knowledge Graph Builder

Expert knowledge graph creation system that transforms disconnected support content into an interconnected web of concepts, relationships, and solutions. This skill provides structured workflows for mapping knowledge domains, defining relationships, and powering intelligent support experiences.

Knowledge graphs enable support systems to understand context, not just keywords. When a customer asks about "billing issues," a knowledge graph knows this relates to invoices, payment methods, subscription plans, and potentially churn risk. This skill helps you build that connective intelligence.

Built on semantic web principles and knowledge engineering best practices, this skill combines domain modeling, relationship mapping, and practical implementation to create knowledge graphs that power smarter support.

Core Workflows

Workflow 1: Domain Modeling

Define the concepts and entities in your knowledge domain

  1. Entity Identification

- Core Entities: Products, features, concepts - Customer Entities: Accounts, users, segments - Support Entities: Issues, solutions, articles - Process Entities: Workflows, procedures, steps - Context Entities: Use cases, personas, scenarios

  1. Entity Types for Support Entity Type Examples Purpose Product App, Feature, Module What customers use Issue Bug, Error, Question What customers face Solution Fix, Workaround, Guide How to resolve Article FAQ, How-to, Reference Content resources Concept Term, Process, Capability Understanding Persona Admin, User, Developer Who needs help
  2. Entity Properties Entity: Feature Properties: - id: unique identifier - name: display name - description: what it does - status: active/deprecated/beta - complexity: basic/intermediate/advanced - related_persona: who uses it - documentation_url: help article link
  3. Entity Extraction Sources

- Product documentation - Support ticket taxonomy - FAQ categories - Help center structure - Feature specifications - User research findings

Workflow 2: Relationship Mapping

Define how entities connect to each other

  1. Core Relationship Types Relationship From To Example SOLVES Solution Issue "Password reset SOLVES login failure" PART_OF Feature Product "Dashboard PART_OF Analytics" REQUIRES Feature Feature "Export REQUIRES Pro plan" CAUSES Issue Issue "API limit CAUSES sync failure" DOCUMENTED_IN Concept Article "Billing DOCUMENTED_IN pricing guide" APPLIES_TO Solution Persona "Workaround APPLIES_TO admin users"
  2. Relationship Properties Relationship: SOLVES Properties: - confidence: how reliable (0-1) - conditions: when this applies - effectiveness: success rate - last_verified: date checked
  3. Relationship Discovery

- Analyze support ticket resolution paths - Map help article cross-references - Identify co-occurring issues - Study user journey patterns - Review expert knowledge

  1. Relationship Strength

- Strong: Always true, well documented - Moderate: Usually true, common pattern - Weak: Sometimes true, contextual - Suggested: Possible, needs validation

Workflow 3: Graph Construction

Build the actual knowledge graph structure

  1. Graph Architecture Nodes (Entities): - Unique identifier - Entity type - Properties - Metadata (created, updated, source) Edges (Relationships): - From node - To node - Relationship type - Properties - Metadata
  2. Implementation Options Approach Best For Tools Graph Database Complex queries, scale Neo4j, Amazon Neptune RDF Triple Store Semantic web, standards Apache Jena, Stardog Property Graph Flexible modeling Neo4j, TigerGraph Embedded Simple use cases NetworkX, GraphQL
  3. Schema Design

- Define node labels/types - Define relationship types - Set required properties - Define constraints (uniqueness, existence) - Create indexes for query performance

  1. Data Population

- Bulk import from existing sources - API ingestion from live systems - Manual expert curation - Automated extraction (NLP) - Continuous updates from support activity

Workflow 4: Query & Inference

Extract value from the knowledge graph

  1. Query Patterns Query Type Use Case Example Traversal Find related content "Articles related to X" Path finding Solution discovery "Steps from issue to resolution" Pattern matching Similar issues "Issues like X" Aggregation Analytics "Most common issue per feature" Recommendation Suggestions "Other users also viewed"
  2. Inference Rules

- If A CAUSES B and B CAUSES C, suggest A might relate to C - If Solution S SOLVES Issue I, suggest similar solutions for similar issues - If Article A DOCUMENTED_IN B and B REQUIRES C, show C as prerequisite - If many users navigate A → B → C, suggest shortcut

  1. Semantic Search Enhancement

- Expand search with related concepts - Rank by graph centrality - Surface related articles - Suggest alternative terms - Understand context from relationships

  1. Conversational AI Integration

- Map user intent to graph entities - Follow relationships to find answers - Generate responses from connected content - Explain reasoning through graph path

Workflow 5: Maintenance & Evolution

Keep the knowledge graph accurate and growing

  1. Quality Monitoring

- Track usage patterns - Identify dead-end paths - Find orphaned nodes - Monitor relationship accuracy - Measure search success rates

  1. Update Triggers

- New product releases - Documentation changes - Support ticket patterns - User feedback - Expert curation sessions

  1. Validation Process

- Expert review of new relationships - A/B test graph-powered features - Monitor accuracy metrics - User feedback collection - Regular audits

  1. Growth Strategies

- Automated entity extraction from tickets - ML-based relationship suggestion - User contribution mechanisms - Expert knowledge capture sessions - Cross-reference with external sources

Quick Reference

ActionCommand/Trigger
Create entity"Add entity [type] for [name]"
Define relationship"Create relationship [type] from [A] to [B]"
Query graph"Find [entity] related to [entity]"
Find path"Show path from [issue] to [solution]"
Graph statistics"Show knowledge graph metrics"
Validate relationships"Audit relationships for [entity]"
Extract from tickets"Extract entities from recent tickets"
Generate documentation"Export graph as documentation"
Find gaps"Identify missing relationships"
Visualize graph"Visualize graph around [entity]"

Best Practices

Domain Modeling

  • Start with core product concepts
  • Model from customer perspective
  • Keep entity types focused
  • Document entity definitions clearly
  • Version your schema

Relationship Design

  • Use verb-based relationship names
  • Make relationships directional
  • Add confidence/strength properties
  • Avoid redundant relationships
  • Document relationship semantics

Graph Construction

  • Start small, grow iteratively
  • Validate with domain experts
  • Index frequently queried properties
  • Plan for scale from start
  • Maintain data lineage

Query Optimization

  • Profile query performance
  • Create appropriate indexes
  • Cache common traversals
  • Paginate large results
  • Monitor query patterns

Maintenance

  • Schedule regular audits
  • Track content freshness
  • Remove stale nodes/edges
  • Validate automated additions
  • Document changes

Knowledge Graph Schema

Core Entities

Product:
  properties:
    - id: string (required, unique)
    - name: string (required)
    - description: text
    - version: string
    - status: enum [active, deprecated, beta]
    - tier: enum [free, pro, enterprise]

Feature:
  properties:
    - id: string (required, unique)
    - name: string (required)
    - description: text
    - complexity: enum [basic, intermediate, advanced]
    - introduced_version: string
    - documentation_url: url

Issue:
  properties:
    - id: string (required, unique)
    - title: string (required)
    - description: text
    - severity: enum [critical, high, medium, low]
    - frequency: enum [common, occasional, rare]
    - symptoms: array[string]

Solution:
  properties:
    - id: string (required, unique)
    - title: string (required)
    - steps: array[string]
    - type: enum [fix, workaround, configuration]
    - effectiveness: float [0-1]
    - applies_to: array[string]

Article:
  properties:
    - id: string (required, unique)
    - title: string (required)
    - url: url (required)
    - type: enum [faq, how-to, reference, troubleshooting]
    - audience: enum [all, admin, developer]
    - last_updated: date

Concept:
  properties:
    - id: string (required, unique)
    - term: string (required)
    - definition: text (required)
    - aliases: array[string]
    - domain: string

Core Relationships

PART_OF:
  from: [Feature, Concept]
  to: [Product, Feature, Concept]
  properties:
    - required: boolean

SOLVES:
  from: Solution
  to: Issue
  properties:
    - confidence: float [0-1]
    - conditions: text
    - verified_date: date

CAUSES:
  from: Issue
  to: Issue
  properties:
    - probability: float [0-1]
    - mechanism: text

DOCUMENTED_IN:
  from: [Feature, Issue, Solution, Concept]
  to: Article
  properties:
    - section: string
    - is_primary: boolean

REQUIRES:
  from: [Feature, Solution]
  to: [Feature, Permission, Plan]
  properties:
    - type: enum [prerequisite, dependency, permission]

RELATED_TO:
  from: [any]
  to: [any]
  properties:
    - strength: float [0-1]
    - type: enum [similar, alternative, complementary]

APPLIES_TO:
  from: [Solution, Article]
  to: [Persona, Plan, Version]
  properties:
    - conditions: text

Implementation Guide

Phase 1: Foundation (Week 1-2)

  1. Define core entity types
  2. Document property schemas
  3. Map primary relationships
  4. Choose technology stack
  5. Set up development environment

Phase 2: Core Graph (Week 3-4)

  1. Extract entities from documentation
  2. Create initial relationships
  3. Import into graph database
  4. Build basic query interface
  5. Validate with domain experts

Phase 3: Integration (Week 5-6)

  1. Connect to support system
  2. Implement search enhancement
  3. Add content recommendation
  4. Create admin interface
  5. Set up monitoring

Phase 4: Intelligence (Week 7-8)

  1. Add inference rules
  2. Implement similarity scoring
  3. Enable automated extraction
  4. Build feedback loops
  5. Deploy to production

Red Flags

  • Disconnected nodes: Entities without relationships
  • Relationship soup: Too many weak relationships
  • Stale data: Outdated information not updated
  • Schema drift: Inconsistent entity modeling
  • Query complexity: Simple questions need complex queries
  • No validation: Automated additions not verified
  • Missing context: Relationships without properties
  • Poor coverage: Key concepts not represented

Success Metrics

MetricWhat It MeasuresTarget
Graph Coverage% of concepts captured90%+
Search ImprovementRelevance vs. keyword2x+
Resolution SpeedTime to find answer50% reduction
Relationship AccuracyExpert validation rate95%+
Query LatencyResponse time< 100ms
User SatisfactionCSAT with graph features4.0/5.0+
Automation RateAuto-resolved with graph30%+
Graph GrowthNew entities/monthHealthy growth

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.55%
按下载量换算398

Claude

30.29%
按下载量换算321

Cursor

20.24%
按下载量换算215

Gemini CLI

9.4%
按下载量换算100

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills