CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

apm-usage

This skill explains when to use APM and gives rules for installing and updating dependencies, pinning versions, and deciding which project files to commit or ignore. It also links to references for workflows, authentication, package authoring, governance, and troubleshooting.

Quality

80%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./packages/apm-guide/.apm/skills/apm-usage/SKILL.md
SKILL.md
Quality
Evals
Security

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 or LSP 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 and .gitignore (plus .apm/ if you author primitives). Deployed harness files (.github/, .claude/, .agents/, .mcp.json, AGENTS.md) are optional: any clone rebuilds them from the lockfile; commit them only when something reads the repo without running APM, such as a cloud coding agent
  • Never commit: apm_modules/ (add to .gitignore)
  • Team sync: after git clone, run apm install to restore dependencies
  • Update deps: apm update refreshes to latest refs (apm install --update is deprecated)
  • Pin versions: use tags (#v1.0.0) in production, branches for development
  • Prefer ASCII: keep CLI output and scripts to printable ASCII for portability; package content itself may be UTF-8

Reference

For detailed guidance, see the following resources:

  • Installation -- install and update APM
  • Workflow -- core workflow, apm.yml format, what to commit
  • Commands -- full CLI command reference
  • Dependencies -- all dependency formats, including MCP and LSP servers, and version pinning
  • Authentication -- token setup for private repos
  • Governance -- policy engine and audit checks
  • Package Authoring -- creating APM packages
  • Troubleshooting -- common errors and fixes
Repository

microsoft/apm

Path

packages/apm-guide/.apm/skills/apm-usage/SKILL.md

Last updated
First committed
Purpose
DevelopmentSecurity and compliance
Form
Rules
Commands
apmapm installapm updateapm auditapm compilegitgit clone
Usage
One-off

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.