Install a community skill from a watched registry. Reads the allowlist first, fetches, shows the RAW SKILL.md (not just a summary), runs structural trust checks, runs skills-qa, and only writes files after explicit user approval. Use when the user says "install [skill]", picks install from browse, or provides a direct skill URL.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "skill-installer" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/claude-for-legal/main/legal-builder-hub/skills/skill-installer/SKILL.md 2. 保存为 ~/.claude/skills/skill-installer/SKILL.md 3. 装好后重载技能,告诉我可以用了
Follow the workflow below exactly. Summary of what must happen — do not skip any step:
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/allowlist.yaml. If restrictive mode and source not listed: refuse. If permissive: warn and continue.skills-qa against the candidate. Surface the verdict and the heuristic-scan findings.yes typed by the user.~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md and append to install-log.yaml.The approval gate is human-in-the-loop. Do not infer approval from earlier messages. Do not write any file before Step 7.
Get a community skill from a registry to running locally. Safely — you see the raw SKILL.md, you see what the skill can touch, and nothing is written to disk until you explicitly say yes.
This skill is a sequence of instructions to Claude. Claude reads the third-party SKILL.md as part of that sequence. A sufficiently clever prompt injection in a third-party SKILL.md could attempt to tell Claude to skip the raw-source display, report a clean scan, or write files before the approval step. The mitigations in this skill reduce that risk but cannot fully eliminate it:
For the strongest guarantee: run the fetch and analysis in a read-only context (a subagent with Read/WebFetch only — no Write, no Bash, no MCP). That way a successful injection has nothing to exploit even if it suppresses the UI. The install step (Step 6) is the first time elevated tools are needed; gate it on a fresh, explicit "yes" from the user in their own words.
Read ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/allowlist.yaml.
If the file does not exist, tell the user before proceeding: "No allowlist found at [path]. Run /legal-builder-hub:cold-start-interview to create one — without it, every source is treated as trusted and the installer has no structural gate, only the AI trust review (which a well-crafted injection can manipulate). For now I'll proceed in permissive mode with an empty allowlist, which means I'll flag unknown sources but won't refuse anything." Then proceed in permissive mode with empty lists.
See references/allowlist.md for schema and rationale.
Check the registry URL and publisher from the user's command against
registries and publishers:
…
Manage matter workspaces — create, list, switch, close, or detach the active matter. Use in multi-client private practice to keep one client's context separate from another, or when a substantive skill needs to know which matter it's working in.
Draft a DMCA takedown notice, triage one you received, or draft a §512(g) counter-notice. Use when asserting copyright through a §512(c)(3) takedown with the fair-use and perjury gates, when an incoming takedown needs triage into comply / counter / engage / ignore options, or when drafting a §512(g)(3) counter-notice with the consent-to-federal-jurisdiction gate.
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.
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Draft a brief section in house style, consistent with the case theory — every fact cited, every case checked, every argument tied to the theory. Use when the user says "draft the [section]", "write the statement of facts", "argument section on [issue]", or needs a first draft of a brief section.
Brief a case in your preferred format. In drill-me mode, makes the student state the holding first. Use when the user says "brief [case]", "what's the holding in", "case brief", or pastes a case.