Using GitHub Packages with skr
skr supports any OCI-compliant registry, including GitHub Packages (GHCR).
Prerequisites
To push or pull skills from GitHub Packages, you need a Personal Access Token (PAT).
- Go to GitHub Settings -> Developer Settings -> Personal access tokens -> Tokens (classic).
- Generate a new token.
- Select the
write:packagesscope (for pushing) andread:packages(for pulling). - Copy the token.
Login
Use skr to log in to ghcr.io:
skr registry login ghcr.io --username <your-github-username>
# Paste your PAT when prompted for password
Pushing a Skill
- Build your skill with the full registry tag:
- Push it:
Pulling a Skill
To install a skill from GitHub Packages:
Or just pull it to your local store: