npm for AI coding agents. The package manager for AGENTS.md, Agent Skills, and MCP servers.
GitHub Copilot Β· Cursor Β· Claude Β· Codex Β· Gemini
π Built on open standards: APM generates AGENTS.md instructions, installs Agent Skills natively, and manages MCP servers.
curl -sSL https://raw.githubusercontent.com/danielmeppiel/apm/main/install.sh | shOne package. Every AI agent. Native format for each.
# Install a skill β give your agent new capabilities
apm install danielmeppiel/form-builder
# Install guardrails β keep your agent compliant
apm install danielmeppiel/compliance-rules
# Compile for your AI tools
apm compileDone. Type /gdpr-assessment or /code-review in Copilot or Claude. It just works.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β APM Packages (from GitHub, Azure DevOps) β
β βββ Instructions β Coding standards, guardrails (AGENTS.md) β
β βββ Skills β AI capabilities, workflows (agentskills.io) β
β βββ Prompts β Reusable commands and templates β
β βββ MCP Servers β Tool integrations β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
apm install && apm compile
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Universal Output (auto-detected from .github/ and .claude/) β
β βββ AGENTS.md β Instructions for Copilot, Cursor, Codex β
β βββ CLAUDE.md β Instructions for Claude Code β
β βββ .github/ β VSCode native prompts & agents β
β βββ .claude/ β Claude commands & skills β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
One package. Every AI agent. Native format for each.
A production project using APM with skills and layered guardrails:
# apm.yml
name: corporate-website
dependencies:
apm:
- danielmeppiel/form-builder # Build forms with React Hook Form + Zod
- danielmeppiel/compliance-rules # GDPR, security
- danielmeppiel/design-guidelines # UI standardsapm install && apm compile| Command | What it does |
|---|---|
apm install <pkg> |
Add package to project |
apm compile |
Generate agent context files |
apm init |
Create new APM project |
apm run <prompt> |
Execute a workflow |
apm deps list |
Show installed packages |
# For packages hosted on GitHub
apm install owner/repo
# Paths or Single file are also OK (Virtual Package)
apm install github/awesome-copilot/prompts/code-review.prompt.md
# For packages in GitHub Enterprise with Data Residency
apm install ghe.company.com/owner/repo
# For packages Azure DevOps
apm install dev.azure.com/org/project/repoapm init my-standards && cd my-standardsThis creates:
my-standards/
βββ apm.yml # Package manifest
βββ SKILL.md # Package meta-guide for AI discovery
βββ .apm/
βββ instructions/ # Guardrails (.instructions.md)
βββ prompts/ # Workflows (.prompt.md)
βββ agents/ # Personas (.agent.md)
Example guardrail:
cat > .apm/instructions/python.instructions.md << 'EOF'
---
applyTo: "**/*.py"
---
# Python Standards
- Use type hints for all functions
- Follow PEP 8 style guidelines
EOF
# Push and share
git add . && git commit -m "Initial standards" && git pushAnyone can now run: apm install you/my-standards
# Quick install (recommended)
curl -sSL https://raw.githubusercontent.com/danielmeppiel/apm/main/install.sh | sh
# Homebrew
brew tap danielmeppiel/apm-cli && brew install apm-cli
# pip
pip install apm-cliapm compile # Auto-detects from .github/ and .claude/ folders
apm compile --target vscode # AGENTS.md + .github/ only
apm compile --target claude # CLAUDE.md + .claude/ only
apm compile --target all # Force all formatsNote:
apm compilegenerates instruction files (AGENTS.md, CLAUDE.md). Prompts, agents, and skills are integrated byapm installinto.github/and.claude/folders.
For private packages, Azure DevOps, or running prompts via AI runtimes:
| Token | Purpose |
|---|---|
GITHUB_APM_PAT |
Private GitHub packages |
ADO_APM_PAT |
Azure DevOps packages |
GITHUB_COPILOT_PAT |
Running prompts via apm run |
| Package | What you get |
|---|---|
| danielmeppiel/compliance-rules | /gdpr-assessment, /security-audit + compliance rules |
| danielmeppiel/design-guidelines | /accessibility-audit, /design-review + UI standards |
| DevExpGbb/platform-mode | Platform engineering prompts & agents |
| Add yours β |
| Guide | Description |
|---|---|
| Quick Start | Complete setup, tokens, first project |
| Core Concepts | How APM works, the primitives model |
| Examples | Real-world patterns and use cases |
| Guide | Description |
|---|---|
| CLI Reference | All commands and options |
| Compilation Engine | Context optimization algorithm |
| Skills | Native agentskills.io support |
| Integrations | VSCode, Spec-kit, MCP servers |
| Guide | Description |
|---|---|
| Dependencies | Package management deep-dive |
| Primitives | Building advanced workflows |
| Contributing | Join the ecosystem |
Open Standards: AGENTS.md Β· Agent Skills Β· MCP
Learn AI-Native Development β Awesome AI Native
A practical learning path for AI-Native Development, leveraging APM along the way.