deduplicate
What it does
This skill finds duplicate records in a Semantica knowledge graph, such as two entries for the same company spelled differently. It is for people who want a clean graph with each real-world thing listed once.
When to use it
- ✓When you suspect the same person or company appears more than once in your data.
- ✓When you want to tidy up repeated relationships between the same items.
- ✓When you want suggestions on which entry to keep when merging duplicates.
Skill link
https://github.com/semantica-agi/semantica/blob/main/plugins/skills/deduplicate/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you find duplicate company names in my knowledge graph and suggest which entries to merge?”
5 new skills a week. 1 minute to read.
How it works
The agent compares entries using fuzzy text matching, schema hints and graph similarity, then groups the likely matches. It recommends a representative entry for each group.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/semantica:deduplicate
Remove duplicates from the knowledge graph. Usage: /semantica:deduplicate <strategy> [args]
$ARGUMENTS = deduplication strategy + optional entity or threshold.
entities [--threshold <score>] [--field <name>]
Detect duplicate entities and group them by similarity.
from semantica.deduplication import DuplicateDetector
finder = DuplicateDetector()
candidates = finder.detect_duplicates(entities, threshold=threshold)
groups = finder.detect_duplicate_groups(entities, threshold=threshold)
Output: duplicate candidate list, duplicate groups, and representative merge recommendations.
relations [--similarity <score>]
Detect duplicate relationships and normalize edge representations.
from semantica.deduplication import DuplicateDetector
finder = DuplicateDetector()
relations = finder.detect_duplicates(relation_list, threshold=similarity)
Result: duplicate relation candidates, normalized relationship groups, and cleanup summary.
FAQ
How does it decide two entries match?
It uses fuzzy text matching, schema heuristics and graph similarity together.
Can it check relationships too?
Yes. It also finds duplicate relationships and groups them so the graph can be cleaned up.
Can I set how close a match must be?
Yes. A similarity threshold can be set to control how strict the matching is.
Details
Original description by the author
Detect duplicate entities, duplicate groups, and relationship duplicates in Semantica using fuzzy matching, schema heuristics, and graph similarity.
repo: semantica-agi/semantica
Popularity
- GitHub stars
- 14k
- Ranking position
- #11145
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
semantica
14kGives your agent a full toolkit for knowledge graphs, covering extraction, reasoning, provenance, ontologies, policies and exports.
causal
14kHelps your agent trace cause-and-effect links in a knowledge graph, including chains of causes, what-if scenarios and influence scores.
change
14kShows your agent how a knowledge graph looked at an earlier date, and what changed between two dates or two ontology versions.
decision
14kHelps your agent record, search, explain and review decisions in a knowledge graph, from the first note through to its outcome.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.