ExpertPack
Structured knowledge packs for AI agents. Maximize the knowledge your AI is missing.
Learn more: expertpack.ai · GitHub · Schema docs · Obsidian compatible
💎 Obsidian compatible: Every ExpertPack is a valid Obsidian vault. Copy the .obsidian/ folder from the ExpertPack repo template/ directory into your pack root, open it in Obsidian, and install Dataview + Templater. You get live queries by content type, EK score, and tags; graph view; and full-text search. Standard relative Markdown links — packs render correctly on GitHub and in Obsidian simultaneously.
Companion skills: This skill covers consumption and hydration guidance only. For CLI tooling (validate, doctor, graph export, frontmatter strip) use expertpack-cli. For EK measurement and quality evals use expertpack-eval. For exporting an OpenClaw agent's workspace as an ExpertPack use expertpack-export. For converting an existing Obsidian Vault into an agent-ready ExpertPack use obsidian-to-expertpack. For serving a pack as an MCP endpoint (expertise-as-a-service), see EP MCP — a generic MCP server for any ExpertPack.
Full schemas: /path/to/ExpertPack/schemas/ in the repo (core.md, person.md, product.md, process.md, composite.md, eval.md)
Pack Location
Default directory: ~/expertpacks/. Check there first, fall back to current workspace. Users can override by specifying a path.
Actions
1. Load / Consume a Pack
- 1. Read
manifest.yaml — identify type, version, context tiers - Read
overview.md — understand what the pack covers - Load all Tier 1 (always) files into session context
- For queries: search Tier 2 (searchable) files via RAG or
_index.md navigation - Load Tier 3 (on-demand) only on explicit request (verbatim transcripts, training data)
To configure OpenClaw RAG, point memorySearch.extraPaths in openclaw.json at the pack directory. Files are authored at 400–800 tokens each — retrieval-ready by design.
For detailed platform integration (Cursor, Claude Code, custom APIs, direct context window): read {skill_dir}/references/consumption.md.
Volatile files: If a pack uses volatile/ files with a source URL, staleness is checked at session start and the agent alerts you. Refresh is always user-initiated — no automatic background network fetches occur.
2. Create / Hydrate a Pack
- 1. Determine pack type: person, product, process, or composite
- Read
{skill_dir}/references/schemas.md for structural requirements - Create root directory using the pack slug (kebab-case)
- Obsidian setup (optional): Copy the
.obsidian/ folder from the template/ directory in the public ExpertPack repo (github.com/brianhearn/ExpertPack) into the pack root — the user can do this manually to get Dataview + Templater pre-configured. - Create
manifest.yaml and overview.md (both required) - Scaffold content directories per the type schema with
_index.md in each - Populate content using EK-aware hydration:
- Focus on esoteric knowledge — content the model cannot produce on its own
- Full treatment for EK content; compressed scaffolding for general knowledge
- Skip content with zero EK value
- 8. Add retrieval layers:
summaries/, propositions/, glossary.md, lead summaries in content files - Add
sources/_coverage.md documenting what was researched
For full hydration methodology and source prioritization: read {skill_dir}/references/hydration.md.
3. Configure RAG
Point OpenClaw RAG at the pack directory via openclaw.json (memorySearch.extraPaths). See {skill_dir}/references/consumption.md for the exact config. No external chunking tool needed — files are authored at 400–800 tokens by design.
4. Measure EK Ratio & Run Quality Evals
Install the companion skill expertpack-eval via clawhub — it handles all LLM API calls for blind probing and eval scoring.
5. Validate & Fix a Pack
Install the companion skill expertpack-cli via clawhub — it provides ep-validate, ep-doctor, ep-graph-export, and ep-strip-frontmatter with full command syntax and workflows.
6. Export an OpenClaw Agent as an ExpertPack
Install the companion skill expertpack-export via clawhub — it handles workspace scanning, distillation, and packaging.
ExpertPack
为AI代理设计的结构化知识包。最大化您的AI所缺失的知识。
了解更多: expertpack.ai · GitHub · Schema文档 · 兼容Obsidian
💎 兼容Obsidian: 每个ExpertPack都是一个有效的Obsidian仓库。将ExpertPack仓库template/目录中的.obsidian/文件夹复制到您的包根目录,在Obsidian中打开它,并安装Dataview + Templater。您将获得按内容类型、EK评分和标签进行的实时查询;图形视图;以及全文搜索。标准的相对Markdown链接——包在GitHub和Obsidian中同时正确渲染。
配套技能: 本技能仅涵盖消费和水化指导。对于CLI工具(验证、诊断、图形导出、前置元数据剥离),请使用expertpack-cli。对于EK测量和质量评估,请使用expertpack-eval。如需将OpenClaw代理的工作区导出为ExpertPack,请使用expertpack-export。如需将现有的Obsidian仓库转换为适合代理的ExpertPack,请使用obsidian-to-expertpack。如需将包作为MCP端点(专业知识即服务)提供,请参阅EP MCP——一个适用于任何ExpertPack的通用MCP服务器。
完整Schema: 仓库中的/path/to/ExpertPack/schemas/(core.md、person.md、product.md、process.md、composite.md、eval.md)
包位置
默认目录:~/expertpacks/。首先检查该目录,然后回退到当前工作区。用户可以通过指定路径进行覆盖。
操作
1. 加载/消费一个包
- 1. 读取manifest.yaml——识别类型、版本、上下文层级
- 读取overview.md——了解包涵盖的内容
- 将所有层级1(始终加载)文件加载到会话上下文中
- 对于查询:通过RAG或_index.md导航搜索层级2(可搜索)文件
- 仅在明确请求时加载层级3(按需加载)文件(逐字记录、训练数据)
要配置OpenClaw RAG,请在openclaw.json中将memorySearch.extraPaths指向包目录。每个文件的创作长度为400-800个token——设计上即可直接检索。
有关详细的平台集成(Cursor、Claude Code、自定义API、直接上下文窗口):请阅读{skill_dir}/references/consumption.md。
易变文件: 如果包使用带有source URL的volatile/文件,则在会话启动时检查陈旧性,代理会提醒您。刷新始终由用户发起——不会发生自动的后台网络获取。
2. 创建/水化一个包
- 1. 确定包类型:人物、产品、流程或复合
- 阅读{skilldir}/references/schemas.md了解结构要求
- 使用包slug(短横线命名法)创建根目录
- Obsidian设置(可选): 将公共ExpertPack仓库(github.com/brianhearn/ExpertPack)中template/目录的.obsidian/文件夹复制到包根目录——用户可以手动执行此操作以获取预配置的Dataview + Templater
- 创建manifest.yaml和overview.md(两者均为必需)
- 根据类型schema搭建内容目录,每个目录中包含index.md
- 使用EK感知的水化方法填充内容:
- 专注于深奥知识——模型无法自行生成的内容
- 对EK内容进行完整处理;对通用知识进行压缩搭建
- 跳过零EK值的内容
- 8. 添加检索层:summaries/、propositions/、glossary.md、内容文件中的引导摘要
- 添加记录研究内容的sources/_coverage.md
有关完整的水化方法和来源优先级:请阅读{skill_dir}/references/hydration.md。
3. 配置RAG
通过openclaw.json(memorySearch.extraPaths)将OpenClaw RAG指向包目录。有关确切配置,请参阅{skill_dir}/references/consumption.md。无需外部分块工具——文件设计为每个文件400-800个token。
4. 测量EK比率并运行质量评估
通过clawhub安装配套技能expertpack-eval——它处理所有用于盲测和评估评分的LLM API调用。
5. 验证和修复一个包
通过clawhub安装配套技能expertpack-cli——它提供ep-validate、ep-doctor、ep-graph-export和ep-strip-frontmatter,包含完整的命令语法和工作流程。
6. 将OpenClaw代理导出为ExpertPack
通过clawhub安装配套技能expertpack-export——它处理工作区扫描、提炼和打包。