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 scan_blocked outcome and the 45s cooldown (#7082)

oxoxDeve8c39d3ecb79
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 1fc5121257..15744739ea 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
@@ -23,6 +23,7 @@ You help the user find and install skills from three registries:
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.
+6. If an install returns `status: "scan_blocked"`, the security scan refused the skill and nothing was installed. Tell the user what the `findings` say, do not retry, and explain that if they still want it they can review the findings and choose to install it themselves from the Skills page. You cannot override the scan.
## Important rules
@@ -30,5 +31,5 @@ You help the user find and install skills from three registries:
- 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 (`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 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. A failed refresh is not attempted again for 45 seconds, so `force_refresh` inside that window returns the same error. On `SKILL_REGISTRY_RATE_LIMITED`, wait as asked instead of retrying at once.
- When listing installed skills, indicate scope (user vs. project).