elite-to-expertpack
Convert Elite Longterm Memory data into a structured ExpertPack. Migrates the 5-layer memory system (SESSION-STATE hot RAM, LanceDB warm store, Git-Notes cold store, MEMORY.md curated archive, and daily journals) into ExpertPack's portable format with multi-layer retrieval, context tiers, and EK measurement. Output is Obsidian-compatible — includes YAML frontmatter on all content files and can be opened as an Obsidian vault. Use when: upgrading from Elite Longterm Memory to ExpertPack, backing up agent knowledge, or migrating to a new platform. Triggers on: 'elite to expertpack', 'convert elite memory', 'export elite memory', 'migrate elite longterm', 'upgrade memory to expertpack', 'elite memory export'.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brianhearn/elite-to-expertpackWhat This Skill Does
The elite-to-expertpack skill serves as a high-fidelity migration bridge for OpenClaw users transitioning from the legacy 5-layer Elite Longterm Memory architecture to the modern ExpertPack standard. As your agent grows, managing fragmented memory across various storage tiers—ranging from volatile session RAM to cold Git-Notes—becomes increasingly difficult. This skill automates the extraction, deduplication, and restructuring of this information into a standardized ExpertPack (schema 2.3).
By processing your existing SESSION-STATE.md, LanceDB warm storage, Git-Notes, and curated daily journals, the skill creates a clean, portable, and indexable package. It performs automated sensitive data scrubbing, removing API keys and credentials while preserving the logical structure of your agent's knowledge. The result is a unified directory structure containing categorized mind, facts, and operational data, ready for immediate ingestion into the next generation of OpenClaw infrastructure.
Installation
You can add this migration tool to your environment directly via ClawHub. Run the following command in your terminal:
clawhub install openclaw/skills/skills/brianhearn/elite-to-expertpack
Ensure your workspace has the necessary read/write permissions to access your existing .openclaw directory, as the script needs to traverse your legacy memory stores to generate the new export.
Use Cases
- System Upgrades: Moving to a fresh OpenClaw installation and needing to bring your agent’s hard-won experience with you.
- Platform Migration: Preparing agent data to be moved from a local setup to a cloud-synced environment that requires the ExpertPack format.
- Knowledge Archival: Creating a snapshot of an agent's current expertise to branch off into a new project or specialized persona.
- Audit and Cleanup: Consolidating disparate memory logs into a clean, searchable format to improve agent retrieval performance and reduce noise in long-term context windows.
Example Prompts
- "Convert my elite memory to an ExpertPack so I can move to the new framework."
- "Export my agent's elite longterm memory to a new ExpertPack folder in my home directory."
- "Migrate my existing Elite Longterm Memory to the ExpertPack format; use the auto-detection settings for the paths."
Tips & Limitations
- Deduplication: The skill prioritizes curated data (MEMORY.md) over raw logs. If you have duplicate facts across layers, the tool will favor the most recent/curated version.
- Secrets Scrubbing: While the script is designed to catch patterns like
sk-*orghp_*, always manually inspect theoverview.mdafter conversion to ensure no sensitive environment variables were persisted. - Cold Store: Be aware that processing large Git-Notes repositories may take a few minutes depending on the commit history depth.
- Post-Conversion: Always run the provided
eval-ek.pyscript after the conversion to confirm that your Knowledge Ratio (EK) is optimized before re-deploying your agent.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brianhearn-elite-to-expertpack": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
expertpack
Work with ExpertPacks — structured knowledge packs for AI agents. Obsidian-compatible: every pack is a valid Obsidian vault with Dataview support. Use when: (1) Loading/consuming an ExpertPack as agent context, (2) Creating or hydrating a new ExpertPack from scratch, (3) Configuring RAG for a pack, (4) Opening or authoring a pack in Obsidian. Triggers on: 'expertpack', 'expert pack', 'esoteric knowledge', 'knowledge pack', 'pack hydration', 'obsidian vault', 'obsidian pack'. For CLI tools (ep-validate, ep-doctor, ep-graph-export, ep-strip-frontmatter) install expertpack-cli. For EK ratio measurement and quality evals install expertpack-eval. For exporting an OpenClaw agent as an ExpertPack install expertpack-export. For converting an existing Obsidian Vault into an ExpertPack install obsidian-to-expertpack. For serving any ExpertPack as an MCP endpoint (expertise-as-a-service), see EP MCP at github.com/brianhearn/ep-mcp.
expertpack-cli
Run ExpertPack CLI tools for validating, fixing, graphing, and deploying packs. Use when: running ep-validate, ep-doctor, ep-graph-export, ep-strip-frontmatter, or ep-fix-broken-wikilinks on a local pack. Triggers on: 'validate pack', 'ep-validate', 'ep-doctor', 'fix pack errors', 'graph export', 'ep-graph-export', 'strip frontmatter', 'deploy pack', 'ep-strip-frontmatter'. Requires the ExpertPack repo cloned locally (github.com/brianhearn/ExpertPack) — tools live in tools/validator/.
expertpack-eval
Measure ExpertPack EK (Esoteric Knowledge) ratio and run automated quality evals. Use when: (1) Measuring what percentage of a pack's content frontier LLMs cannot produce on their own, (2) Running automated eval sets against a pack-powered agent with LLM-as-judge scoring. Requires OpenRouter API key (auto-resolved from OpenClaw auth or OPENROUTER_API_KEY env var). Companion to the main expertpack skill. Triggers on: 'EK ratio', 'measure EK', 'blind probe', 'eval expertpack', 'pack quality eval', 'run eval', 'esoteric knowledge ratio'. Note: packs are Obsidian-compatible — eval results (ek_score) can be added to file frontmatter and queried in Obsidian via Dataview.
self-improving-to-expertpack
Convert Self-Improving Agent learnings into a structured ExpertPack. Migrates the .learnings/ directory (LEARNINGS.md, ERRORS.md, FEATURE_REQUESTS.md) and any promoted content from workspace files into ExpertPack's portable format with multi-layer retrieval, context tiers, and EK measurement. Output is Obsidian-compatible — includes YAML frontmatter on all content files and can be opened as an Obsidian vault. Use when: upgrading from Self-Improving Agent to ExpertPack, backing up agent learnings, exporting accumulated knowledge, or migrating to a new platform. Triggers on: 'self-improving to expertpack', 'convert self-improving', 'export learnings', 'migrate self-improving', 'learnings to expertpack', 'convert learnings to pack'.
obsidian-to-expertpack
Convert an existing Obsidian Vault into an agent-ready ExpertPack. Restructures vault content for EK optimization, RAG retrieval, and OpenClaw integration. Creates a copy — source vault is never modified. Use when: a user wants to make their Obsidian Vault usable by AI agents, convert OV to EP, drop their vault into OpenClaw as a knowledge pack, or make their notes RAG-ready. Triggers on: 'obsidian to expertpack', 'obsidian vault to ep', 'convert obsidian', 'OV to EP', 'obsidian agent ready', 'make my vault ai ready', 'obsidian knowledge pack', 'obsidian rag'.