본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트14k · #11143

change

하는 일

이 스킬은 Semantica 지식 그래프와 그 온톨로지가 시간이 지나며 어떻게 바뀌었는지 보여 줍니다. 두 시점의 그래프를 비교하거나, 용어 구조가 어떻게 발전했는지 봐야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓특정 과거 날짜에 그래프가 어떤 모습이었는지 보고 싶을 때.
  • ✓두 날짜 사이에 그래프에 무엇이 추가되었는지 비교하고 싶을 때.
  • ✓용어를 정의하는 구조인 온톨로지의 두 버전을 비교해야 할 때.

스킬 링크

https://github.com/semantica-agi/semantica/blob/main/plugins/skills/change/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/semantica-agi/semantica/blob/main/plugins/skills/change/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“6월 1일의 지식 그래프 모습을 보여 주고, 9월까지 무엇이 추가되었는지 알려 줄 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 선택한 날짜에 맞는 그래프의 저장된 상태를 불러오고, 노드 ID를 맞춰 다른 날짜와 비교합니다. 온톨로지 버전은 그래프 이력과 다르므로, 별도의 버전 관리자를 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

자주 묻는 질문

감사 기록과 같은 것인가요?

아니요. 노드 이력은 출처 기록이지만, 이 스킬은 그래프 전체와 온톨로지의 변화를 살펴봅니다.

한 노드를 누가 바꿨는지 보여 줄 수 있나요?

네. node history 명령을 쓰면 그 노드에 손댄 사람을 나열할 수 있습니다.

어떤 날짜 형식이 작동하나요?

텍스트 날짜, 숫자, 날짜와 시간 값으로 시점을 고를 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
14k
순위
#11143
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬