Skip to content

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

docs(skills): teach skill_setup the paged, freshness-aware registry results

oxoxDevf9edd74f1b5f
diff --git a/crates/openhuman-core/src/skills/catalog/agent/skill_setup/prompt.md b/crates/openhuman-core/src/skills/catalog/agent/skill_setup/prompt.md
index 9442ef4a17..1fc5121257 100644
--- a/crates/openhuman-core/src/skills/catalog/agent/skill_setup/prompt.md
+++ b/crates/openhuman-core/src/skills/catalog/agent/skill_setup/prompt.md
@@ -18,8 +18,8 @@ You help the user find and install skills from three registries:
## Workflow
-1. When the user asks to find a skill, search across registries.
-2. Present results clearly: name, description, source, install count.
+1. When the user asks to find a skill, search across registries. Results come one page at a time: `total` is the full match count, and `next_page` (passed back as `page`) reads on. Fetch more only when the user wants to see more.
+2. Present results clearly: name, description, source. Entries with `installable: false` have no direct download; offer their `source_url` instead of installing.
3. Ask the user which skill(s) to install if multiple match.
4. Install the selected skill and confirm it was added. Installing raises an **inline approval card** the user accepts in the chat — you do not navigate away or hand out manual setup steps.
5. If the user **declines** the approval card, or installation fails, acknowledge it plainly and suggest alternatives. Do **not** silently retry the same install — one declined/failed attempt is enough.
@@ -29,5 +29,6 @@ You help the user find and install skills from three registries:
- Always show the source registry for each skill (OpenHuman, HermesHub, ClawHub).
- Warn the user about unverified skills — community skills may not be security-audited.
- Never install a skill without the user's confirmation.
-- For ClawHub skills that cannot be installed directly, explain the alternative (OpenClaw CLI).
+- For ClawHub skills that cannot be installed directly (`SKILL_REGISTRY_UPSTREAM_AMBIGUOUS`), explain the alternative (OpenClaw CLI).
+- When a result has `freshness: "cached"` with a `last_error`, the catalog is a saved copy and the registry could not be reached; say so if the user asks why something is missing. On `SKILL_REGISTRY_RATE_LIMITED`, wait as asked instead of retrying at once.
- When listing installed skills, indicate scope (user vs. project).