Agent Skills
› semantica-agi/semantica
› change
change
GitHub用于追踪和检查 Semantica 知识图谱的变更、差异及时间更新。支持计算快照间差异、查看节点历史修订,评估新数据对图谱的影响,辅助进行数据溯源和影响分析。
Trigger Scenarios
需要对比两个时间点知识图谱的差异
查询特定节点或关系的修改历史记录
Install
npx skills add semantica-agi/semantica --skill change -g -y
SKILL.md
Frontmatter
{
"name": "change",
"description": "Track and inspect graph changes, diffs, temporal updates, and the impact of new data on Semantica knowledge graphs."
}
/semantica:change
Inspect changes over time and evaluate updates. Usage: /semantica:change <task> [args]
$ARGUMENTS = task + optional node, time window, or filter.
diff [--from <ts>] [--to <ts>] [--node <id>]
Compute graph diffs between two snapshots.
from semantica.provenance.change_tracker import ChangeTracker
from semantica.context import ContextGraph
tracker = ChangeTracker()
diff = tracker.compute_diff(from_ts=from_ts, to_ts=to_ts, node_id=node_id)
Output: added/removed nodes and edges, attribute changes, and impact summary.
history <node_id> [--limit N]
Show the change history for a node or relationship.
history = tracker.get_node_history(node_id=node_id, limit=limit)
Return: revisions, timestamps, authors, and summary comments.
Version History
- 9094f1e Current 2026-07-05 09:26


