Manages Claude Code skills from plugin marketplaces using the local-skills CLI. Use when the user wants to add, update, remove, list, or inspect skills from a marketplace, or when managing the project's .claude/skills/ directory with version-tracked skills. Triggers on "install a skill", "add skill from marketplace", "update skills", "list available skills", "remove skill", or "local-skills".
96
96%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
local-skills is a CLI tool for extracting and managing Claude Code skills from plugin marketplaces. It installs skills into .claude/skills/ with version tracking, modification detection, and update management.
The tool must be installed from npm before use:
npm install -g local-skillsOr you can install per-project:
npm install --save-dev local-skillsVerify installation:
local-skills --helplocal-skills add <specifier>The specifier format is <plugin>@<marketplace>/<skill>[:<version>]:
| Part | Description |
|---|---|
plugin | Plugin name in the marketplace |
marketplace | GitHub owner/repo or full git URL |
skill | Skill name (or * for all) |
version | Optional git ref (tag, branch) |
Examples:
# Add a single skill from a GitHub marketplace
local-skills add superpowers@anthropics/claude-code/tdd
# Pinned to a specific tag
local-skills add superpowers@anthropics/claude-code/tdd:v2.0
# All skills from a plugin
local-skills add superpowers@anthropics/claude-code/*
# From a full git URL
local-skills add my-plugin@https://gitlab.com/team/repo.git/my-skilllocal-skills ls [source]Options:
--long, -l — Show descriptions--installed — Only installed skills--not-installed — Only non-installed skillsExamples:
# List all installed skills
local-skills ls --installed
# List skills from a remote marketplace with descriptions
local-skills ls anthropics/claude-code --long
# List skills not yet installed from a marketplace
local-skills ls anthropics/claude-code --not-installedlocal-skills info <skill>Displays source, version, and content information for an installed skill.
local-skills update <skill-name>Options:
--force, -f — Overwrite locally modified filesUpdate behavior:
--force is passedlocal-skills remove <skill-name>Removes the skill directory from .claude/skills/ and cleans up tracking files.
Both files should be committed to version control:
.claude/local-skills.json — Manifest declaring what skills are installed and from where (source, ref, SHA).claude/local-skills-state.json — Content hashes for installed skill files, used to detect local modifications.claude-plugin/marketplace.json to find the plugin.claude/skills/<skill-name>/When a user asks to add skills from a marketplace:
local-skills is installed: local-skills --helpnpm install -g local-skillslocal-skills ls <marketplace> --long to show available skillslocal-skills add with the appropriate specifierlocal-skills ls --installedWhen a user asks to update skills:
local-skills ls --installedlocal-skills update <skill-name> for each skill--force only if they confirmWhen a user asks about available skills:
local-skills ls <marketplace> --long to browse a marketplacelocal-skills info <skill> for details on an installed skillc10c616
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.