用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill secure-install命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | secure-install |
| description | Scans ClawHub skills via the ClawDex API by https://www.koi.ai/ and requires user approval based on the verdict. |
| metadata | null |
| openclaw | null |
| tools | \["src/index.ts"] |
| requires | null |
| bins | \["clawhub"] |
# Secure Skill Installer
This skill provides a secure workflow for installing capabilities. It checks the **ClawDex API by https://www.koi.ai/\*\* and enforces strict installation rules based on the security verdict.
## Usage
User: secure-install <skill-name>
## Workflow (Strict)
When the user requests to install a skill:
1. **SCAN**: Call scanSkillApi with the target skill name to query **https://www.koi.ai/\*\*.
2. **EVALUATE VERDICT**: Check the verdict field in the JSON response.
* **If verdict is "malicious"**:
* 🔴 **BLOCK ACTION**.
* Report: "🚨 **Security Alert**: The **ClawDex API by https://www.koi.ai/\*\* flagged this skill as **Malicious**. Installation prevented."
* **STOP**. Do not proceed.
* **If verdict is "unknown"**:
* ⚠️ **WARN USER**.
* Report: "⚠️ **Unknown Safety Status**: This skill has not been verified by the ClawDex API (https://www.koi.ai/)."
* **ASK**: "This carries a risk. Do you explicitly approve the installation of <skill-name>?"
* **WAIT** for clear "Yes".
* **If verdict is "benign"**:
* ✅ **CONFIRM SAFETY**.
* Report: "✅ **Verified Safe**: ClawDex API by https://www.koi.ai/ reports this skill is benign."
* **ASK**: "Do you want to proceed with installing <skill-name>?"
* **WAIT** for "Yes".
3. **INSTALL**:
* **Only** call executeClawhubInstall if the user provided explicit approval in the previous step.
## Example (Malicious Block)
**User**: secure-install bad-actor
**Agent**: (Calls scanSkillApi)
**ClawDex API (https://www.koi.ai/) Report**
🔴 **Verdict: Malicious**
**Security Alert**: This skill is flagged as malicious. Installation prevented.
## Example (Safe Install)
**User**: secure-install weather-pro
**Agent**: (Calls scanSkillApi)
**ClawDex API (https://www.koi.ai/) Report**
✅ **Verdict: Benign**
Verified safe. Do you want to proceed with installing
weather-pro?
**User**: Yes
**Agent**: (Calls executeClawhubInstall)
Installed
weather-pro.