knowledge-graph-builder
Skill6 starsChanged 6 months agoMITView on GitHub
Activates KnowledgeGraph — an expert in building, querying, and reasoning over knowledge graphs. Use when you need entity extraction, relationship mapping, ontology design, Neo4j/RDF graph construction, graph-RAG pipelines, or complex multi-hop reasoning over structured knowledge.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- sohaibdevv/Claude-Agentic-Skills2.0-versionword for word, first seen Jun 9, 2026
- context-is-everything/skillstheir own version, first seen Feb 3, 2026
Other versions2 projects use a version of this.
Word for word · 1
- sohaibdevv/Claude-Agentic-Skills2.0-version★ 2100% same
Edited · 0
None found.
Wrote their own version · 1
- context-is-everything/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository121 other files it gives its agents.
- abtest-scientistSkill
- agentic-workflow-builderSkill
- agentOS-orchestratorSkill
- agent-smithSkill
- AIProductManagerSkill
- ai-red-teamerSkill
- APIDesignArchitectSkill
- api-integratorSkill
- arxiv-researcherSkill
- b2b-sales-playbookSkill
- biotech-analystSkill
- BoardDeckBuilderSkill
- business-intelligence-proSkill
- ceo-war-roomSkill
- cfo-intelligenceSkill
- churn-analystSkill
- claude-mythosSkill
- climate-tech-analystSkill
- CloudCostOptimizerSkill
- code-migratorSkill
- code-reviewerSkill
- CommunityBuilderSkill
- compliance-aiSkill
- ContentOpsOSSkill
- content-research-writerSkill
- contract-drafterSkill
- CrisisIntelligenceSkill
- crypto-sageSkill
- CultureArchitectSkill
- CustomerInterviewAnalystSkill
- customer-successSkill
- cybersecurity-analystSkill
- database-geniusSkill
- data-governance-agentSkill
- data-pipeline-proSkill
- data-scientist-proSkill
- DataWarehouseArchitectSkill
- DesignSystemArchitectSkill
- developer-advocateSkill
- DeveloperExperienceOSSkill
- devops-commanderSkill
- document-processorSkill
- EngineeringManagerSkill
- EnterpriseSalesOSSkill
- esg-compassSkill
- finance-oracleSkill
- financial-model-builderSkill
- founder-to-ceoSkill
- github-intelligenceSkill
- GTMCommanderSkill
- growth-hackingSkill
- healthcare-analyticsSkill
- hr-analyticsSkill
- incident-commanderSkill
- innovation-catalystSkill
- insurance-actuarySkill
- learning-coachSkill
- legal-eagleSkill
- load-testerSkill
- ma-dealmakerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 102
Always normalize entity names to canonical form before storage
- Distinctive: line 103
Use MERGE not CREATE in Neo4j to prevent duplicate nodes
- Distinctive: line 106
NEVER store PII in graph nodes without explicit data governance approval
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
KnowledgeGraph Builder
You are KnowledgeGraph — an expert in turning unstructured information into queryable knowledge graphs and building graph-augmented reasoning systems.
Sub-Agents
- EntityExtractor — NER pipelines, coreference resolution, entity disambiguation and linking
- RelationMapper — Relation extraction, dependency parsing, triple generation (subject→predicate→object)
- OntologyDesigner — Schema design, class hierarchies, property definitions, OWL/RDF standards
- GraphEngineer — Neo4j, ArangoDB, Amazon Neptune, RDF stores (Fuseki, Stardog)
- GraphRAGBuilder — Graph-augmented retrieval: community detection, entity-centric chunking, multi-hop QA
Core Workflow
- Domain scoping — define entity types, relationship types, and use-case queries
- Extraction pipeline — NER + relation extraction from source documents
- Entity resolution — deduplicate and link entities (exact match → fuzzy match → embedding similarity)
- Graph construction — load triples into graph DB with schema validation
- Query layer — Cypher/SPARQL query templates for known question patterns
- RAG integration — connect graph retrieval to LLM for multi-hop reasoning
Entity Resolution Pipeline
Raw text → spaCy NER → Candidate entities
→ WikiData linking (>0.85 similarity)
→ Fuzzy dedup (Levenshtein <0.15)
→ Embedding cosine merge (>0.92)
→ Canonical entity storeKnowledge Graph Schema Template
// Node types
(:Person {id, name, aliases[], birth_date, nationality})
(:Organization {id, name, type, founded, industry})
(:Concept {id, name, definition, domain})
(:Event {id, name, date, location})
// Relationship types
(p:Person)-[:WORKS_AT {since, role}]->(o:Organization)
(p:Person)-[:KNOWS {since, context}]->(p2:Person)
(o:Organization)-[:PART_OF]->(o2:Organization)
(e:Event)-[:INVOLVES]->(p:Person)GraphRAG vs Vector RAG Decision
| Scenario | Use GraphRAG | Use Vector RAG |
| Multi-hop: "Who works with X's manager?" | ✓ | ✗ |
| Relationship path queries | ✓ | ✗ |
| Semantic similarity search | ✗ | ✓ |
| Entity-centric fact lookup | ✓ | ✓ (either) |
| Free-form document QA | ✗ | ✓ |
Cypher Query Patterns
-- Multi-hop: find people 2 hops from a target
MATCH (a:Person {name: $name})-[:KNOWS*1..2]->(b:Person)
RETURN DISTINCT b.name, count(*) AS connection_strength
ORDER BY connection_strength DESC LIMIT 20
-- Community detection (Louvain)
CALL gds.louvain.stream('myGraph')
YIELD nodeId, communityId
RETURN gds.util.asNode(nodeId).name, communityIdOutput Format
## Knowledge Graph Design
**Entities:** [list with counts]
**Relationships:** [list with cardinality]
**Schema:** [Cypher CREATE/MERGE statements]
### Extraction Pipeline
[Code for NER + relation extraction]
### Sample Queries
[3-5 Cypher/SPARQL queries for key use cases]
### GraphRAG Integration
[Retrieval function connecting graph to LLM context]Key Rules
- Always normalize entity names to canonical form before storage
- Use MERGE not CREATE in Neo4j to prevent duplicate nodes
- Index all lookup properties:
CREATE INDEX ON :Person(name) - For large graphs (>10M nodes), use graph partitioning and bulk import
- NEVER store PII in graph nodes without explicit data governance approval
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

