Install Claude Code skills from GitHub to project scope
npx claudepluginhub lagz0ne/local-install-skillInstall Claude Code skills from GitHub repositories to project scope
Share bugs, ideas, or general feedback.
A Claude Code plugin that installs skills from GitHub repositories to project scope.
Claude Code's marketplace installs plugins to user scope (~/.claude/plugins/). This plugin enables project-scoped skill installation:
# Add this plugin to your Claude Code installation
/plugin marketplace add lagz0ne/local-install-skill
/plugin install local-install-skill@lagz0ne
Choose how skills are stored in your project:
| Mode | Storage | Best For |
|---|---|---|
| Submodule (default) | Git submodule + symlink | Teams, frequently updated skills |
| Copy | Direct file copy | Minimal footprint, one-off skills |
# Install with interactive mode selection (default: submodule)
/install-skill user/repo:skill-name
# Explicitly use submodule mode
/install-skill user/repo:skill-name --submodule
# Use copy mode (files copied directly)
/install-skill user/repo:skill-name --copy
# Install from specific branch
/install-skill user/repo#develop:skill-name
# Install all skills from a repo
/install-skill user/repo --all
# Update a submodule repo (updates all skills from it)
/update-skill repo-name
# Update a copy-mode skill (re-downloads)
/update-skill skill-name
# Update all
/update-skill --all
# Remove skill (cleans up submodule if no other skills use it)
/remove-skill skill-name
.claude/
├── submodules/ # Git submodules
│ └── superpowers/ # Full repo as submodule
│ └── skills/
│ └── brainstorming/
├── skills/ # Symlinks (committed)
│ └── brainstorming -> ../submodules/superpowers/skills/brainstorming
└── local-plugins.yaml # Registry (committed)
.claude/
├── skills/ # Copied files (committed)
│ └── my-skill/
│ └── SKILL.md
└── local-plugins.yaml # Registry (committed)
Skills are tracked in .claude/local-plugins.yaml:
version: 2
skills:
brainstorming:
mode: submodule
source: github.com/user/superpowers
repo: superpowers
branch: main
skillPath: skills/brainstorming
commitSha: abc123...
my-skill:
mode: copy
source: github.com/user/other-repo
branch: main
skillPath: skills/my-skill
commitSha: def456...
submodules:
superpowers:
source: github.com/user/superpowers
path: .claude/submodules/superpowers
skills:
- brainstorming
/install-skill org/repo:skill-namegit add .claude/skills .claude/local-plugins.yaml .gitmodulesgit pull && git submodule update --init/install-skill org/repo:skill-name --copygit add .claude/skills .claude/local-plugins.yamlgit pull (skills are already in the files)MIT