apm-usage
调试或使用 APM 时的权威字段与命令参考。
APM 工具手册,涵盖 apm.yml 语法与安装/更新/锁定流程。
帮你读懂和调试 APM 的配置和命令,从 apm.yml 的字段语法到 install/update/uninstall、outdated 的行为都能讲清楚。遇到 apm install 没拉到上游提交、锁文件(lockfile)问题或要把配置和 chezmoi 集成时会用到。特别之处是覆盖 target detection(含 agent-skills)和完整的锁定工作流,能给出逐项排查步骤,而不是在每次 apm 相关操作都自动触发。
▸ 展开 SKILL.md 英文原文
Reference for APM (Agent Package Manager) — apm.yml syntax, install / update / uninstall / outdated commands, target detection (including agent-skills), lockfile workflow, chezmoi integration. Read when you need exact field names or are debugging unfamiliar APM behavior. Do NOT auto-invoke on every apm-related task; user prompts about projects with installed skills can be handled with general APM knowledge. Invoke explicitly when the user mentions APM by name, asks to author or audit an apm.yml, runs into an unfamiliar APM command / error, or wonders why `apm install` did not pick up an upstream commit.
帮我安装这个 skill:https://raw.githubusercontent.com/Eotel/skills/main/apm-usage/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/Eotel/skills/main/apm-usage/SKILL.md"# APM (Agent Package Manager) APM is a dependency manager for AI agent skills, instructions, prompts, and MCP servers. Think of it as npm for agent configuration. Forked from `mizchi/skills/apm-usage` and updated for APM 0.14.x (Eotel fork). Original authorship and structure by mizchi; the additions are documented in [references/changes-from-mizchi.md](references/changes-from-mizchi.md). ## When this skill applies - "add a skill to this project" - "install skills globally" - "create a skill for this repo" - "set up apm.yml" - "update agent dependencies" ## Core commands (APM 0.14+) ```bash # Install all dependencies from apm.yml — honors apm.lock.yaml, does NOT # re-resolve unpinned re