audit-skill

Scan Claude Code skills for security vulnerabilities and optionally fix them.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/sogadaiki/claude-code-skills --skill audit-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-skill
Source: https://github.com/sogadaiki/claude-code-skills/tree/main/skills/audit-skill
Command: npx skills add https://github.com/sogadaiki/claude-code-skills --skill audit-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automatically audits your Claude Code skills for security vulnerabilities, protecting against prompt injection, data leaks, and privacy breaches before deployment.

Core Features & Use Cases

  • Security Auditing: Scans SKILL.md, references/, scripts/, etc., for common security flaws.
  • Risk Categorization: Assigns severity levels (CRITICAL, HIGH, MEDIUM, LOW) to detected issues.
  • Automated Fixing: Optionally generates corrected versions of skill files with sensitive data masked or paths normalized.
  • Use Case: Before publishing a new skill, run /audit-skill your-new-skill --fix to ensure it's safe for public use and automatically resolve common security oversights.

Quick Start

Run the audit-skill command on the 'morning' skill directory to check for security risks.

Frequently Asked Questions about audit-skill

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

FAQPage Schema
How do I audit Claude Code skills for prompt injection and data leaks?

To audit Claude Code skills for prompt injection and data leaks, run a security scan over the skill directory. This process identifies sensitive data exposure and personal information leaks, assigning risk severity levels to detected issues.

What security vulnerabilities should I check for before publishing a skill?

Before publishing a skill, check for prompt injection, hardcoded paths, API keys, sensitive data exposure, and potential license violations. A security audit categorizes these vulnerabilities by severity to ensure the skill is safe for public use.

Can I automatically fix sensitive data exposure and hardcoded paths in skill files?

You can automatically fix sensitive data exposure and hardcoded paths by running the audit with an optional fix flag. This generates corrected versions of skill files by masking sensitive data and normalizing paths to remediate detected issues.

How does a security audit categorize risks in skill scripts and references?

A security audit categorizes risks in skill scripts and references by assigning severity levels ranging from CRITICAL and HIGH to MEDIUM and LOW. This risk categorization helps prioritize the remediation of common security flaws found during the scan.

Does the security audit scan all files in the skill directory?

The security audit scans core skill files such as SKILL.md, references, and scripts directories. It checks these components for common security flaws, hardcoded API keys, and personal information leaks before deployment.

What is the best way to ensure skill compliance and prevent privacy breaches before deployment?

The best way to ensure skill compliance and prevent privacy breaches before deployment is to run an automated security audit. This scans for vulnerabilities, identifies hardcoded sensitive data, and optionally generates corrected files to remediate issues.