Warning
This project is in early alpha. APIs and configuration formats may change without notice. Use at your own risk.
Universal package manager for AI coding tool artifacts (skills, commands, hooks). Manages artifacts from git repos and installs them to multiple AI tool targets.
npm install -g @agpm/cli# Add a source repository
agpm source add anthropics/skills
# Discover available artifacts
agpm source discover anthropics/skills
# Add an artifact to your project
agpm add anthropics/skills pdf
# Install artifacts to target directories
agpm install| Command | Description |
|---|---|
agpm add <source> [artifact] |
Add an artifact to agpm.json |
agpm install |
Install artifacts to target directories |
agpm sync |
Alias for install |
agpm list |
Show configured artifacts and status |
agpm remove <artifact> |
Remove an artifact |
agpm update [artifact] |
Update lock file to latest SHAs |
agpm source add <repo> |
Add a source repository |
agpm source list |
List configured sources |
agpm source remove <repo> |
Remove a source |
agpm source discover <repo> |
Show available artifacts in a source |
The <source> argument accepts:
owner/repo- GitHub shorthandowner/repo#subpath- With subpathhttps://github.com/owner/repo- Full URL
User-edited config declaring sources and artifacts:
{
"$schema": "https://agpm.dev/schemas/agpm.json",
"targets": {},
"sources": ["anthropics/skills"],
"artifacts": ["anthropics/skills/pdf"]
}Auto-generated lock file pinning artifacts to git SHAs:
{
"$schema": "https://agpm.dev/schemas/agpm-lock.json",
"version": 1,
"artifacts": {
"anthropics/skills/pdf": {
"sha": "69c0b1a...",
"integrity": "sha256-...",
"path": "skills/pdf",
"metadata": {
"name": "pdf",
"description": "PDF manipulation toolkit..."
}
}
}
}- Add - Clones source repo, discovers artifacts, adds to config
- Install - Resolves SHAs, copies artifacts to target directories:
.claude/skills/<name>/.opencode/skills/<name>/.codex/skills/<name>/
- Update - Fetches latest SHAs and updates lock file
MIT