npx skills add ...
npx skills add anthropics/claude-for-legal --skill registry-browser
npx skills add anthropics/claude-for-legal --skill registry-browser
Search watched registries for community legal skills, showing matches with descriptions and offering to show the full SKILL.md before install. Use when the user says "browse", "search skills", "find a skill for", "what's out there for", or wants to add a new registry to the watchlist.
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries.Find skills across the watched registries. Search, preview, decide.
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries list.
For each watched registry:
skills/ directory listing and each SKILL.md frontmatter (name + description).Cache the index locally (references/registry-cache.json) so browsing is fast. Refresh cache if >7 days old or on request.
Match query against skill names and descriptions. Simple keyword match is fine — these are small enough that fuzzy search is overkill.
Also: browse by category if the registry organizes skills that way.
On "view full SKILL.md": fetch and show the whole file. User reads it before deciding to install. No surprises.
If the user has a URL to a registry not in the watchlist:
skills/ or .claude-plugin/)~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries on confirmation