Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(skills): document the catalog store and its cache dir

Steven Enamakelb3b7bdce8493
diff --git a/Cargo.lock b/Cargo.lock
index 2f078618e4..20e7a67924 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4618,6 +4618,7 @@ dependencies = [
"tinyredact",
"tinysearch-bus",
"tinyskills",
+ "tinyskills-drivers",
"tinystoragedrivers",
"tinystoragedrivers-bus 0.7.0",
"tinystoragedrivers-client",
@@ -8183,6 +8184,18 @@ dependencies = [
"url",
]
+[[package]]
+name = "tinyskills-drivers"
+version = "0.4.0"
+dependencies = [
+ "cap-std",
+ "serde_json",
+ "thiserror 2.0.20",
+ "tinyskills",
+ "tinystoragedrivers-core 0.7.0",
+ "tokio",
+]
+
[[package]]
name = "tinystoragedrivers"
version = "0.7.0"
diff --git a/crates/openhuman-core/src/skills/catalog/README.md b/crates/openhuman-core/src/skills/catalog/README.md
index 7a6a1baab6..4a14a4743b 100644
--- a/crates/openhuman-core/src/skills/catalog/README.md
+++ b/crates/openhuman-core/src/skills/catalog/README.md
@@ -36,7 +36,8 @@ into the user skills directory.
| File | Purpose |
| --- | --- |
| [`mod.rs`](./mod.rs) | Feature gate (`skills` Cargo feature) and module wiring; re-exports the controller aggregators, `skill_registry`, `ReqwestTransport` and `HERMES_REGISTRY_ID` |
-| [`registry.rs`](./registry.rs) | `RegistryConfig` (environment knobs below), the process registry handle, the `FileCatalogStore` location |
+| [`registry.rs`](./registry.rs) | `RegistryConfig` (environment knobs below), the process registry handle |
+| [`store.rs`](./store.rs) | `HostCatalogStore`, the registry's `CatalogStore` on the storage backend (`tinyskills_catalogs/<registry>` documents under the acting scope); imports a legacy `<cache dir>/<registry>.json` once, never modifies it |
| [`transport.rs`](./transport.rs) | `ReqwestTransport`, the `tinyskills::RegistryTransport` implementation (pinned addresses, no redirects, no proxy, cached clients) |
| [`ops.rs`](./ops.rs) | Boot warm-up, paged browse/search, facets, detail, `install_from_catalog`, registry error messages and Sentry reporting |
| [`tools.rs`](./tools.rs) | LLM-callable tools `skill_registry_browse`, `skill_registry_search`, `skill_registry_sources`, `skill_registry_install`, `skill_registry_uninstall` |
@@ -119,7 +120,7 @@ Environment overrides for prod scripts and deterministic tests:
| --- | --- |
| `OPENHUMAN_SKILL_REGISTRY_CATALOG_URL` | Read the Hermes index from this URL |
| `OPENHUMAN_SKILL_REGISTRY_DOWNLOAD_BASE_URL` | Serve every `SKILL.md` from `<base>/<name>/SKILL.md` |
-| `OPENHUMAN_SKILL_REGISTRY_CACHE_DIR` | Catalog store directory (default `~/.openhuman/skill-registry`, file `hermes.json`) |
+| `OPENHUMAN_SKILL_REGISTRY_CACHE_DIR` | Cache directory (default `~/.openhuman/skill-registry`): the legacy `hermes.json` to import and, with no backend installed, the workspace holding the default backend's `storage/` |
| `OPENHUMAN_SKILL_REGISTRY_REFRESH_ON_BOOT=0` | Skip the startup warm-up |
| `OPENHUMAN_SKILL_INSTALL_ALLOW_LOCAL_HTTP=1` | Allow plain `http` to loopback hosts (fixtures, local mirrors) |