npm for AI coding agents. Package prompts, agents, and rules. Install once, native everywhere.
GitHub Copilot · Cursor · Claude · Codex · Gemini
curl -sSL https://raw.githubusercontent.com/danielmeppiel/apm/main/install.sh | shOne package. Every AI agent. Native format for each.
# Install from GitHub
apm install danielmeppiel/compliance-rules
# Install from awesome-copilot
apm install github/awesome-copilot/prompts/code-review.prompt.md
# Install Claude Skills
apm install ComposioHQ/awesome-claude-skills/brand-guidelines
# Compile instructions for your AI tools
apm compileDone. Type /gdpr-assessment or /code-review in Copilot or Claude. It just works.
┌─────────────────────────────────────────────────────────────────┐
│ APM Packages (hosted on GitHub, Azure DevOps) │
│ ├── Guardrails → Rules, compliance, standards │
│ ├── Workflows → Executable prompts, abilities │
│ └── Personas → Specialized AI agents │
└─────────────────────────────────────────────────────────────────┘
│
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 layered guardrails:
# apm.yml
name: corporate-website
dependencies:
apm:
- danielmeppiel/compliance-rules # GDPR, security, audit
- danielmeppiel/design-guidelines # Accessibility, 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 |
# GitHub
apm install owner/repo
# GitHub Enterprise
apm install ghe.company.com/owner/repo
# Azure DevOps
apm install dev.azure.com/org/project/repo
# Single file (Virtual Package)
apm install github/awesome-copilot/prompts/code-review.prompt.md
# Claude Skills
apm install ComposioHQ/awesome-claude-skills/brand-guidelinesapm 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 | Package meta-guides for AI discovery |
| Integrations | VSCode, Spec-kit, MCP servers |
| Guide | Description |
|---|---|
| Dependencies | Package management deep-dive |
| Primitives | Building advanced workflows |
| Contributing | Join the ecosystem |
Learn AI-Native Development → Awesome AI Native
A practical learning path for AI-Native Development, leveraging APM along the way.