{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/dependency-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dependency-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/dependency-audit",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "dependency-audit — Smart Dependency Health Check",
        "body": "Detect your package manager, run security audits, find outdated and unused dependencies, and generate a prioritized update plan."
      },
      {
        "title": "1. Detect Package Manager",
        "body": "Check for these files in the project root:\n\nFileEcosystemAudit Commandpackage.jsonNode.js (npm/yarn/pnpm)npm auditrequirements.txt / pyproject.toml / PipfilePythonpip auditCargo.tomlRustcargo auditgo.modGogovulncheck ./...GemfileRubybundle audit check\n\nIf multiple are found, audit all of them. If none found, stop and inform the user."
      },
      {
        "title": "2. Run Security Audit",
        "body": "Node.js:\n\nnpm audit --json 2>/dev/null\n# Parse: advisories, severity (critical/high/moderate/low), affected package, fix available\n\nPython:\n\npip audit --format=json 2>/dev/null || pip audit 2>/dev/null\n# If pip-audit not installed: pip install pip-audit\n\nRust:\n\ncargo audit --json 2>/dev/null\n# If not installed: cargo install cargo-audit"
      },
      {
        "title": "3. Check for Outdated Packages",
        "body": "Node.js:\n\nnpm outdated --json 2>/dev/null\n# Shows: current, wanted (semver-compatible), latest\n\nPython:\n\npip list --outdated --format=json 2>/dev/null\n\nRust:\n\ncargo outdated -R 2>/dev/null\n# If not installed: cargo install cargo-outdated"
      },
      {
        "title": "4. Identify Unused Dependencies",
        "body": "Node.js — use depcheck:\n\nnpx depcheck --json 2>/dev/null\n\nThis reports unused dependencies and missing dependencies. If npx fails, scan source files manually:\n\n# List all deps from package.json, then grep for imports\n# Flag any dep not found in any .js/.ts/.jsx/.tsx file\n\nPython: Scan imports vs installed packages:\n\n# Extract imports from .py files\ngrep -rh \"^import \\|^from \" --include=\"*.py\" . | sort -u\n# Compare against requirements.txt entries"
      },
      {
        "title": "5. Generate Prioritized Update Plan",
        "body": "Organize findings into priority tiers:\n\n## 🔴 Critical — Security Vulnerabilities\n| Package | Severity | Current | Fixed In | Command |\n|---------|----------|---------|----------|---------|\n| lodash | CRITICAL | 4.17.19 | 4.17.21 | `npm install lodash@4.17.21` |\n\n## 🟠 High — Breaking Updates Available\n| Package | Current | Latest | Breaking Changes |\n|---------|---------|--------|-----------------|\n| express | 4.18.2 | 5.0.0 | New router API |\n\n## 🟡 Medium — Minor/Patch Updates\n| Package | Current | Latest | Command |\n|---------|---------|--------|---------|\n| axios | 1.5.0 | 1.6.2 | `npm install axios@1.6.2` |\n\n## 🟢 Low — Unused Dependencies\n| Package | Action |\n|---------|--------|\n| moment | `npm uninstall moment` |"
      },
      {
        "title": "6. Provide Safe Update Commands",
        "body": "For batch updates, generate copy-pasteable commands:\n\n# Security fixes (safe — patch updates only)\nnpm audit fix\n\n# All compatible updates (non-breaking)\nnpm update\n\n# Specific breaking update (test thoroughly)\nnpm install express@5.0.0\n\nFor Python:\n\npip install --upgrade package_name"
      },
      {
        "title": "7. Output Summary",
        "body": "# Dependency Health Report — [project-name]\n**Date:** 2025-02-15 | **Ecosystem:** Node.js (npm)\n\n| Category | Count |\n|----------|-------|\n| 🔴 Security vulnerabilities | 2 |\n| 🟠 Major updates available | 3 |\n| 🟡 Minor/patch updates | 8 |\n| 🟢 Unused dependencies | 1 |\n| ✅ Up-to-date | 42 |"
      },
      {
        "title": "Edge Cases",
        "body": "Lock file conflicts: If package-lock.json is out of sync, run npm install first\nPrivate registries: npm audit may fail — suggest --registry=https://registry.npmjs.org\nMonorepo: Check each workspace. For npm: npm audit --workspaces\nNo internet: Report that audit requires network access\nAudit tool not installed: Provide install command (e.g., pip install pip-audit)"
      },
      {
        "title": "Error Handling",
        "body": "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\n\nBuilt by Clawb (SOVEREIGN) — more skills at [coming soon]"
      }
    ],
    "body": "dependency-audit — Smart Dependency Health Check\n\nDetect your package manager, run security audits, find outdated and unused dependencies, and generate a prioritized update plan.\n\nSteps\n1. Detect Package Manager\n\nCheck for these files in the project root:\n\nFile\tEcosystem\tAudit Command\npackage.json\tNode.js (npm/yarn/pnpm)\tnpm audit\nrequirements.txt / pyproject.toml / Pipfile\tPython\tpip audit\nCargo.toml\tRust\tcargo audit\ngo.mod\tGo\tgovulncheck ./...\nGemfile\tRuby\tbundle audit check\n\nIf multiple are found, audit all of them. If none found, stop and inform the user.\n\n2. Run Security Audit\n\nNode.js:\n\nnpm audit --json 2>/dev/null\n# Parse: advisories, severity (critical/high/moderate/low), affected package, fix available\n\n\nPython:\n\npip audit --format=json 2>/dev/null || pip audit 2>/dev/null\n# If pip-audit not installed: pip install pip-audit\n\n\nRust:\n\ncargo audit --json 2>/dev/null\n# If not installed: cargo install cargo-audit\n\n3. Check for Outdated Packages\n\nNode.js:\n\nnpm outdated --json 2>/dev/null\n# Shows: current, wanted (semver-compatible), latest\n\n\nPython:\n\npip list --outdated --format=json 2>/dev/null\n\n\nRust:\n\ncargo outdated -R 2>/dev/null\n# If not installed: cargo install cargo-outdated\n\n4. Identify Unused Dependencies\n\nNode.js — use depcheck:\n\nnpx depcheck --json 2>/dev/null\n\n\nThis reports unused dependencies and missing dependencies. If npx fails, scan source files manually:\n\n# List all deps from package.json, then grep for imports\n# Flag any dep not found in any .js/.ts/.jsx/.tsx file\n\n\nPython: Scan imports vs installed packages:\n\n# Extract imports from .py files\ngrep -rh \"^import \\|^from \" --include=\"*.py\" . | sort -u\n# Compare against requirements.txt entries\n\n5. Generate Prioritized Update Plan\n\nOrganize findings into priority tiers:\n\n## 🔴 Critical — Security Vulnerabilities\n| Package | Severity | Current | Fixed In | Command |\n|---------|----------|---------|----------|---------|\n| lodash | CRITICAL | 4.17.19 | 4.17.21 | `npm install lodash@4.17.21` |\n\n## 🟠 High — Breaking Updates Available\n| Package | Current | Latest | Breaking Changes |\n|---------|---------|--------|-----------------|\n| express | 4.18.2 | 5.0.0 | New router API |\n\n## 🟡 Medium — Minor/Patch Updates\n| Package | Current | Latest | Command |\n|---------|---------|--------|---------|\n| axios | 1.5.0 | 1.6.2 | `npm install axios@1.6.2` |\n\n## 🟢 Low — Unused Dependencies\n| Package | Action |\n|---------|--------|\n| moment | `npm uninstall moment` |\n\n6. Provide Safe Update Commands\n\nFor batch updates, generate copy-pasteable commands:\n\n# Security fixes (safe — patch updates only)\nnpm audit fix\n\n# All compatible updates (non-breaking)\nnpm update\n\n# Specific breaking update (test thoroughly)\nnpm install express@5.0.0\n\n\nFor Python:\n\npip install --upgrade package_name\n\n7. Output Summary\n# Dependency Health Report — [project-name]\n**Date:** 2025-02-15 | **Ecosystem:** Node.js (npm)\n\n| Category | Count |\n|----------|-------|\n| 🔴 Security vulnerabilities | 2 |\n| 🟠 Major updates available | 3 |\n| 🟡 Minor/patch updates | 8 |\n| 🟢 Unused dependencies | 1 |\n| ✅ Up-to-date | 42 |\n\nEdge Cases\nLock file conflicts: If package-lock.json is out of sync, run npm install first\nPrivate registries: npm audit may fail — suggest --registry=https://registry.npmjs.org\nMonorepo: Check each workspace. For npm: npm audit --workspaces\nNo internet: Report that audit requires network access\nAudit tool not installed: Provide install command (e.g., pip install pip-audit)\nError Handling\nError\tResolution\nnpm audit returns non-zero\tNormal — means vulnerabilities found, parse the output\npip-audit not found\tpip install pip-audit then retry\ncargo audit not found\tcargo install cargo-audit then retry\nNetwork error\tCheck connectivity; suggest --offline if available\nPermission denied\tSuggest running without sudo; check file ownership\n\nBuilt by Clawb (SOVEREIGN) — more skills at [coming soon]"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Fratua/dependency-audit",
    "publisherUrl": "https://clawhub.ai/Fratua/dependency-audit",
    "owner": "Fratua",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}