Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

depsdeps 搜索

Agent Skill

deps 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

713

周安装

30

GitHub Stars

318

下载量

250
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deps(deps 搜索)
来源仓库:https://github.com/boshu2/agentops
仓库路径:skills/deps
安装命令:
npx skills add https://github.com/boshu2/agentops --skill deps
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/boshu2/agentops --skill deps

简介

deps 提供依赖健康检查,包括漏洞扫描、版本更新与许可证合规审计。

  • 支持 npm/pip/go 等多生态检测,输出 actionable 修复建议。
  • 可限定升级范围(major/minor/patch),并通过测试验证更新安全性。
  • 建议纳入 CI 流程,防止引入高风险或协议冲突的第三方库。
  • deps 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Deps Skill

Quick Ref: /deps audit | /deps update [--major|--minor|--patch] | /deps vuln | /deps license

YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.

Modes

ModeCommandPurpose
Audit/deps auditFull dependency health check: vulnerabilities, outdated, licenses
Update`/deps update [--major\--minor\--patch]`Update dependencies with test verification
Vuln/deps vulnFocused vulnerability scan and remediation
License/deps licenseLicense compliance audit

Default (bare /deps): runs audit mode.


Step 0: Detect Ecosystem

Scan the working directory for manifest files. Multiple ecosystems may coexist.

ManifestEcosystemLock File
go.modGogo.sum
package.jsonNodepackage-lock.json / yarn.lock / pnpm-lock.yaml
pyproject.toml / requirements.txtPythonrequirements.txt / poetry.lock
Cargo.tomlRustCargo.lock
GemfileRubyGemfile.lock
# Detect all ecosystems present
for f in go.mod package.json pyproject.toml requirements.txt Cargo.toml Gemfile; do
  [[ -f "$f" ]] && echo "FOUND: $f"
done

If no manifest is found, stop and report: "No supported dependency manifest detected."


Step 1: Audit Current State

Run the ecosystem-appropriate commands. Capture all output for classification.

Go

go list -m -u all          # List all modules, flag available updates
govulncheck ./...           # Vulnerability scan against Go vuln DB
go mod tidy                 # Clean up unused deps (dry-run first)

Node

npm audit                   # Known vulnerabilities
npm outdated                # Available updates (current vs wanted vs latest)
npx license-checker-webpack-plugin --out /dev/stdout 2>/dev/null || npx license-checker --json

Python

pip-audit                   # Vulnerability scan (install: pip install pip-audit)
pip list --outdated         # Available updates
pip-licenses 2>/dev/null || echo "pip-licenses not installed"

Rust

cargo audit                 # Vulnerability scan (install: cargo install cargo-audit)
cargo outdated              # Available updates (install: cargo install cargo-outdated)
cargo license 2>/dev/null || echo "cargo-license not installed"

Ruby

bundle audit check          # Vulnerability scan (install: gem install bundler-audit)
bundle outdated             # Available updates

Step 2: Classify Findings

Sort every finding into exactly one severity tier.

SeverityCriteriaAction
CriticalKnown CVE with active exploitation, CVSS >= 9.0Update immediately, block release
HighSecurity advisory without known exploit, CVSS 7.0-8.9, major version behind with security implicationsUpdate within current session
MediumMinor versions behind, deprecated packages, stale transitive depsSchedule update, batch if possible
LowPatch-level updates, cosmetic version bumps, informational advisoriesUpdate opportunistically

Output a summary table:

SEVERITY   PACKAGE            CURRENT   AVAILABLE   REASON
Critical   example-lib        1.2.3     1.2.8       CVE-2025-XXXXX (RCE)
High       some-framework     3.1.0     4.2.0       Security advisory SA-2025-YYY
Medium     helper-pkg         2.0.1     2.3.0       3 minor versions behind
Low        util-lib           1.0.0     1.0.1       Patch release

Step 3: Update Strategy

Choose strategy based on the update scope requested (or default to the classification).

Patch updates (--patch or Low severity)

  • Batch all patch updates together.
  • Run full test suite once after the batch.
  • Single commit: chore(deps): batch patch updates.

Minor updates (--minor or Medium severity)

  • Update one dependency at a time.
  • Run tests after each update.
  • Individual commits: chore(deps): update <pkg> to <version>.

Major updates (--major or High/Critical severity)

  • Research breaking changes first (check CHANGELOG, migration guide, release notes).
  • Update one dependency at a time.
  • Run full test suite after each.
  • Individual commits with body noting breaking changes: chore(deps): update <pkg> to <version> Breaking: <brief description of what changed>

Decision matrix

FlagPatchMinorMajor
--patchYesNoNo
--minorYesYesNo
--majorYesYesYes
(default)YesYesNo

Step 4: Execute Updates (Update Mode Only)

For each dependency to update, follow this loop strictly:

1. Record current state (version, lock file hash)
2. Update the dependency
3. Run tests: `go test ./...` / `npm test` / `pytest` / `cargo test`
4. If PASS:
   - Stage changed manifest + lock file
   - Commit: chore(deps): update <pkg> from <old> to <new>
5. If FAIL:
   - Revert: restore manifest + lock file to pre-update state
   - Document the incompatibility in the report
   - Continue to next dependency

Ecosystem-specific update commands

EcosystemPatch/MinorMajor
Gogo get <pkg>@latestgo get <pkg>@v<major>
Nodenpm update <pkg>npm install <pkg>@latest
Pythonpip install --upgrade <pkg>pip install <pkg>~=<version>
Rustcargo update -p <pkg>Edit Cargo.toml, then cargo update
Rubybundle update <pkg>Edit Gemfile, then bundle install

Step 5: Output Report

Write the report to .agents/deps/. Create the directory if needed.

mkdir -p .agents/deps

File name format: YYYY-MM-DD-deps-<mode>.md

Report template

# Dependency Report - <mode> - <date>

## Ecosystem: <detected>

## Summary
- Total dependencies: <N>
- Outdated: <N>
- Vulnerable: <N>
- License issues: <N>

## Findings

### Critical
<table or "None">

### High
<table or "None">

### Medium
<table or "None">

### Low
<table or "None">

## Updates Applied
<list of commits or "Audit only - no updates applied">

## Failed Updates
<list with reasons or "None">

## License Compliance
<summary or "Not checked - use /deps license">

License Compliance (License Mode)

Compatibility Matrix

LicenseProprietary OKCopyleftDistribution Obligations
MITYesNoInclude license text
Apache-2.0YesNoInclude license + NOTICE file
BSD-2-ClauseYesNoInclude license text
BSD-3-ClauseYesNoInclude license text, no endorsement
ISCYesNoInclude license text
MPL-2.0Yes (file-level)WeakModified MPL files must stay MPL
LGPL-2.1ConditionalWeakDynamic linking OK, static requires disclosure
GPL-2.0NoStrongEntire derivative work must be GPL
GPL-3.0NoStrongEntire derivative work must be GPL
AGPL-3.0NoStrongNetwork use triggers disclosure
SSPLNoStrongService provider must open-source entire stack
UnlicenseYesNoNo obligations

Rules

  1. Flag all copyleft licenses (GPL, AGPL, SSPL) as Critical in proprietary projects.
  2. Flag weak copyleft (MPL, LGPL) as Medium -- review usage pattern.
  3. Flag missing licenses as High -- unknown license is treated as all-rights-reserved.
  4. Flag license changes between versions -- an update may change the license.

Detecting project type

  • If LICENSE contains GPL/AGPL: project is copyleft, all licenses are compatible.
  • If LICENSE contains MIT/Apache/BSD or is proprietary: flag copyleft dependencies.
  • If no LICENSE file exists: warn that project license is undefined.

Error Handling

SituationAction
Tool not installed (govulncheck, pip-audit, etc.)Report which tool is missing, provide install command, continue with available tools
Network unavailableUse cached vulnerability DB if available, note staleness
Test suite does not existWarn loudly, skip test verification, note in report
Manifest parse errorReport the error, skip that ecosystem

See Also

  • skills/standards/SKILL.md -- Language-specific conventions
  • skills/security/SKILL.md -- Broader security scanning
  • skills/vibe/SKILL.md -- Code quality validation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.1%
按下载量换算88

Claude

31.74%
按下载量换算79

Cursor

20.94%
按下载量换算52

Gemini CLI

9.75%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills