apm-usage

Reference for APM syntax, commands, manifest structure, and lockfile workflow.

416|6|Updated Apr 24, 2026
Ready to run
npx skills add https://github.com/mizchi/skills --skill apm-usage-mizchi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: apm-usage
Source: https://github.com/mizchi/skills/tree/main/apm-usage
Command: npx skills add https://github.com/mizchi/skills --skill apm-usage-mizchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers and skill authors need accurate, up-to-date documentation on APM (Agent Package Manager) to correctly declare dependencies, manage skill installations across project and global scopes, and troubleshoot version conflicts or authentication issues. ## Core Features & Use Cases - Manifest Authoring: Complete reference for apm.yml schema, including targets, dependencies, mcp, and scripts fields with validation rules. - Command Reference: All core APM commands (install, uninstall, update, audit, deps list/tree) with scope distinctions (project vs. global). - Lockfile & Reproducibility: Explains apm.lock.yaml generation, frozen-lockfile workflows, and integration with chezmoi for dotfile management. - Skill Publishing: Guidelines for directory structure, SKILL.md frontmatter, version management via git tags, and pre-publication verification. - Use Case: A team lead sets up a project's apm.yml, pins skill versions in apm.lock.yaml for reproducibility, and documents the setup so new team members run apm install --frozen-lockfile to get identical dependencies. ## Quick Start When you need to install a skill for a project, add it to your apm.yml dependencies section and run apm install.

Frequently Asked Questions about apm-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a skill in my project?▼

Add the skill to your `apm.yml` under `dependencies.apm` (e.g., `owner/repo/skills/skill-name#v1.0.0`) and run `apm install`. This resolves the dependency and deploys it to `.claude/skills/` or your configured target.

What is the difference between project and global scope APM installs?▼

Project scope (`apm install`) reads `./apm.yml`, deploys to `./.claude/skills/`, and commits `./apm.lock.yaml` for team reproducibility. Global scope (`apm install -g`) reads `~/.apm/apm.yml`, deploys to `~/.claude/skills/`, and is ideal for personal tools synced via chezmoi.

How do I pin a skill to a specific version?▼

Use the `#version` syntax in `apm.yml`: `owner/repo/skills/skill-name#v1.0.0`. Tag your skill repository with `git tag v1.0.0` and push it to make it available for pinning.

What is apm.lock.yaml and why should I commit it?▼

The lockfile records exact resolved versions of all dependencies. Committing it ensures teammates and CI use identical skill versions, preventing breakage from upstream updates. Use `apm install --frozen-lockfile` on new machines to enforce lockfile compliance.

How do I create and publish a skill?▼

Create a `SKILL.md` with required `name` and `description` frontmatter fields, add optional `scripts/`, `references/`, and `assets/` directories, tag the repository with a semver version (e.g., `v1.0.0`), and users install it with `apm install owner/repo/skills/skill-name`.

Why does APM 0.12+ require a targets field in apm.yml?▼

APM 0.12+ removed fallback target detection to ensure reproducible installs regardless of working directory structure. Always declare `targets: [claude]` (or other target) in your manifest to make the install explicit and independent of marker directory presence.