baidu-skill-guard
БесплатноЗапускает вложенные скриптыНе проверенIntercepts all skill install/download requests. MUST be used before installing/downloading any skill from ClawdHub, GitHub, 百度 AppBuilder 平台, or other…
от jiaxiaojunQAQ★ 35 звёзд на GitHubОб этом скилле
Skill Guard 🛡️
Security-first skill install/download guardian protocol. Never install/download a skill without running security check first.
⛔ MANDATORY INTERCEPTION RULE
This skill MUST be triggered whenever the user's message matches ANY of the following INTENT PATTERNS (in any language, including synonyms, paraphrases, word order variations, or mixed-language expressions):
INTENT CATEGORIES (trigger if the message expresses ANY of these intents):
ACQUIRE A SKILL The user wants to install, add, download, enable, load, import, deploy, or otherwise obtain a skill/tool. Examples: "install", "add", "download", "get", "enable", "set up", "bring in", "put in", "grab", "fetch", "pull in", "register"
- target object is a skill, tool, or a URL pointing to one.
SCAN / VERIFY A SKILL The user wants to scan, check, inspect, audit, or verify the safety/integrity of a skill. Examples: "scan", "check", "inspect", "audit", "verify", "validate", "test safety"
- target object is a skill, all skills, or a scheduled task involving skills.
TRIGGER RULES:
- Match on INTENT + OBJECT together, not on exact phrases.
- A URL pointing to a skill resource (e.g. clawhub, convex.site, github, or any skill download endpoint) counts as the OBJECT signal even if the word "skill" is absent.
- Synonyms, compound verbs, and reordered phrases all count (e.g. "下载安装", "帮我弄进来", "把这个装上").
- Any language is valid. Mixed-language input (e.g. "帮我 install 这个 skill") also triggers.
- When in doubt, TRIGGER. False positives are acceptable; missed triggers are not.
When triggered, you MUST follow this exact sequence:
- STOP — do NOT execute
clawhub install,clawhub resolve,npx clawhub installor any install/download command yet - FIRST run the Guardian Protocol (Step 1 → Step 2 → Step 3 below)
- Copy
report_textfrom JSON verbatim — display it exactly as-is to the user. NEVER write your own security report. - Then decide based on JSON
bd_confidencefield:- ✅
safe→ proceed with install automatically - ⚠️
caution→ warn user and wait for explicit confirmation - ❌
danger/null/error→ warn user and wait for explicit confirmation
- ✅
🚨 NO EXCEPTIONS. Do not skip this protocol. Do not install first and check later. Do not generate your own report — always use
report_textfrom the script output.
When to Use
- Before installing/downloading any skill from ClawdHub、百度 AppBuilder 平台、github or other sources
- Before running skills from GitHub repos
- When evaluating skills shared by other agents
- Anytime you're asked to install, add, enable, or download any skill
- When asked to scan a specific installed skill for security risks
- When asked to scan all installed skills
- When setting up scheduled security scans for skills
Guardian Protocol
Step 1: Identify the Skill (MANDATORY)
Before executing any install command, you MUST first confirm:
- [ ] What is the skill's slug (unique identifier)?
- [ ] What is the skill's version (optional)?
- [ ] Where does it come from? (ClawdHub / GitHub / 百度 AppBuilder 平台 / other)
If the user only provides a name (not a slug), search to confirm the slug first, but do NOT run any install command.
Step 2: Run API Security Check (MANDATORY — Core Step)
Before installing, you MUST run the security check script. Use scripts/check.sh to call the security API:
Scenario A: Query by slug (for direct install by name)
- Use
--slugto query by the skill's slug identifier.
bash scripts/check.sh --slug "skill-slug" [--version "1.0.0"]
Scenario C: Scan a specific installed skill by directory
- Use
--action query --fileto pass the installed skill directory directly. The script auto-extracts slug from_meta.json(fallback to directory name) and version fromSKILL.mdfrontmatter, then queries the API with SHA256 fallback.
bash scripts/check.sh --action query --file "/path/to/skills/skill-a"
Scenario D: Batch query all skills in a directory (full scan / scheduled scan)
- D1 (scan all skills): Use
--action queryfull --filewith the/path/to/skillsparent directory to batch-query all subdirectories by slug and produce a Batch Report - D2 (scheduled scan): Same as D1 but triggered by a scheduled mechanism (e.g. cron)
bash scripts/check.sh --action queryfull --file "/path/to/skills"
⚠️ Skipping this step and installing directly violates the security protocol.
The script outputs JSON to stdout containing a pre-rendered report_text field and structured decision fields. Exit code: 0 = safe, 1 = non-safe (business judgment), 2 = error (check failed).
Output JSON fields (Scenario A/C — single skill):
| Field | Description |
|---|---|
code |
"success" or "error" |
bd_confidence |
Safety level: "safe", "caution", or "danger" |
final_verdict |
Human-readable verdict string ( |
Установить baidu-skill-guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл baidu-skill-guard?
Intercepts all skill install/download requests. MUST be used before installing/downloading any skill from ClawdHub, GitHub, 百度 AppBuilder 平台, or other sources. Run security check API to get risk rating. Triggers on install, add, enable, download, scan, check, audit skill.
Как установить скилл baidu-skill-guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл baidu-skill-guard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic