Wraps the real apm
apmw install and apmw update call apm and sanitize afterwards; apmw sanitize works on an already-installed agent directory without apm.
Runs apm install or update and then rewrites the installed agent frontmatter for Claude Code, OpenCode, GitHub Copilot, Cursor or Codex.
pipx install apmw
apmw install all@apm-hub -g -p claude