Loading...
Loading...
Analyze agent skills for security risks, malicious patterns, and potential dangers before installation. Use when asked to "audit a skill", "check if a skill is safe", "analyze skill security", "review skill risk", "should I install this skill", "is this skill safe", or when evaluating any skill directory for trust and safety. Also triggers when the user pastes a skill install command like "npx skills add https://github.com/org/repo --skill name". Produces a comprehensive security report with a clear install/reject verdict.
npx skill4agent add montimage/skills skill-auditoraudit skills/my-skill/
audit /path/to/skill-diraudit https://github.com/org/repo/tmp/<repo-name>npx skills add https://github.com/org/repo --skill skill-name
npx skills add https://github.com/org/repo--skillhttps://github.com/.../tmp/<repo-name>--skill <name>skills/<name>/<name>/--skillSKILL.mdhttps://github.com/<owner>/<repo>--skill <name>audit https://github.com/org/repo --skill skill-name
audit https://github.com/org/repo skill-nameskills/<name>/<name>/| Input | Clone? | Audit target |
|---|---|---|
| Local path | No | The path as-is |
| GitHub URL only | Yes → | Repo root |
GitHub URL + | Yes → | |
| Yes → | Repo root |
| Yes → | |
SKILL.mdpython3 {SKILL_DIR}/scripts/scan_skill.py <target-skill-path>SKILL.md.py.sh.js.ts.rb.mdreferences/SKILL_AUDIT.md# Skill Audit Report: [skill-name]
**Date**: YYYY-MM-DD
**Skill Path**: path/to/skill
**Auditor**: skill-auditor v1.0
## Skill Overview
| Property | Value |
|----------|-------|
| Name | [from frontmatter] |
| Description | [from frontmatter] |
| Total Files | N |
| Script Files | N |
| Executable Files | N |
| Binary Files | N |
## Risk Summary
| Category | Findings | Severity |
|----------|----------|----------|
| Code Execution | N | Critical/High/Medium/Low/None |
| Network/Exfiltration | N | ... |
| Filesystem Access | N | ... |
| Privilege Escalation | N | ... |
| Obfuscation | N | ... |
| Prompt Injection | N | ... |
| Supply Chain | N | ... |
| Credential Exposure | N | ... |
| Persistence | N | ... |
**Overall Risk Level**: [SAFE / LOW / MEDIUM / HIGH / CRITICAL]
## Detailed Findings
### [Category Name] ([Severity])
**File**: `path/to/file:line`
**Pattern**: [what was detected]
**Context**: [the actual code/text]
**Analysis**: [Is this justified? What is the real risk?]
[Repeat for each finding]
## Files Inventory
[Table of all files with size, permissions, and notes]
## Verdict
### [SAFE TO INSTALL / INSTALL WITH CAUTION / DO NOT INSTALL]
**Reasoning**: [2-3 sentence summary of why]
**Key concerns** (if any):
1. [Specific concern with file:line reference]
2. [Specific concern with file:line reference]
**Mitigations** (if applicable):
1. [What the user can do to reduce risk]
2. [Specific files to review or modify]| Risk Level | Criteria | Verdict |
|---|---|---|
| SAFE | No findings or only informational | SAFE TO INSTALL |
| LOW | Minor patterns with clear legitimate context | SAFE TO INSTALL (note findings) |
| MEDIUM | Network calls, file access, or installs with plausible purpose | INSTALL WITH CAUTION |
| HIGH | Obfuscation, credential access, injection, or escalation without justification | DO NOT INSTALL |
| CRITICAL | Exfiltration, reverse shells, encoded payloads, or active prompt injection | DO NOT INSTALL |
npx skills addnpx skills add ...https://github.com/owner/repo--skillnpx skills add https://github.com/owner/repo--skill Xnpx skills add https://github.com/owner/repo --skill Xnpx skills addThe skill passed the audit. Would you like to install it now?npx skills add https://github.com/owner/repo --skill skill-name
.md