Zero-Trust Security Auditor for AI Skills, GitHub Repositories, and Dependent Scripts
audit-skill is an automated 5-step security auditing framework designed for AI agent environments. It inspects untrusted external GitHub skills, prompt definitions, embedded scripts (.py, .js, .ts, .sh), dynamic execution routines, and third-party dependencies before local registration or execution.
- Key Features
- Required Dependencies
- Supported Agent Harnesses
- Installation Guide
- Versioning Strategy
- Repository Structure
- License
- Ghost Prompt Detection: Identifies hidden system overrides, zero-width Unicode characters, and indirect prompt injection vectors in
SKILL.mdfiles. - Static AST Code Analysis: Detects unsafe code evaluation (
eval,exec,vm.runInNewContext) and unauthorized shell subprocess calls across Python, JavaScript, TypeScript, and Shell scripts. - Exfiltration Prevention: Scans for unauthorized outbound telemetry, WebSockets, and hidden network fetch commands.
- Workspace SAST & Path Auditing: Verifies that file system operations stay bounded within designated sandbox target directories.
- STRIDE Threat Modeling: Performs deep security audits on third-party package dependency chains before code execution.
- Automated Report Generation: Populates an expertly formatted markdown audit report directly into your workspace.
Before running audit-skill, ensure the following prerequisite tools and skills are installed in your environment:
| Dependency | Type | Source / Install Command | Role |
|---|---|---|---|
smartbrain-skill-auditor |
External Tool | git clone https://github.com/smartbrainactivity/smartbrain-skill-auditor.git ~/tools/smartbrain-skill-auditor |
Static pre-install prompt & signature analysis |
security-auditor |
Agent Skill | npx skills add sickn33/agentic-awesome-skills --skill security-auditor |
Directory path & permission constraint SAST |
security-audit |
Agent Skill | npx skills add sickn33/agentic-awesome-skills --skill security-audit |
STRIDE threat modeling & dependency analysis |
skill-audit |
NPM CLI Tool | npx skill-audit |
AST code vulnerability scanner |
audit-skill is built on the Open Agent Skill standard and runs natively across all major developer AI harnesses. Below are the verified paths based on official agent documentation:
To install audit-skill locally inside your project's .agents/skills/ folder:
npx skills add CommanderDusK/audit-skillTo install globally into the verified agent directories, use the target paths from the matrix above:
# Antigravity 2.0 Global Setup
mkdir -p ~/.gemini/config/skills
npx skills add CommanderDusK/audit-skill -g -y
# Antigravity CLI Global Setup (Covers legacy and modern cli paths)
mkdir -p ~/.gemini/antigravity/skills
mkdir -p ~/.gemini/antigravity-cli/skills
npx skills add CommanderDusK/audit-skill -g -y
# OpenAI Codex Global Setup
mkdir -p ~/.codex/skills
npx skills add CommanderDusK/audit-skill -g -y
# GitHub Copilot Global Setup
mkdir -p ~/.copilot/skills
npx skills add CommanderDusK/audit-skill -g -yAntigravity automatically loads the skill directly from the verified global paths (~/.gemini/config/skills/, ~/.gemini/antigravity/skills/, and ~/.gemini/antigravity-cli/skills/). No extra steps required.
OpenAI Codex reads skills natively from both global and project directories:
- Global User Skills:
~/.codex/skills/audit-skill/SKILL.md(applies across all repositories) - Project-Level Skills:
.codex/skills/audit-skill/SKILL.mdor.agents/skills/(scoped to a specific workspace)
mkdir -p ~/.codex/skills/audit-skill
cp -r .agents/skills/audit-skill/* ~/.codex/skills/audit-skill/GitHub Copilot supports global Agent Skills via ~/.copilot/skills/:
mkdir -p ~/.copilot/skills/audit-skill
cp -r .agents/skills/audit-skill/* ~/.copilot/skills/audit-skill/Cursor loads agent rules via .cursor/rules/*.mdc or project skills inside .cursor/skills/:
mkdir -p .cursor/rules
cp .agents/skills/audit-skill/SKILL.md .cursor/rules/audit-skill.mdcWindsurf uses the .windsurf/rules/ directory for its rules framework:
mkdir -p .windsurf/rules
cp .agents/skills/audit-skill/SKILL.md .windsurf/rules/audit-skill.mdClaude Code reads skills from ~/.claude/skills/ (global) or .claude/skills/ (workspace):
mkdir -p ~/.claude/skills
cp -r .agents/skills/audit-skill ~/.claude/skills/Add the skill definition to your workspace .clinerules file or .agents/skills/ path:
cat .agents/skills/audit-skill/SKILL.md >> .clinerulesaudit-skill adheres strictly to Semantic Versioning 2.0.0:
v1.0.0(Current Release): Initial release featuring 5-step zero-trust security pipeline, template-based markdown reporting, multi-scanner support (smartbrain-skill-auditor+npx skill-audit), and integration withsickn33/agentic-awesome-skills.- Major Releases (
v2.0.0): Breaking changes to SKILL.md interface, execution parameters, or report schema. - Minor Releases (
v1.1.0): Additional static scanners, new harness compatibility, or new report sections. - Patch Releases (
v1.0.1): Bug fixes, prompt refinement, or dependency updates.
audit-skill/
βββ README.md # Repository documentation & installation guide
βββ SKILL.md # Main agent skill definition
βββ LICENSE # MIT License
βββ package.json # Package manifest for npx skills registry
βββ assets/
βββ audit-report_skillname_TEMPLATE.md # Standardized security audit report template
Distributed under the MIT License. See LICENSE for details.







