Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/semantica-agi/semantica/deduplicatenpx skills add semantica-agi/semantica --skill deduplicategit clone --depth 1 https://github.com/semantica-agi/semanticaWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.00242 |
| Opus 5 | $0.00015 | $0.00121 |
| Sonnet 5 | $0.00006 | $0.00048 |
| Haiku 4.5 | $0.00003 | $0.00024 |
Grade A, and why
deduplicate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 42 lines · 29 tokens per session scan A 77f908ee2fe8
deduplicate is a skill published in the GitHub repository semantica-agi/semantica (11,359 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 242 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ai-instruction-detox
AI 指令排毒與規則治理:把散落在 CLAUDE.md、AGENTS.md、skills、context、memory 的規則 原子化、查衝突、去重複、找過時、揪 Prompt Injection,產出可套用的精簡架構與回復方案。 觸發時機:用戶說「指令排毒」「規則太亂」「CLAUDE.md 太長」「規則互相矛盾」「上下文減肥」 「AI 設定治理」「多個 Agent 規則分裂」「context 膨脹」,或要求審查/清理 AI 指令檔。 不要觸發:一般程式重構、產品程式碼審查、單純想縮短一份文件(那是編輯不是治理)。.
compile
Compile a deterministic CIGAR context bundle for the current task with an explicit token budget and inspectable manifest.
effect
Prepare, inspect, commit, and reconcile governed CIGAR effects while preserving explicit authorization and idempotency.
why
Explain the provenance, authority, expiry, degradation state, and token accounting of CIGAR context already presented in this session.
checkpoint
Create an inspectable CIGAR checkpoint before compaction, interruption, or a meaningful task boundary.
handoff
Create or accept a recipient-specific CIGAR handoff without forwarding the parent conversation transcript.