Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

agent-package-managerAgent 包管理器

Agent Skill

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

总安装

1,770

周安装

73

GitHub Stars

公开资料未说明

下载量

578
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/webmaxru/ai-native-dev --skill agent-package-manager

简介

agent-package-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持基于关键词、任务或来源仓库进行信息检索与筛选,帮助 Agent 快速获取相关资源。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,具体用法可参考原始 README。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Agent Package Manager

Procedures

Step 1: Assess the repository and the requested APM outcome

  1. Inspect the repository root for apm.yml, apm.lock.yaml, .github/, .claude/, .cursor/, .opencode/, and apm_modules/.
  2. Execute apm --version and apm config to confirm the installed CLI and current configuration.
  3. If apm.yml exists, read references/manifest-and-lockfile.md before changing dependencies, scripts, or compilation settings.
  4. If the request is about package installation, updates, pruning, or removal, read references/command-workflows.md before executing APM commands.
  5. If no apm.yml exists and the user wants APM in the repository, initialize the project with apm init or apm init --yes.
  6. If the repository already uses another agent configuration flow and the user did not ask to migrate it, limit the change to the requested APM scope instead of replacing the existing setup.

Step 2: Shape or repair the manifest deliberately

  1. Read assets/apm.yml.template when the repository needs a fresh or repaired manifest structure.
  2. Keep name and version present at the top level; treat them as required contract fields.
  3. Add APM package dependencies under dependencies.apm and MCP servers under dependencies.mcp.
  4. Prefer canonical dependency forms in apm.yml after installation. Default to the repository shorthand owner/repo/path for GitHub-hosted skills and packages, for example webmaxru/agent-skills/skills/webmcp, and preserve explicit path, ref, and alias only when they are needed.
  5. Use pinned refs for shared team packages when reproducibility matters more than automatic drift.
  6. Keep local path dependencies only for active local development. Replace them with remote references before recommending bundle distribution.
  7. If the request includes scripts, define them under scripts and verify that each script can be previewed or executed through apm list, apm preview, or apm run.

Step 3: Manage dependencies with verification, not guesswork

  1. Preview risky changes with apm install --dry-run, apm uninstall --dry-run, or apm prune --dry-run when the repository already has installed packages.
  2. Install or update packages with apm install, apm install <package>, apm install --update, or apm deps update according to the requested scope.
  3. After running apm install --update or apm deps update, verify the lockfile resolved_commit actually changed. If packages were served from a stale cache, follow the "Stale packages after update" workflow in references/troubleshooting.md.
  4. When the request is to install a single skill from a repository, provide the package path down to that skill directory instead of a vague repo-only placeholder, for example apm install webmaxru/agent-skills/skills/webmcp.
  5. Verify the resolved state with apm deps list, apm deps tree, or apm deps info <package> after dependency changes.
  6. Treat apm.lock.yaml as the source of truth for resolved commits and deployed files. Recommend committing it for team and CI reproducibility.
  7. If the repository needs MCP discovery or selection, use apm mcp list, apm mcp search <query>, and apm mcp show <server> before editing MCP entries by hand.
  8. If installation output reports collisions or skipped files, read references/troubleshooting.md before retrying with forceful options.
  9. If the repository consumes packages from itself (self-referencing dependency), remind the user that changes must be committed and pushed before APM can fetch them. Read references/troubleshooting.md for the "Self-referencing dependencies" section.
  10. Note that apm install scans packages for security threats before deployment. If the scan raises warnings or blocks installation, address the flagged content rather than bypassing the check.

Step 4: Compile and validate only when it adds value

  1. Read references/command-workflows.md before changing compilation strategy or target selection.
  2. Use apm compile --validate to validate primitives when the goal is correctness rather than output generation.
  3. Use apm compile --dry-run before large compilation changes or when checking placement decisions.
  4. Explain that apm install already deploys prompts, agents, skills, hooks, and MCP integrations for supported tools; apm compile mainly exists to generate instruction files such as AGENTS.md or CLAUDE.md.
  5. Use explicit targets when the repository serves more than one runtime or tool family.
  6. Keep compilation.exclude aligned with build and dependency directories so compilation does not re-scan generated output.
  7. If the project needs continuous regeneration during authoring, use apm compile --watch only after the one-shot validation path is clean.

Step 5: Operate scripts, runtimes, and distribution flows professionally

  1. List project scripts with apm list before invoking them.
  2. Preview prompt-driven scripts with apm preview <script> -p key=value before using apm run <script> -p key=value in an automation or debugging workflow.
  3. Use apm runtime status, apm runtime list, and apm runtime setup <runtime> when the repository depends on an APM-managed runtime.
  4. If the goal is CI fan-out, air-gapped delivery, or release traceability, read references/command-workflows.md and use apm pack only after a successful install has produced apm.lock.yaml and deployed files.
  5. Use apm unpack only for additive extraction of a previously packed bundle. Do not present it as a replacement for dependency authoring.
  6. Recommend apm-action or a prebuilt bundle when repeated installs create avoidable CI cost or network risk.

Error Handling

  • If apm is missing, install or update it first, then verify with apm --version before editing project files.
  • If apm install reports authentication failures, read references/troubleshooting.md and fix host authentication before retrying.
  • If apm install reports file collisions, inspect the diagnostic summary, retry with --verbose when needed, and use --force only when overwriting local files is clearly intended.
  • If apm compile is unnecessary for the user’s toolchain, avoid adding it as busywork; prefer the lighter install-only path.
  • If apm pack fails because apm.lock.yaml is missing or deployed files are absent, rerun apm install before retrying.
  • If the repository depends on local path packages, do not recommend apm pack until those dependencies are replaced with remote references.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.92%
按下载量换算196

Claude

30.1%
按下载量换算174

Cursor

17%
按下载量换算98

Gemini CLI

9.06%
按下载量换算52

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills