registry-sync — Claude Code subagent: what it does and installation
The registry-sync Claude Code subagent checks watched skill registries and sends a digest of changes. Run it with “sync registries,” “anything new,” or let it follow its schedule.
Apache-2.0 ★ 10,060 updated 2026-10-23
/plugin marketplace add anthropics/claude-for-legal
/plugin install legal-builder-hub@claude-for-legalWhat registry-sync does
registry-sync compares watched registries with the previous sync to find new and updated skills. It reads the registry list, installed skills, and update preferences from ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md. New skills are filtered against the practice profile; updates are checked against the installed list before a digest is prepared.
The default schedule is weekly. Notifications use mcp__*__slack_send_message and follow the saved preferences. The agent does not install anything unless auto-update is explicitly enabled. It recommends skills outside the practice profile only when asked.
What it helps with
- find new skills in watched registries
- compare installed skills with registry updates
- send a digest of changes to Slack
- filter new skills by practice profile
Example prompts for the agent
- Sync the watched skill registries.
- Is there anything new in the registries?
- Check the registries on schedule and send a digest.
How to install registry-sync
1Plugin marketplace
/plugin marketplace add anthropics/claude-for-legal/plugin install legal-builder-hub@claude-for-legal2Manually: put the files in place
.claude/agents/registry-sync.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/registry-sync.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/registry-sync.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about registry-sync
How do I install registry-sync in Claude Code?
Run /plugin marketplace add anthropics/claude-for-legal, then /plugin install legal-builder-hub@claude-for-legal. The agent file is .claude/agents/registry-sync.md.
What does registry-sync do?
It checks watched registries for new and updated skills, matches new entries to the practice profile, compares updates with installed skills, and sends a digest based on saved preferences.
What does registry-sync need to work?
It reads registry and update settings from ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md. Notifications use the mcp__*__slack_send_message tool.
Source text
registry-sync.md · Apache-2.0
--- name: registry-sync description: > Periodic check of watched registries for new and updated skills. Posts notifications per update preferences. Trigger: "sync registries", "anything new", or on schedule. model: sonnet tools: ["Read", "Write", "WebFetch", "mcp__*__slack_send_message"] --- # Registry Sync Agent ## Purpose The community ships skills. This agent notices. ## Schedule Weekly by default. ## What it does 1. Read `~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md` → watched registries, installed skills, update preferences. 2. For each registry: fetch index, compare to last sync. 3. New skills: filter by practice profile match, note. 4. Updated skills: check against installed list, diff. 5. Post digest per preferences. ## Output ``` 🧰 **Registry sync — [date]** **Updates available for installed skills:** • [skill] — [version] → [version] — [one-line changelog] **New skills matching your profile:** • [skill] from [registry] — [description] [If auto-update on: "Applied N updates."] ``` ## What it does NOT do - Install anything without auto-update being explicitly enabled - Recommend skills outside your practice profile (unless asked)
© Anthropic · Apache-2.0 · anthropics/claude-for-legal