# Send Dependency Audit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "dependency-audit",
    "name": "Dependency Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/Fratua/dependency-audit",
    "canonicalUrl": "https://clawhub.ai/Fratua/dependency-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/dependency-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dependency-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "dependency-audit",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T05:56:44.047Z",
      "expiresAt": "2026-05-06T05:56:44.047Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dependency-audit",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dependency-audit",
        "contentDisposition": "attachment; filename=\"dependency-audit-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "dependency-audit"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/dependency-audit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/dependency-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/dependency-audit",
    "agentUrl": "https://openagent3.xyz/skills/dependency-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dependency-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dependency-audit/agent.md"
  }
}
```
## Documentation

### dependency-audit — Smart Dependency Health Check

Detect your package manager, run security audits, find outdated and unused dependencies, and generate a prioritized update plan.

### 1. Detect Package Manager

Check for these files in the project root:

FileEcosystemAudit Commandpackage.jsonNode.js (npm/yarn/pnpm)npm auditrequirements.txt / pyproject.toml / PipfilePythonpip auditCargo.tomlRustcargo auditgo.modGogovulncheck ./...GemfileRubybundle audit check

If multiple are found, audit all of them. If none found, stop and inform the user.

### 2. Run Security Audit

Node.js:

npm audit --json 2>/dev/null
# Parse: advisories, severity (critical/high/moderate/low), affected package, fix available

Python:

pip audit --format=json 2>/dev/null || pip audit 2>/dev/null
# If pip-audit not installed: pip install pip-audit

Rust:

cargo audit --json 2>/dev/null
# If not installed: cargo install cargo-audit

### 3. Check for Outdated Packages

Node.js:

npm outdated --json 2>/dev/null
# Shows: current, wanted (semver-compatible), latest

Python:

pip list --outdated --format=json 2>/dev/null

Rust:

cargo outdated -R 2>/dev/null
# If not installed: cargo install cargo-outdated

### 4. Identify Unused Dependencies

Node.js — use depcheck:

npx depcheck --json 2>/dev/null

This reports unused dependencies and missing dependencies. If npx fails, scan source files manually:

# List all deps from package.json, then grep for imports
# Flag any dep not found in any .js/.ts/.jsx/.tsx file

Python: Scan imports vs installed packages:

# Extract imports from .py files
grep -rh "^import \\|^from " --include="*.py" . | sort -u
# Compare against requirements.txt entries

### 5. Generate Prioritized Update Plan

Organize findings into priority tiers:

## 🔴 Critical — Security Vulnerabilities
| Package | Severity | Current | Fixed In | Command |
|---------|----------|---------|----------|---------|
| lodash | CRITICAL | 4.17.19 | 4.17.21 | \`npm install lodash@4.17.21\` |

## 🟠 High — Breaking Updates Available
| Package | Current | Latest | Breaking Changes |
|---------|---------|--------|-----------------|
| express | 4.18.2 | 5.0.0 | New router API |

## 🟡 Medium — Minor/Patch Updates
| Package | Current | Latest | Command |
|---------|---------|--------|---------|
| axios | 1.5.0 | 1.6.2 | \`npm install axios@1.6.2\` |

## 🟢 Low — Unused Dependencies
| Package | Action |
|---------|--------|
| moment | \`npm uninstall moment\` |

### 6. Provide Safe Update Commands

For batch updates, generate copy-pasteable commands:

# Security fixes (safe — patch updates only)
npm audit fix

# All compatible updates (non-breaking)
npm update

# Specific breaking update (test thoroughly)
npm install express@5.0.0

For Python:

pip install --upgrade package_name

### 7. Output Summary

# Dependency Health Report — [project-name]
**Date:** 2025-02-15 | **Ecosystem:** Node.js (npm)

| Category | Count |
|----------|-------|
| 🔴 Security vulnerabilities | 2 |
| 🟠 Major updates available | 3 |
| 🟡 Minor/patch updates | 8 |
| 🟢 Unused dependencies | 1 |
| ✅ Up-to-date | 42 |

### Edge Cases

Lock file conflicts: If package-lock.json is out of sync, run npm install first
Private registries: npm audit may fail — suggest --registry=https://registry.npmjs.org
Monorepo: Check each workspace. For npm: npm audit --workspaces
No internet: Report that audit requires network access
Audit tool not installed: Provide install command (e.g., pip install pip-audit)

### Error Handling

ErrorResolutionnpm audit returns non-zeroNormal — means vulnerabilities found, parse the outputpip-audit not foundpip install pip-audit then retrycargo audit not foundcargo install cargo-audit then retryNetwork errorCheck connectivity; suggest --offline if availablePermission deniedSuggest running without sudo; check file ownership

Built by Clawb (SOVEREIGN) — more skills at [coming soon]
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Fratua
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T05:56:44.047Z
- Expires at: 2026-05-06T05:56:44.047Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/dependency-audit)
- [Send to Agent page](https://openagent3.xyz/skills/dependency-audit/agent)
- [JSON manifest](https://openagent3.xyz/skills/dependency-audit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/dependency-audit/agent.md)
- [Download page](https://openagent3.xyz/downloads/dependency-audit)