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

provenance

하는 일

이 스킬은 Semantica 지식 그래프에서 데이터의 출처와 이력을 추적합니다. 출처, 변경, 감사 기록이 포함됩니다. 정보가 어디에서 왔는지 보여 줘야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓데이터 조각이 원래 어디에서 왔는지 알아야 할 때.
  • ✓특정 날짜 이후 개체의 변경 내용을 감사 로그로 보고 싶을 때.
  • ✓감사자나 규제 기관이 데이터 이력의 공식 기록을 요구할 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“고객 기록 C-102의 전체 계보와 출처를 보여 주고, 1월 이후 모든 변경 내용을 나열해 주세요.”

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

작동 방식

에이전트는 항목에 이르는 데이터의 사슬, 모든 출처, 개정 이력을 찾고 감사 로그를 만들 수 있습니다. 항목을 삭제하지 않고 대체됨으로 표시할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

/semantica:provenance

Lineage and audit trails. Usage: /semantica:provenance <task> [args]


lineage <entity_id> [--depth N]

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)   # SQLite, or omit for in-memory
chain = pm.lineage(entity_id, depth=3)
full  = pm.get_lineage(entity_id)          # complete ancestry
down  = pm.get_descendants(entity_id)      # what this entity influenced

sources <entity_id>

srcs = pm.get_all_sources(entity_id)       # every source that contributed
prov = pm.get_provenance(entity_id)        # the raw PROV entry
hist = pm.revision_history(entity_id)

audit [--since <iso-date>] [--format table|json]

log = pm.audit_log(since="2026-01-01", format="table")
between = pm.query_recorded_between(start, end)
stats = pm.get_statistics()

export [--format turtle|json-ld|xml]

W3C PROV-O export — this is the regulator-facing artifact.

rdf = pm.export_prov(format="turtle", base_uri="https://example.org/prov/")

invalidate <entity_id> <agent_id> [--reason ...]

Mark an entity superseded without deleting history.

pm.invalidate(entity_id, agent_id, reason="source retracted")

check [--strict]

report = pm.check(strict=False)   # integrity check over the provenance store
자주 묻는 질문

W3C PROV-O란 무엇인가요?

데이터의 출처를 설명하는 표준 방식이며, 이 스킬은 기록을 그 형식으로 내보낼 수 있습니다.

오래된 데이터를 삭제하나요?

아니요. 항목을 대체됨(superseded)으로 표시할 수 있으며, 이렇게 하면 이력이 그대로 남습니다.

기록은 어디에 저장되나요?

로컬 데이터베이스 파일에 저장하거나, 파일을 주지 않으면 메모리에만 보관할 수 있습니다.

상세 정보

작성자의 원본 설명

Trace data lineage, source attribution, audit trails, and W3C PROV-O export in Semantica graphs. Uses ProvenanceManager.

repo: semantica-agi/semantica

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬