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

causal

하는 일

이 스킬은 Semantica 지식 그래프의 원인과 결과 관계를 분석합니다. 예를 들어 어떤 결정이 어떤 결과로 이어졌는지 보여 줍니다. 어떤 요인이 결과를 이끌었고 변경이 무엇을 바꿀지 알고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓특정 결정이나 결과의 원인이 무엇인지 알고 싶을 때.
  • ✓하나의 선택이 이후 어떤 결정에 영향을 주었는지 보고 싶을 때.
  • ✓다른 행동을 했다면 어땠을지 가정 질문을 하고 싶을 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“지난번 공급업체 승인 결정이 무엇 때문에 이루어졌고, 이후 어떤 결정에 영향을 주었는지 보여 줄 수 있나요?”

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

작동 방식

에이전트는 그래프의 연결을 따라 상류로는 원인을, 하류로는 결과를 찾습니다. 그다음 한 결정이 다른 결정에 얼마나 강하게 영향을 주었는지 점수를 매기고, 단계의 사슬을 요약과 함께 보고합니다.

기술 내용 (원본 SKILL.md)

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

/semantica:causal

Analyze causal relationships and infer impacts. Usage: /semantica:causal <task> [args]

$ARGUMENTS = task + optional target entity, filter, or intervention.


chain [--subject <node>] [--depth N]

Build and inspect causal chains for a subject or category.

from semantica.context.causal_analyzer import CausalChainAnalyzer
from semantica.context import AgentContext

# Option 1: Use an existing AgentContext decision backend
chain = ctx.get_causal_chain(
    decision_id=decision_id,
    direction="upstream",
    max_depth=depth,
)

# Option 2: Use CausalChainAnalyzer directly
analyzer = CausalChainAnalyzer(graph_store=ctx.knowledge_graph)
downstream = analyzer.get_causal_chain(
    decision_id=decision_id,
    direction="downstream",
    max_depth=depth,
)

Output: chain steps, cause strength, effect reach, and summary graph.


intervene <node> <action> [--scenario <json>]

Analyze decision impact and influenced decisions (current causal API).

analyzer = CausalChainAnalyzer(graph_store=ctx.knowledge_graph)
impact_score = analyzer.get_causal_impact_score(decision_id=decision_id)
influenced = analyzer.get_influenced_decisions(
    decision_id=decision_id,
    max_depth=depth,
)

Return: impact score, influenced decisions, and downstream scope.


counterfactual <fact> [--weight N]

Trace root causes and temporal causal paths.

analyzer = CausalChainAnalyzer(graph_store=ctx.knowledge_graph)
roots = analyzer.find_root_causes(decision_id=decision_id, max_depth=depth)
historical_chain = analyzer.trace_at_time(
    event_id=decision_id,
    at_time="2026-01-01T00:00:00Z",
    direction="upstream",
    max_depth=depth,
)

Output: root decision lineage and time-bounded causal context.

자주 묻는 질문

인과 사슬이란 무엇인가요?

한 사건이 다음 사건으로 어떻게 이어졌는지 보여 주는 연결된 단계의 흐름입니다.

미래를 예측하나요?

아니요. 이미 그래프에 기록된 연결을 바탕으로 영향력을 측정합니다.

가정 질문을 테스트할 수 있나요?

네. 반사실(counterfactual) 질문을 탐색할 수 있지만, 답은 저장된 연결에 따라 달라집니다.

상세 정보

작성자의 원본 설명

Analyze cause-and-effect relationships in the Semantica knowledge graph — causal chains, interventions, counterfactuals, and causal influence scores.

repo: semantica-agi/semantica

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬