Install, manage, and troubleshoot agent skills from the Locus skills registry.
Skills are reusable AI agent capabilities that extend what Locus can do. They are community-contributed and hosted in the Locus skills registry.
Quick Start
# Browse available skillslocusskillslist# Install a skilllocusskillsinstallcode-review# See installed skillslocusskillslist--installed# Get details about a skilllocusskillsinfocode-review
Commands
Command
Description
locus skills list
List available skills from the registry
locus skills list --installed
List locally installed skills
locus skills install <name>
Install a skill from the registry
locus skills remove <name>
Remove an installed skill
locus skills uninstall <name>
Alias for remove
locus skills update [name]
Update all or a specific installed skill
locus skills info <name>
Show skill metadata and install status
How Installation Works
When you run locus skills install <name>, Locus performs an atomic install to ensure your project is never left in a broken state:
Download — The skill content is fetched from the remote registry.
Stage — Files are written to a temporary directory first (not your project).
Validate — Content is verified (non-empty, hash integrity check).
Write — Staged files are moved to their final locations:
.claude/skills/<name>/SKILL.md
.agents/skills/<name>/SKILL.md
Register — The skill is recorded in skills-lock.json with its content hash.
If any step fails, all partial files are automatically cleaned up. Your project stays in the same state it was before the install attempt.
Recovery & Rollback
Failed Install
If an install fails (network error, disk full, permissions), Locus automatically cleans up. The error message will tell you which step failed:
Simply fix the underlying issue (free disk space, fix permissions) and retry locus skills install <name>.
Broken or Orphaned Installs
If a skill is in a broken state (files on disk but not registered, or vice versa), locus skills remove will clean up all traces:
This works regardless of whether the skill is fully installed, partially installed, or only has orphaned files on disk.
Manual Recovery
If you need to manually clean up:
Lock File
skills-lock.json at your project root tracks all installed skills:
The computedHash is a SHA-256 digest of the skill content, used to detect when updates are available.
Updating Skills
Locus compares the local hash against the remote registry. Only skills with changed content are re-downloaded and updated.
✗ Failed to install 'my-skill' during writing skill files to project: ENOSPC: no space left on device
To clean up and retry: locus skills remove my-skill then locus skills install my-skill
# Removes both directories AND the lock file entry, even for broken installs
locus skills remove my-skill
# Remove skill directories
rm -rf .claude/skills/<name> .agents/skills/<name>
# Then remove the entry from skills-lock.json (if present)
# Edit skills-lock.json and delete the skill's entry from the "skills" object