ontology-causal-enhanced

结构化知识图谱 + 因果推理系统。整合 oswalpalash/ontology 和 oswalpalash/causal-inference。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ontology-causal-enhanced" with this command: npx skills add 2233admin/ontology-enhanced

Ontology + Causal Enhanced

整合版:知识图谱 + 因果推理 + Markdown 输出

基于:

组件

  1. ontology-md - 知识图谱(实体+关系+约束验证)
  2. causal-md - 因果推理(动作记录+效果估算+历史回填)

触发词

组件触发词
ontology"记住", "what do I know", "link X to Y", "show dependencies"
causal"记录动作", "做了什么", "why failed", "预测效果"

Ontology 功能

核心类型

  • Person, Organization
  • Project, Task, Goal
  • Event, Location
  • Document, Message, Note
  • Account, Device, Credential

使用

# 创建实体
python3 skills/ontology-md/scripts/ontology.py create --type Person --props '{"name":"Alice"}'

# 查询
python3 skills/ontology-md/scripts/ontology.py query --type Task --where '{"status":"open"}'

# 关联
python3 skills/ontology-md/scripts/ontology.py relate --from proj_001 --rel has_task --to task_001

# 验证
python3 skills/ontology-md/scripts/ontology.py validate

Causal 功能

使用

# 记录动作
python3 skills/causal-md/scripts/log_action.py --action send_email --outcome reply_received

# 估算效果
python3 skills/causal-md/scripts/estimate_effect.py --action send_email --context '{"time":"morning"}'

# 回填历史
python3 skills/causal-md/scripts/backfill_email.py /path/to/email.json

数据目录

memory/
├── ontology/
│   ├── graph.jsonl    # 实体+关系
│   ├── schema.yaml    # 约束定义
│   └── entities.md    # 导出(兼容 memory_search)
└── causal/
    └── actions.jsonl  # 动作日志

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

地藏经药师经智慧

地藏经药师经智慧 - 佛家孝道与救度思想,涵盖地藏本愿、药师十二愿、因果报应、消灾延寿等核心智慧,适用于道德修养、慈悲精神、身心健康

Registry SourceRecently Updated
General

Precision Oncology Zhcn

综合学术文献、流行病学报告、临床与药物指南及临床试验报告,提供关于癌症及其治疗的报告。 基于癌变机制进行详细的分子生物学和组织学分析。 当查询涉及以下内容时加载本技能: - 癌症或肿瘤 - 癌变机制 - 癌症或肿瘤的治疗 典型查询 - 乳腺癌是如何发生的? - 白血病的一线和二线治疗 - CAR-T 疗法治疗胰腺...

Registry SourceRecently Updated
General

hermes-traffic-guardian

Hermes runtime traffic monitoring baseline for opt-in proxy inspection, egress detection, and attestation-aware traffic posture.

Registry SourceRecently Updated
General

Scp Paradigm

Use when analyzing how industry structure drives firm behavior and market performance, assessing market concentration, entry barriers, or competitive dynamic...

Registry SourceRecently Updated