Converts a Self-Improving Agent skill's .learnings/ directory (3.8K ClawHub installs) into a properly structured ExpertPack.
Supported sources:
cd /root/.openclaw/workspace/ExpertPack/skills/self-improving-to-expertpack
python3 scripts/convert.py \
--workspace /path/to/your/workspace \
--output ~/expertpacks/my-learnings-pack \
[--name "My Agent's Learnings"] \
[--type auto|person|agent|process]
Override .learnings/ location with --learnings /path/to/.learnings.
A complete ExpertPack conforming to schema 2.3:
manifest.yaml (with context tiers, EK stub)overview.md summarizing conversion (entry counts, categories, priority breakdown)mind/ — best practices, conventions, behavioral patterns, promoted rulesfacts/ — knowledge gaps filled, project-specific factsoperational/ — error resolutions, tool gotchas, integration fixessummaries/ — pattern analyses, recurring issue summariesrelationships/ — cross-references between related entries_index.md files, lead summaries, glossary.md (if terms/tags found)relations.yaml (from See Also links and shared tags)Secrets are automatically stripped (sk-, ghp_, tokens, passwords). Warnings emitted for any found.
cd ~/expertpacks/my-learnings-packpython3 /path/to/expertpack/tools/eval-ek.py .overview.md and manifest.yamlLearn more: https://expertpack.ai • ClawHub expertpack skill
See also: Self-Improving Agent skill on ClawHub.
共 2 个版本