Xpersona
E

ExpertPack

CLAWHUB · Unverified

Work with ExpertPacks — structured knowledge packs for AI agents. Obsidian-compatible: every pack is a valid Obsidian vault with Dataview support. Use when:... Skill: ExpertPack Owner: brianhearn Summary: Work with ExpertPacks — structured knowledge packs for AI agents. Obsidian-compatible: every pack is a valid Obsidian vault with Dataview support. Use when:... Tags: latest:1.4.1 Version history: v1.4.1 | 2026-04-21T15:49:29.306Z | user Schema refs updated to v4.1; removed private instance/EZT references; repo URLs updated to brianhearn/expert-pack v1.3.1 | 2026-04-14T19:2

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17edk00zzwdjx7cfx3e4xh0ys83kd03:expertpack
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-brianhearn-expertpack/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,563 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: expertpack
description: "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."
metadata:
  openclaw:
    homepage: https://expertpack.ai
---

# ExpertPack

Structured knowledge packs for AI agents. Maximize the knowledge your AI is missing.

**Learn more:** [expertpack.ai](https://expertpack.ai) · [GitHub](https://github.com/brianhearn/ExpertPack) · [Schema docs](https://expertpack.ai/#schemas) · [Obsidian compatible](https://expertpack.ai/#obsidian)

> **💎 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](https://github.com/brianhearn/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
2. Read `overview.md` — understand what the pack covers
3. Load all Tier 1 (always) files into session context
4. For queries: search Tier 2 (searchable) files via RAG or `_index.md` navigation
5. Load Tier 3 (on-demand) only on explicit request (verbatim transcri

_meta.json

{
  "ownerId": "kn7cah48cnp7p6tjs0ktvnebj182mywc",
  "slug": "expertpack",
  "version": "1.4.1",
  "publishedAt": 1776786569306
}

references/consumption.md

# Consumption Reference

How to deploy an ExpertPack as the knowledge backend for an AI agent.

## Core Principles

1. **Pack value ∝ EK ratio.** Content the model already knows is dead weight.
2. **Retrieval precision > model capability.** A weaker model with precise context beats a stronger model with sloppy retrieval.
3. **Three independent quality dimensions:** Structure (the pack), Model (the LLM), Agent Training (system prompts). Improve one at a time.

## Platform Integration

### OpenClaw

Add pack to `memorySearch.extraPaths` in `openclaw.json`:

```json
{
  "agents": {
    "defaults": {
      "memorySearch": {
        "extraPaths": ["path/to/pack"],
        "chunking": { "tokens": 1000, "overlap": 0 },
        "query": {
          "maxResults": 10,
          "hybrid": {
            "enabled": true,
            "mmr": { "enabled": true, "lambda": 0.7 },
            "temporalDecay": { "enabled": false }
          }
        }
      }
    }
  }
}
```

- **tokens:1000** — above 800-token file ceiling; files pass through whole
- **overlap:0** — self-contained files; no duplication needed
- **maxResults:10** — more slots for many small precise files
- **MMR (λ=0.7)** — prevents duplicate proposition/summary/content results
- **Temporal decay off** — pack knowledge doesn't expire

### IDE Agents (Cursor, Claude Code)

Place the pack in the project directory. Reference from `.cursorrules` or `CLAUDE.md`. The small-file structure (400–800 tokens per file) is already optimized for any chunker. No pre-processing needed.

### Custom / API

Feed `.md` files into your vector store. Respect context tiers from `manifest.yaml`:
- **Tier 1 (Always):** Include in every prompt as system context
- **Tier 2 (Searchable):** Index in vector store for retrieval
- **Tier 3 (On-demand):** Skip indexing; load only on explicit request

### Direct Context Window (Small Packs)

Packs under ~20 files / 30KB: skip RAG. Concatenate Tier 1 + Tier 2 files directly into system prompt.

## Retrieval-Ready Design & Evidence

**Author files to 400–800 tokens** so the schema prevents large files: every file passes through RAG chunkers intact as a self-contained unit.

Results from 6 controlled experiments on a deployed product pack (204 source files, 50-question eval):

| Change | Correctness | Hallucination | Tokens | Verdict |
|--------|------------|---------------|--------|---------|
| **Baseline** (generic chunks, GPT-5 Mini) | 79.0% | 10.0% | 4,372 | Starting point |
| File splitting alone | 76.9% (-2.1%) | 12.0% (+2%) | 3,686 | ❌ Lost context |
| Prose compaction (~40% denser) | 76.8% (-2.2%) | 14.0% (+4%) | 3,721 | ❌ Harder to parse |
| Summaries + propositions + splits | 78.7% (-0.3%) | 6.0% (-4%) | 3,733 | ✅ First quality win |
| Model upgrade (GPT-5.3 Chat) | 80.1% (+1.1%) | 4.0% (-6%) | 3,050 | ✅ Better reasoning |
| **Schema-aware chunking** (GPT-5 Mini) | **88.4%** (+9.4%*) | **4.0%** (-6%) | **2,111** (-52%) | 🔥 Best single change |

\* Note: +9.4% measured at `c

references/hydration.md

# Hydration Reference

The complete lifecycle for filling an ExpertPack with knowledge.

**Core principle:** The goal is not to document everything — it's to document what only this pack can provide. Every hydration decision filters through the EK lens: *Does the model already know this? If yes, minimize. If no, maximize.*

## Source Audit

Before populating, inventory everything available:

- **Existing documentation** — docs, help articles, wikis, READMEs
- **Technical artifacts** — source code, schemas, configs
- **Visual materials** — screenshots, diagrams, UI mockups
- **Video content** — tutorials, demos, training recordings
- **Human experts** — tribal knowledge holders
- **Feedback channels** — support tickets, forums, reviews, bug trackers
- **Published works** (person packs) — books, articles, social media, interviews

## EK Potential by Source Type

| Source Type | Typical EK Density | Notes |
|------------|-------------------|-------|
| Expert tribal knowledge | Very High | Exists only in human heads |
| Undocumented code behavior | High | Real vs. documented behavior |
| Support tickets / complaints | High | Real pain points models can't invent |
| Internal decision records | High | The "why" behind choices |
| Community forums (Reddit, GH Issues) | High | Gotchas, version bugs, compatibility quirks |
| Conference talks / interviews | Medium-High | Practitioner perspective |
| Official documentation | Low-Medium | Often well-represented in training data |
| Technology primers / overviews | Low | Models already know this |

**Priority:** Mine high-EK sources first. Official docs last (and only for scaffolding).

## EK Triage Process

For every piece of extracted content:

1. **Extract** an atomic factual proposition
2. **Blind-probe** 2-3 frontier models with a question derived from the proposition (no pack loaded)
3. **Score** the responses against ground truth:
   - Models get it right → **GK** (general knowledge) → compress to one-line scaffolding
   - Models get it partially right → **Partial** → include but don't over-invest
   - Models get it wrong / refuse → **EK** (esoteric) → full treatment: detailed content, propositions, lead summaries
4. **File** based on classification

**Common-knowledge compaction rule:** When GK must be present for completeness, one sentence max. Link to the esoteric content that depends on it.

Good: `**Zigbee** — Low-power mesh protocol (2.4 GHz, 65K nodes). See [protocols.md](concepts/protocols.md) for HA-specific coordinator firmware quirks.`

Bad: Three paragraphs explaining what Zigbee is and how mesh networking works.

## Hydration Priority Matrix

| Content Type | EK Likelihood | Hydration Priority | Treatment |
|-------------|--------------|-------------------|-----------|
| Practitioner workflows / "how we actually do it" | Very High | 🔴 Highest | Full extraction, propositions, lead summaries |
| Failure modes / gotchas / edge cases | Very High | 🔴 Highest | Detailed with examples |
| Confi

references/schemas.md

# ExpertPack Schemas Reference

Condensed from the full schemas in the ExpertPack repo. Use this when creating or validating packs.

## Pack Types

**person** - Human knowledge (stories, mind, relationships)
**person:agent** - AI agent operational identity, prescriptive mind, tools
**product** - Product concepts, workflows, troubleshooting
**process** - Sequential phases, decisions, checklists
**composite** - Orchestrates multiple packs with roles and conflict rules

## Core Files (all packs)
- `manifest.yaml` - Required. Declares type, version, tiers, EK ratio.
- `overview.md` - Required. Entry point with lead summary.

## Context Tier System
Declared in manifest.yaml:
- **Tier 1 (always)**: Loaded in every session (manifest, overview, glossary). Keep total <5KB.
- **Tier 2 (searchable)**: Indexed for RAG retrieval.
- **Tier 3 (on-demand)**: Loaded only on explicit request (verbatim, raw data).

## EK Ratio in Manifest
```yaml
ek_ratio:
  value: 0.78
  measured_at: "2026-03-01"
  sample_size: 240
  models: ["gpt-4.1", "claude-3.7"]
```

## File Size & Naming Rules
- 1-3KB preferred per content file
- kebab-case for filenames and slugs
- Markdown canonical: all knowledge in .md
- One topic per file
- ## headers for chunk boundaries

## Product Pack Structure
```
manifest.yaml
overview.md
concepts/
workflows/
interfaces/
troubleshooting/
faq/
glossary.md
```

## Process Pack Structure
```
manifest.yaml
overview.md
phases/
decisions/
checklists/
gotchas/
```

## Person Pack Structure
```
manifest.yaml
overview.md
facts/
mind/
relationships/
presentation/
summaries/
meta/privacy.md
```

## Agent Pack (person:agent)
Adds operational/, mind/ with values, skills, tensions, etc.

## Composite Manifest
```yaml
type: composite
packs:
  - path: "../packs/some-pack"
    role: knowledge
conflicts:
  priority: [...]
```

## Entity Relation Graph (optional)
`relations.yaml` at pack root — typed, directional relationships between entities.
Use for packs with 20+ cross-referencing entities, especially product packs and composites.

```yaml
entities:
  - id: territory
    type: concept
    label: "Territory"
    file: concepts/territories.md
relations:
  - from: territory
    rel: contains
    to: account
    properties:
      cardinality: one_to_many
```

Navigation aid, not content. Markdown files always win on conflicts. Aim for 15–30 key relationships, not exhaustive graphs.

## Chunking Strategy (schema 2.4+)
Content files declare how they should be chunked for RAG via directory defaults or frontmatter override.

**Strategies:** `atomic` (never split) or `sectioned` (split on ## headers, default).

**Directory defaults:**
- `workflows/` → atomic (procedures are indivisible)
- `troubleshooting/errors/`, `troubleshooting/diagnostics/`, `troubleshooting/common-mistakes/` → atomic
- `interfaces/`, `concepts/`, `faq/`, `propositions/`, `summaries/`, `commercial/` → sectioned
- All others → sectioned

**Per-file override:**
```yaml
---
retrieval:
  strategy: atomi

Sponsored

Ads related to ExpertPack and adjacent AI workflows.