change
What it does
This skill shows how a Semantica knowledge graph and its ontology changed over time. It is for people who need to compare the graph at two dates or see how its vocabulary evolved.
When to use it
- ✓When you want to see what the graph looked like on a specific earlier date.
- ✓When you want to compare the graph between two dates to see what was added.
- ✓When you need to compare two versions of the ontology, the structure that defines your terms.
Skill link
https://github.com/semantica-agi/semantica/blob/main/plugins/skills/change/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 show me what the knowledge graph looked like on June 1 and what was added by September?”
5 new skills a week. 1 minute to read.
How it works
The agent loads the graph's saved state for a chosen date and compares it with another date by matching node IDs. For ontology versions it uses a separate version manager, since graph history and ontology history are different things.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/semantica:change
Track what changed. Usage: /semantica:change <task> [args]
Two distinct mechanisms cover this, and they are not interchangeable:
Question Tool "What did the graph look like on date X?" ContextGraph.state_at()"What changed between ontology versions?" change_management.VersionManager
graph-at <timestamp> — point-in-time graph state
import os
from semantica.context import ContextGraph
graph = ContextGraph()
graph.load_from_file(os.path.expanduser("~/.semantica/kg.json")) # load_from_file does not expand ~
snapshot = graph.state_at("2026-06-01") # str | int | float | datetime
Diff two moments by comparing node IDs — state_at()["nodes"] is a list of
dicts (unhashable), so compare the id fields, not the dicts themselves:
before = graph.state_at("2026-06-01")
after = graph.state_at("2026-09-01")
before_ids = {n["id"] for n in before["nodes"]}
after_ids = {n["id"] for n in after["nodes"]}
added = after_ids - before_ids
For richer temporal work (scrubbing, evolution, temporal patterns) use
/semantica:temporal, which wraps the same layer.
node-history <node_id> — who touched this node
Node-level history is provenance, not change management:
import os
from semantica.provenance import ProvenanceManager
db_path = os.path.expanduser("~/.semantica/prov.db") # storage_path is passed to
os.makedirs(os.path.dirname(db_path), exist_ok=True) # sqlite3.connect() unexpanded
pm = ProvenanceManager(storage_path=db_path)
history = pm.revision_history(node_id)
log = pm.audit_log(since="2026-01-01")
versions / diff <v1> <v2> — ontology versioning
from semantica.change_management import VersionManager
vm = VersionManager()
vm.create_version("1.1.0", ontology)
vm.list_versions()
vm.get_latest_version()
delta = vm.compare_versions("1.0.0", "1.1.0")
delta = vm.diff_ontologies(base_ontology, target_ontology)
migrated = vm.migrate_ontology("1.0.0", "1.1.0", ontology)
TemporalVersionManager and OntologyVersionManager are also exported for
time-scoped and ontology-specific variants.
FAQ
Is this the same as the audit trail?
No. Node history is a provenance record, while this skill looks at changes to the whole graph and its ontology.
Can it show who changed a single node?
Yes, through the node history command, which lists who touched that node.
What date formats work?
A text date, a number or a datetime value can be used to pick the moment.
Details
Original description by the author
Inspect graph changes over time and ontology version diffs in Semantica. Uses ContextGraph.state_at for point-in-time graph state and change_management.VersionManager for ontology versioning.
repo: semantica-agi/semantica
Popularity
- GitHub stars
- 14k
- Ranking position
- #11143
- 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.
decision
14kHelps your agent record, search, explain and review decisions in a knowledge graph, from the first note through to its outcome.
deduplicate
14kHelps your agent find duplicate entities, groups and relationships in a knowledge graph, and suggest which copies to merge.
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.