skill-guard

Scan ClawHub skills for vulnerabilities and malicious code before installation.

2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/jiyangnan/xiaonangua-openclaw-skills --skill skill-guard-jiyangnan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-guard
Source: https://github.com/jiyangnan/xiaonangua-openclaw-skills/tree/main/skills/skill-engineering/skill-guard
Command: npx skills add https://github.com/jiyangnan/xiaonangua-openclaw-skills --skill skill-guard-jiyangnan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill ensures that all skills installed from ClawHub are free from security vulnerabilities before they are installed on your system.

Core Features & Use Cases

  • Pre-install Security Scan: Checks for known vulnerabilities, malicious code, and insecure practices in skills before installation.
  • Use Case: When installing a new skill from ClawHub, use skill-guard to scan for potential risks before installing it.
  • Scanning Capabilities: Detects prompt injections, malware payloads, hardcoded secrets, data exfiltration, and AI-specific threats.

Quick Start

To scan a skill, run: ./scripts/safe-install.sh <skill-slug>

Frequently Asked Questions about skill-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan ClawHub skills for security vulnerabilities before installation?

To scan ClawHub skills for security vulnerabilities before installation, run the provided safe-install script with the target skill slug. This executes a comprehensive pre-install security check to detect malicious code and insecure practices.

What types of AI agent security threats can a pre-install scan detect?

A pre-install scan detects AI-specific threats such as prompt injections, malware payloads, hardcoded secrets, and data exfiltration. This ensures skills installed from ClawHub are free from known vulnerabilities and malicious code.

How do I check for prompt injection and malicious code in AI agent skills?

You can check for prompt injection and malicious code by running a vulnerability scanning script against the skill content. The scan utilizes mcp-scan to perform in-depth analysis and detect AI-specific security threats.

Can I use this vulnerability scanning approach for environments where security is a priority?

Yes, this vulnerability scanning approach is specifically suitable for environments where security is a priority. It is designed for organizations using AI agents to ensure installed skills are free from insecure practices.

What is the best way to prevent data exfiltration when installing new AI skills?

The best way to prevent data exfiltration when installing new AI skills is to perform a pre-install security scan. This detects hardcoded secrets and insecure practices before the skill is installed on your system.

Why does my organization need a pre-install scan for ClawHub skills?

Your organization needs a pre-install scan for ClawHub skills to ensure all installed components are free from security vulnerabilities. It protects AI agent environments by detecting malware payloads and data exfiltration attempts.