ai-tool-handoff — Claude Code skill for contract review
This skill coordinates bulk clause extraction through Luminance or Kira, then checks the results. Use it for due diligence across a uniform set of contracts.
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-codeWhat ai-tool-handoff does
The skill reads the AI review settings in ~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md, prepares a document-loading request, and checks returned results against the team’s trust level. It then helps assess flagged clauses in light of the deal structure and format diligence findings. A person or the tool’s own interface runs Luminance or Kira; the skill does not run the extraction itself.
It suggests checking tabular-review before handing off. A handoff makes sense when a category contains more than 50 documents, the files are reasonably uniform, and the target is a clause type the tool can find, such as change of control or assignment. Side letters and amendments are poor candidates because their meaning can depend on the main agreement.
If the configuration says no AI tool is in use, the skill does not hand off the work. Its summary may contain material from privileged or confidential documents, so it should be stored with the matter’s privileged files. Distribution beyond the privilege circle can waive privilege.
What it helps with
- hand off bulk clause extraction to Luminance or Kira
- prepare a request to load contracts from a VDR
- check extracted clauses against the team’s trust level
- assess whether a flagged clause is triggered by the deal
- add conclusions to diligence findings
Example prompts for the agent
- Send this category of contracts to Luminance to find change-of-control clauses.
- Prepare a Kira bulk-review request and a plan to QA its results.
- Check whether the flagged change-of-control clauses are triggered by this deal structure.
How to install ai-tool-handoff
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-code2Manually: put the files in place
~/.claude/skills/ai-tool-handoff/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ai-tool-handoff/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a codex2Manually: put the files in place
.agents/skills/ai-tool-handoff/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a cursor2Manually: put the files in place
.cursor/skills/ai-tool-handoff/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-for-legal ai-tool-handoff2Manually: put the files in place
.github/skills/ai-tool-handoff/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/claude-for-legal --path corporate-legal/skills/ai-tool-handoffManually: put the files in place
.devin/skills/ai-tool-handoff/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ai-tool-handoff
How do I install ai-tool-handoff in Claude Code?
Run npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-code. The skill file is at ~/.claude/skills/ai-tool-handoff/SKILL.md.
What does ai-tool-handoff do?
It coordinates bulk clause extraction through Luminance or Kira, checks results against the team’s configured trust level, and helps assess clauses in the context of the deal. It does not run the extraction tool.
When does the skill hand off contracts for bulk review?
The category must contain more than 50 documents, the documents should be reasonably uniform, and the target should be a clause type the tool can identify. The skill advises against handing off side letters and amendments.
Source text
SKILL.md · Apache-2.0
--- name: ai-tool-handoff description: > Detects when Luminance, Kira, or a similar bulk-review tool is in use, hands off the high-volume clause extraction to it, and QAs its output per the trust level in `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md`. Use when user says "send to Luminance", "bulk review", "AI extraction", or when diligence-issue-extraction hits a high-volume category. --- # AI Tool Handoff ## Matter context **Matter context.** Check `## Matter workspaces` in the practice-level CLAUDE.md. If `Enabled` is `✗` (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run `/corporate-legal:matter-workspace switch <slug>` or say `practice-level`." Load the active matter's `matter.md` for matter-specific context and overrides. Write outputs to the matter folder at `~/.claude/plugins/config/claude-for-legal/corporate-legal/matters/<matter-slug>/`. Never read another matter's files unless `Cross-matter context` is `on`. --- ## Purpose Luminance and Kira are good at one thing: reading 500 contracts and finding every change-of-control clause. They're less good at judgment — deciding whether a particular CoC provision is actually triggered by this deal structure. This skill hands off the bulk extraction to the right tool, then runs the QA layer on what comes back. **Before you hand off:** try `tabular-review` first (`/corporate-legal:tabular-review`). For anything the user's environment can handle — a few hundred documents, a defined column schema — native tabular review is faster to set up, has no per-document cost, and keeps the work product local. Hand off to Luminance/Kira when the corpus is genuinely too large, the team already has a license and workflow, or the matter requires a tool with a validated provenance chain. ## Load context `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` → AI-assisted review: - Tool in use (Luminance / Kira / none) - What it's used for (which clause types) - Trust level (use as-is / spot-check / full re-review) - Handoff process (who loads, who QAs) If `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` says no AI tool → this skill is a no-op. Everything goes through diligence-issue-extraction directly. ## When to hand off Hand off when all of: - Category has >50 documents (below that, faster to just read them) - Extraction target is a clause type the tool is good at (CoC, assignment, exclusivity, MFN, termination, auto-renewal) - Documents are reasonably uniform (all customer contracts on similar paper — not a mix of contracts, letters, and board minutes) Don't hand off: - Bespoke or heavily negotiated documents - Side letters and amendments (context-dependent, tools miss the interaction with the main agreement) - Anything where the question is "what does this mean for the deal" not "does this clause exist" ## The handoff ### Step 1: Prepare the batch - Identify documents for the batch (from VDR inventory) - Specify extraction targets per `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` (which clause types) - Note the materiality threshold so tool output can be filtered ### Step 2: Load (or instruct the loader) Per `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` — who loads. If it's you, generate the load instructions. If it's someone else, generate the request: ```markdown ## [Tool] Load Request — [Deal code] — [Category] **Documents:** [N] docs from VDR folder [path] **Load to:** [Tool workspace/matter] **Extraction targets:** - Change of control / assignment - Exclusivity - [etc. per `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md`] **Filter output:** Flag only where extraction target is present — no need for "no CoC clause found" for every doc. **Return by:** [date] ``` ### Step 3: QA the output When the tool returns results, apply the trust level: **"Use as-is":** Ingest directly into diligence findings. (Only if `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` says this — it's rare.) **"Spot-check X%":** Randomly sample X% of flagged documents. For each, read the actual clause and compare to the tool's extraction. If error rate is low, accept the batch. If errors found, widen the sample. **"Full human review of flagged":** Tool narrows the universe (500 docs → 80 with CoC clauses). Human reads all 80. Tool saved the time of reading the 420 clean ones. ### Step 4: Judgment layer The tool found the clauses. Now apply judgment: For each flagged CoC provision: is it actually triggered by this deal? - Stock sale vs. asset sale vs. merger — different triggers - "Change of control" defined how in the contract — majority ownership? board control? something else? - Is there a carve-out for this type of transaction? This is the part the tool can't do. Output goes to diligence findings in house format. ## Output > The QA summary below is derived from VDR documents that are privileged, confidential, or both. It inherits the sources' privilege and confidentiality status — distribution beyond the privilege circle can waive privilege. Store with the matter's privileged files. ```markdown ## AI Tool Handoff Summary — [Category] **Tool:** [Luminance / Kira] **Documents processed:** [N] **Extraction targets:** [clause types] ### QA **Trust level:** [per `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md`] **Sample size:** [N] docs spot-checked **Error rate:** [X]% — [Accepted / Widened sample / Full re-review triggered] ### Results | Clause type | Docs flagged | After judgment layer | Material | |---|---|---|---| | Change of control | [N] | [N actually triggered by deal structure] | [N above threshold] | | Assignment | [N] | [N] | [N] | **→ [N] findings added to diligence issues** **→ [N] consents added to closing checklist** ``` ## Close with the next-steps decision tree End with the next-steps decision tree per CLAUDE.md `## Outputs`. Customize the options to what this skill just produced — the five default branches (draft the X, escalate, get more facts, watch and wait, something else) are a starting point, not a lock-in. The tree is the output; the lawyer picks. ## What this skill does not do - It doesn't run Luminance or Kira — it manages the handoff and QA. A human (or the tool's own interface) runs the extraction. - It doesn't replace the tool's output with its own judgment entirely — if `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md` says spot-check 10%, check 10%, not 100%. - It doesn't decide the trust level — that's in `~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md`, set at cold-start based on the team's experience with the tool.
© anthropics · Apache-2.0 · anthropics/claude-for-legal