- Load
~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md→ watched registries. - Use the following workflow.
- Search each registry. Show matches with descriptions.
- Offer the option to view the full SKILL.md for any match.
Purpose
Find skills across watched registries. Search, preview, decide.
Load context
~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md → watched registry list.
Workflow
Step 1: Get registry index
For each watched registry:
- GitHub repository: fetch the
skills/directory listing and the frontmatter (name + description) of eachSKILL.md. - Marketplace-style registry: fetch the index.
Cache the index locally (references/registry-cache.json) to make browsing faster. Refresh when the cache is older than 7 days or the user requests it.
Step 2: Search
Match query terms against skill names and descriptions. Simple keyword matching is sufficient—this data is small enough that fuzzy search is overkill.
Also: if the registry organizes skills by category, support browsing by category.
Step 3: Present matches
## 搜索:"[关键词]"
**在 [M] 个注册表中找到 [N] 个技能:**
### [技能名称]
**来源:** [注册表名称]
**描述:** [来自 frontmatter]
[查看完整 SKILL.md] [安装]
### [技能名称]
[...]
Step 4: Preview
When the user chooses "view full SKILL.md": fetch and display the full file. The user reads it before deciding to install. No surprises.
Step 5: Add registry
If the user has a registry URL that is not in the watch list:
- Fetch it, verify it is a skill repository (has
skills/or.claude-plugin/) - show what is in it
- After confirmation, add to
~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md→ watched registries
Default registry
- lpm-skills — 14 legal project management skills. Practice-area agnostic. A good starting point.
- Leave room for adding other registries as the ecosystem grows.
What this skill does not do
- Install anything. It only browses. skill-installer handles installation.
- Evaluate or review skills. It shows you the SKILL.md; you decide.
- Search the entire internet. Only search watched registries.