使用情况
- 作者仓库星标 2,746
- 作者仓库 apm
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @microsoft · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# APM Usage
APM (Agent Package Manager) is the open-source package manager for AI coding
agents. It lets teams install, share, and govern reusable instructions, prompts,
agents, skills, and MCP server configurations across projects.
## When to activate
- User mentions `apm` or "Agent Package Manager"
- Questions about installing or managing AI-agent packages
- Setting up instructions, prompts, agents, skills, or chatmodes
- Configuring MCP servers through apm.yml
- Authentication for private repos (GitHub, ADO, GHES, Artifactory)
- Policy enforcement or `apm audit`
- Package authoring or publishing
- Compiling agent context (`apm compile`)
- Troubleshooting apm errors
## Key rules
- **Commit these files:** apm.yml, apm.lock.yaml, .apm/, .github/, .claude/, .cursor/
- **Never commit:** apm_modules/ (add to .gitignore)
- **Team sync:** after `git clone`, run `apm install` to restore dependencies
- **Update deps:** `apm install --update` refreshes to latest refs
- **Pin versions:** use tags (`#v1.0.0`) in production, branches for development
- **ASCII only:** all CLI output and source must stay within printable ASCII
## Reference
For detailed guidance, see the following resources:
- [Installation](./installation.md) -- install and update APM
- [Workflow](./workflow.md) -- core workflow, apm.yml format, what to commit
- [Commands](./commands.md) -- full CLI command reference
- [Dependencies](./dependencies.md) -- all dependency formats and version pinning
- [Authentication](./authentication.md) -- token setup for private repos
- [Governance](./governance.md) -- policy engine and audit checks
- [Package Authoring](./package-authoring.md) -- creating APM packages
- [Troubleshooting](./troubleshooting.md) -- common errors and fixes
章节与文件索引
按说明文件中的顺序排列。
何时激活
关键规则
参考
文件/命令 -> apm · apm audit · apm compile · git clone · apm install · apm install --update · #v1.0.0
内容校验值 -> 0dd58fe42cd3
当前原文的自动摘译,尚未人工审校。
何时激活
用户提到
apm或“代理包管理器” 有关安装或管理 AI 代理包的问题 设置说明、提示、代理、技能或聊天模式 通过 apm.yml 配置 MCP 服务器 私有存储库的身份验证(GitHub、ADO、GHES、Artifactory)关键规则
提交这些文件:apm.yml、apm.lock.yaml、.apm/、.github/、.claude/、.cursor/ 切勿提交:apm_modules/(添加到 .gitignore) 团队同步:在
git clone之后,运行apm install恢复依赖项 更新 deps:apm install --update刷新到最新参考 Pin 版本:使用标签(#v1.0.0) 生产中,分支用于开发参考
有关详细指南,请参阅以下资源: 安装 — 安装和更新 APM 工作流程 — 核心工作流程、apm.yml 格式、提交内容 命令 — 完整的 CLI 命令参考 依赖项 — 所有依赖项格式和版本固定