Check installed community skills for updates. Shows a diff and requires explicit approval before applying. Use when the user says "check for updates", "update my skills", "anything new for my installed skills", or when invoked from the registry-sync agent.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "auto-updater" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/claude-for-legal/main/legal-builder-hub/skills/auto-updater/SKILL.md 2. 保存为 ~/.claude/skills/auto-updater/SKILL.md 3. 装好后重载技能,告诉我可以用了
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → installed skills + auto-update prefs.Community skills improve. This skill notices when, shows you what changed, and applies updates only with your explicit approval.
Installed skills are code running inside your privileged legal environment. An upstream repository can be compromised, transferred to a new owner, or simply change behavior in ways you don't want. This skill is designed so that no update is ever applied without you reading the diff and approving it. That's not a preference — it's the design.
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md → installed skills (with version/commit SHA), update preferences (notify / manual).
For each skill in the installed list:
For each update, show the full diff:
# [skill-name] — [installed SHA] → [latest SHA]
## SKILL.md changes
[unified diff]
## hooks/hooks.json changes
[unified diff — FLAG: hooks can execute arbitrary code]
## .mcp.json changes
[unified diff — FLAG: MCP servers run with your credentials]
## Other files
[list of added/removed/modified files with diffs]
Then run the trust check:
hooks/hooks.json change? Hooks can execute arbitrary shell commands. Show the diff prominently and ask the user to confirm they understand what the new hooks do..mcp.json change? New or changed MCP servers can access your environment. Same treatment.allowed-tools or tools frontmatter expand? New tool access is a permission escalation.description or stated purpose change? A skill that claimed to "review NDAs" and now claims to "send contracts" has repurposed itself.Re-run the full skills-qa scan against the NEW version before applying the
update. A skill that was clean at v1.0 can ship a poisoned v1.1 — the
GlassWorm pattern (a trusted publisher, an established skill, a minor
version bump that carries the payload). Install-time trust does not
transfer to updates.
Rules:
skills-qa Step 1.5 category — refuse
the update by default and explain why. Emit the new-version REFUSE
output verbatim.hooks/hooks.json, .mcp.json, allowed-tools/tools
frontmatter, new Bash/WebFetch/WebSearch access, new external URLs,
new file-write paths outside the skill directory, or the description
frontmatter FORCES a human-approval prompt and cannot be bypassed by a
clean LLM scan. The scan is a signal; the human is the gate.restrictive allowlist mode, the read-only subagent
is MANDATORY here — do not apply an update in restrictive mode without…
Diff a proposed handbook change against the current version, flag ripple effects and state supplement impacts. Use when user says "update the handbook", "add this to the handbook", "handbook change", or has a policy ready for insertion.
Review an offer letter and any restrictive covenants — jurisdiction check included. Substantive rules (covenant enforceability, pay-transparency, salary-history limits, exemption criteria) are researched per hire, not stored. Use when the user says "review this offer", "can we use a non-compete here", "check this offer letter", "hiring in [state]", or attaches an offer.
Draft an audience-specific summary from the privileged investigation memo — HR, leadership, or outside counsel versions. Use when an investigation memo needs to be communicated to an audience that should not see the full privileged work product.
Track the IP portfolio — registrations, renewals, maintenance fees, and use declarations. Use when checking what's renewing, adding or updating an asset, recording a maintenance filing, or auditing the register for gaps, lapses, and use-in-commerce questions. Receives handoffs from prosecution and clearance work.
IRAC-scaffolded case analysis memo with research gaps flagged — the scaffold, not the analysis. Rule blocks are RESEARCH NEEDED, Application is STUDENT ANALYSIS prompts, Conclusion is blank. Use when a student needs to scaffold a case analysis memo, write up their analysis, or build an IRAC memo for a case.
Read VDR documents and extract issues per house categories and materiality thresholds, producing findings in house memo format. Use when user says "review the data room", "extract issues from [folder]", "diligence review", "what's in the VDR", or points at VDR documents.