Documentation

Learn how to use aipkg to install and manage AI packs

Installation

Install the aipkg CLI globally using npm, pnpm, yarn, or bun:

$npm install -g aipkg
$pnpm add -g aipkg
$bun add -g aipkg

Basic Usage

Install packs from the registry using the add command:

$aipkg add @anthropic/code-simplifier

The CLI will prompt you to select which tool to install to (Arctic, Claude Code, Cursor, etc.) and whether to install locally or globally.

Install from Git Repositories

You can install skills directly from any Git repository. The CLI will clone the repo and discover all SKILL.md files:

$aipkg add https://github.com/user/my-skills
$aipkg add git@github.com:user/my-skills.git

This is great for installing private skills or skills that aren't in the registry yet.

Install from URLs

Install a skill directly from a URL pointing to a .md file:

$aipkg add https://example.com/skills/my-skill.md
$aipkg add https://raw.githubusercontent.com/user/repo/main/SKILL.md

Perfect for sharing skills via gists, pastebins, or any web server.

Install from Context7

Install skills directly from Context7, a platform for sharing AI skills and documentation:

$aipkg add https://context7.com/skills/owner/repo/skill-name
$aipkg add https://context7.com/skills/anthropics/skills/frontend-design

The CLI will automatically fetch and install skills from Context7 URLs. This is a great way to discover and share community-created skills.

Install from Local Files

Install skills from your local filesystem - either a single file or a directory containing skills:

$aipkg add ./path/to/skill.md
$aipkg add ./my-skills-folder/

The CLI will scan directories for SKILL.md files and install all discovered skills.

CLI Options

Common options for the aipkg add command:

-t, --toolTarget tool (arctic, opencode, claude, claude-code, cursor, vscode, codex, gemini)
-g, --globalInstall globally (user-wide) instead of project-local
-m, --modeAgent mode for OpenCode/Arctic (primary, subagent, all)

Examples:

$aipkg add @anthropic/code-simplifier -t arctic -g
$aipkg add https://github.com/user/skills -t claude-code

Other Commands

List installed packs:

$aipkg list

Remove a pack:

$aipkg remove @anthropic/code-simplifier

Get help:

$aipkg --help