skills/knowledge-graph-builder/SKILL.md
Build knowledge graphs for support systems, connecting concepts, articles, and solutions
npx skillsauth add jmsktm/claude-settings Knowledge Graph BuilderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Define the concepts and entities in your knowledge domain
Entity Identification
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 |
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
Entity Extraction Sources
Define how entities connect to each other
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" |
Relationship Properties
Relationship: SOLVES
Properties:
- confidence: how reliable (0-1)
- conditions: when this applies
- effectiveness: success rate
- last_verified: date checked
Relationship Discovery
Relationship Strength
Build the actual knowledge graph structure
Graph Architecture
Nodes (Entities):
- Unique identifier
- Entity type
- Properties
- Metadata (created, updated, source)
Edges (Relationships):
- From node
- To node
- Relationship type
- Properties
- Metadata
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 |
Schema Design
Data Population
Extract value from the knowledge graph
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" |
Inference Rules
Semantic Search Enhancement
Conversational AI Integration
Keep the knowledge graph accurate and growing
Quality Monitoring
Update Triggers
Validation Process
Growth Strategies
| Action | Command/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]" |
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
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
| Metric | What It Measures | Target | |--------|------------------|--------| | Graph Coverage | % of concepts captured | 90%+ | | Search Improvement | Relevance vs. keyword | 2x+ | | Resolution Speed | Time to find answer | 50% reduction | | Relationship Accuracy | Expert validation rate | 95%+ | | Query Latency | Response time | < 100ms | | User Satisfaction | CSAT with graph features | 4.0/5.0+ | | Automation Rate | Auto-resolved with graph | 30%+ | | Graph Growth | New entities/month | Healthy growth |
data-ai
Optimize YouTube videos for SEO, thumbnails, descriptions, and audience retention
testing
Design and facilitate effective workshops with agendas, activities, and outcomes
data-ai
Design and optimize AI-powered workflows for complex tasks
data-ai
Design and implement automated workflows to eliminate repetitive tasks and streamline processes