Install
openclaw skills install expertpack-exportExport an OpenClaw instance's accumulated knowledge into a structured ExpertPack composite. Use when backing up an agent's identity, exporting for migration, or creating a portable knowledge snapshot. Handles auto-discovery (scanning workspace state to identify constituent packs), distillation (compressing raw state into structured EP files), and packaging (writing EP-compliant packs + composite manifest). Output is Obsidian-compatible — includes YAML frontmatter on all content files and can be opened as an Obsidian vault. NOT for importing/hydrating from an existing EP.
openclaw skills install expertpack-exportPart of the ExpertPack framework — a structured, portable knowledge format for AI agents.
Export an OpenClaw instance into a composite ExpertPack — an agent pack (subtype: agent) as the voice, plus person/product/process packs as knowledge constituents.
Learn more: expertpack.ai · GitHub · Schema docs
references/schemas-summary.md for the EP schema rules this export must follow.{workspace}/export/). It does NOT modify the agent's live workspace files.Run scripts/scan.py to inventory the workspace. It outputs a JSON manifest of discovered files, their categories, and proposed pack assignments.
python3 {skill_dir}/scripts/scan.py --workspace /root/.openclaw/workspace --output /tmp/ep-scan.json
Review the scan output. It proposes:
Present the proposed composite to the user:
Wait for user confirmation before proceeding.
Run scripts/distill.py for each proposed pack. It reads source files, extracts knowledge, deduplicates, and writes EP-compliant output.
python3 {skill_dir}/scripts/distill.py \
--scan /tmp/ep-scan.json \
--pack agent:easybot \
--output /root/.openclaw/workspace/export/packs/easybot/
Repeat for each pack. The script:
Run scripts/compose.py to generate the composite manifest and overview.
python3 {skill_dir}/scripts/compose.py \
--scan /tmp/ep-scan.json \
--export-dir /root/.openclaw/workspace/export/
Run scripts/validate.py to check the export against schema rules.
python3 {skill_dir}/scripts/validate.py --export-dir /root/.openclaw/workspace/export/
It checks:
Present the validation report and a summary of what was exported. The user decides whether to commit/push or adjust.
operational/tools.md and operational/infrastructure.md manually.private access.