Ontology to ExpertPack Converter
name: ontology-to-expertpack
by brianhearn · published 2026-03-22
$ claw add gh:brianhearn/brianhearn-ontology-to-expertpack---
name: ontology-to-expertpack
description: "Convert an Ontology skill knowledge graph into a structured ExpertPack. Use when migrating from the Ontology skill's entity/relation graph (memory/ontology/graph.jsonl) to ExpertPack's richer format with multi-layer retrieval, EK measurement, and portable deployment. Triggers on: 'ontology to expertpack', 'convert ontology', 'export ontology', 'migrate ontology', 'ontology graph to pack', 'upgrade ontology'. Requires the Ontology skill's graph.jsonl and optionally schema.yaml."
metadata:
openclaw:
homepage: https://expertpack.ai
requires:
bins:
- python3
---
# 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:**
What It Produces
A complete ExpertPack at the output directory:
Filenames use kebab-case. Content files kept under 3KB.
Post-Conversion Steps
1. `cd` into the generated ExpertPack directory
2. Run the ExpertPack chunker to generate `summaries/` and `propositions/`
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](https://expertpack.ai) and the `expertpack` ClawHub skill for full pack maintenance workflows.
Keep the output pack git-friendly and ready for iterative deepening.
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...