DOCS · Install (CLI)

Install in OpenClaw

Where OpenClaw loads installed skills from, the openclaw.json config it records against, and how to install with the trust score checked first.

SaferSkills installs a skill into OpenClaw by writing it under ~/.openclaw/skills/ and recording the install in openclaw.json. The saferskills install command detects OpenClaw automatically, shows the capability’s trust score and five-axis breakdown, discloses that it is writing to OpenClaw, and gates on the aggregate score before any file lands. You can also install by hand from the public catalog.

Where does OpenClaw load installed skills from?

OpenClaw loads skills from ~/.openclaw/skills/, and its install registry lives in openclaw.json. SaferSkills writes a skill into the load path, records the install in the config file, and reverses exactly what it wrote on uninstall.

SettingValue
Install path~/.openclaw/skills/
Config fileopenclaw.json

These paths are the agent manifest SaferSkills ships with. SaferSkills writes only into the load path and the entries it owns in openclaw.json — it does not rewrite the rest of your OpenClaw configuration.

How do I install a skill with the CLI?

Run install with the catalog name. The CLI resolves the name to a catalog item, prints a digest, discloses that it is writing to OpenClaw, and then applies the install score gate.

npx saferskills install mcp-server-github

Before any file is written, the CLI shows the aggregate score and the five sub-scores (Security, Supply Chain, Maintenance, Transparency, Community). The gate is the aggregate: below the minimum (default 90, set with SAFERSKILLS_MIN_SCORE) it warns and confirms; a red-tier item (score under 40) requires typing its name. --yes confirms a below-threshold install; --force bypasses only the red-tier name prompt. See install and the global flags.

Inspect first with info (alias check):

npx saferskills info mcp-server-github

uninstall reverses exactly what the CLI wrote under ~/.openclaw/skills/ and in openclaw.json:

npx saferskills uninstall mcp-server-github

Can I install without the CLI?

Yes. Find the capability in the catalog, open its public report at saferskills.ai/items/<slug>, read the score and findings, then place the skill under ~/.openclaw/skills/ and register it in openclaw.json per the author’s instructions. A manual install skips the score gate and the write-disclosure, so read the report — every rule that fired, with a quotable line of evidence — before you copy anything.

What should I know about the trust boundary?

A skill in ~/.openclaw/skills/ is content the model reads, which makes it an indirect prompt injection surface: a skill body is exactly the untrusted external content OWASP ranks as the top LLM risk (LLM01

). SaferSkills scans skill bodies for that class — invisible Unicode tag-channel injection, fenced run-this imperatives, role-override jailbreaks — and reports each as a rule_id with the matched evidence.

A few boundary facts:

If you maintain a skill and a finding is wrong, the right of reply lets you prove ownership and post a public response that triggers a re-scan.

Where do I go next?