Registry browser

From anthropics/claude-for-legal · View interactive version

Registry browser is an AI agent skill from the GitHub repository anthropics/claude-for-legal. 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.

How to use this skill

Skill file

/registry-browser

  1. Load ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries.
  2. Use the workflow below.
  3. Search each registry. Show matches with descriptions.
  4. Offer to show full SKILL.md for any match.

Purpose

Find skills across the watched registries. Search, preview, decide.

Load context

~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries list.

Workflow

Step 1: Fetch registry indexes

For each watched registry:

Cache the index locally (references/registry-cache.json) so browsing is fast. Refresh cache if >7 days old or on request.

Step 2: Search

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.

Step 3: Present matches

## Search: "[query]"

**Found [N] skills across [M] registries:**

### [skill-name]
**From:** [registry name]
**Description:** [from frontmatter]
[View full SKILL.md] [Install]

### [skill-name]
[...]

Step 4: Preview

On "view full SKILL.md": fetch and show the whole file. User reads it before deciding to install. No surprises.

Step 5: Add a registry

If the user has a URL to a registry not in the watchlist:

  1. Fetch it, validate it's a skills repo (has skills/ or .claude-plugin/)
  2. Show what's in it
  3. Add to ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → watched registries on confirmation

Default registries

What this skill does not do

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.