Skip to content
Back to skills

Skill Dependency Audit

ASecurity

Use when auditing optional Python dependencies for vendored Claude skill helper scripts, checking missing imports, deciding whether dependencies belong in MCP runtime, or troubleshooting a skill script that fails with ModuleNotFoundError.

  • 115 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentspythonbash

Works with

  • mcp

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add 26zl/cybersec-toolkit --skill skill-dependency-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill Dependency Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill Dependency Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/26zl-skill-dependency-audit/badge)](https://www.skillsdirectory.com/skills/26zl-skill-dependency-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: skill-dependency-audit
description: Use when auditing optional Python dependencies for vendored Claude skill helper scripts, checking missing imports, deciding whether dependencies belong in MCP runtime, or troubleshooting a skill script that fails with ModuleNotFoundError.
---

# Skill helper dependency audit

Use this skill when a vendored `.claude/skills/*/scripts/*.py` helper fails to import, or when deciding whether optional skill dependencies should be installed.

## Workflow

1. Run the dependency auditor:

```bash
python3 scripts/audit_skill_dependencies.py
```

2. For JSON output:

```bash
python3 scripts/audit_skill_dependencies.py --json
```

3. For CI-like behavior:

```bash
python3 scripts/audit_skill_dependencies.py --fail-on-missing
```

## Keeping requirements current

```bash
python3 scripts/audit_skill_dependencies.py --check-declared       # CI gate (also in make validate)
python3 scripts/audit_skill_dependencies.py --write-requirements   # regenerate .claude/skills/requirements.txt
make curate                                                        # curation index + requirements together
```

Run `make curate` after adding a vendored helper script or a skill.

## Policy

- Do not add every vendored helper dependency to `mcp_server/pyproject.toml`.
- Keep MCP runtime minimal unless the MCP server imports the dependency directly.
- Treat vendored skill helper dependencies as optional, task-specific extras.
- If a helper becomes a supported project feature, add tests and promote only its required dependencies.

## Output interpretation

- `third_party_imports`: import names found in skill helper scripts.
- `missing`: imports not available in the active Python environment.
- `examples`: representative scripts that import that module.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.