← 返回
未分类 中文

Ontology To Expertpack

Convert an Ontology skill knowledge graph into a structured ExpertPack. Use when migrating from the Ontology skill's entity/relation graph (memory/ontology/g...
将本体技能知识图转换为结构化专家包,用于从本体技能的实体/关系图迁移。
brianhearn
未分类 clawhub v1.0.1 2 版本 99847.1 Key: 无需
★ 2
Stars
📥 613
下载
💾 13
安装
2
版本
#latest

概述

Ontology to ExpertPack Converter

Converts an OpenClaw Ontology skill's append-only knowledge graph into a fully compliant ExpertPack with multi-layer retrieval support.

How to Use

Run the converter script:

python3 {skill_dir}/scripts/convert.py \
  --graph memory/ontology/graph.jsonl \
  --output ~/expertpacks/my-knowledge-pack

Optional flags:

  • --schema memory/ontology/schema.yaml — uses type definitions and relation rules
  • --name "My Knowledge Pack" — custom pack name (defaults to "Ontology Export")
  • --type auto|person|product|process|composite — override auto-detected pack type

What It Produces

A complete ExpertPack at the output directory:

  • manifest.yaml — pack identity, type, context tiers, EK metadata placeholder
  • overview.md — summary of graph contents, entity/relation counts, navigation guide
  • Content organized by mapped category (relationships/, workflows/, facts/, concepts/, operational/, governance/)
  • _index.md in each content directory
  • relations.yaml — typed entity relation graph (schema 2.3 compliant)
  • glossary.md — entity types and terms
  • Lead summaries and ## section headers for optimal chunking

Filenames use kebab-case. Content files kept under 3KB.

Post-Conversion Steps

  1. cd into the generated ExpertPack directory
  2. Verify content files are 400–800 tokens each (Schema 2.5 — no external chunker needed for correctly-sized files)
  3. Run EK evaluator to measure esoteric knowledge ratio
  4. Review and refine manifest.yaml context tiers
  5. Commit to git and share via expertpack.ai or ClawHub

See expertpack.ai and the expertpack ClawHub skill for full pack maintenance workflows.

Keep the output pack git-friendly and ready for iterative deepening.

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-05-03 04:48 安全 安全
  • v1.0.0
    2026-03-30 11:44

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ExpertPack Eval

brianhearn
Measure ExpertPack EK (Esoteric Knowledge) ratio and run automated quality evals. Use when: (1) Measuring what percentag
★ 1 📥 654

Elite To Expertpack

brianhearn
将 Elite Longterm Memory 数据转换为结构化的 ExpertPack,迁移 5 层记忆系统(SESSION-STATE 热 RAM、LanceDB 温存储、Git-Notes 列…)
★ 1 📥 618

ExpertPack

brianhearn
使用 ExpertPacks — AI 代理的结构化知识包。Obsidian兼容:每个包都是一个有效的 Obsidian 库,支持 Dataview。使用时机:...
★ 2 📥 751