ai-tool-handoff — скилл для Claude Code: передача проверки договоров
Скилл организует передачу массового поиска условий в Luminance или Kira и проверяет результат. Пригодится для due diligence по однородной пачке договоров.
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-codeЧто делает ai-tool-handoff
Скилл сверяется с настройками AI-проверки в ~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md, готовит запрос на загрузку документов и проверяет результат по заданному уровню доверия. Затем агент оценивает отмеченные условия с учётом структуры сделки и формирует выводы для due diligence. Luminance и Kira запускает человек или их интерфейс — сам скилл извлечение не выполняет.
Перед передачей он предлагает сначала рассмотреть tabular-review. Передавать документы дальше следует, если в категории больше 50 файлов, они достаточно однородны и проверяется подходящий тип условия, например смена контроля или уступка. Для дополнительных соглашений и писем с особыми условиями этот способ не подходит: контекст основного договора может потеряться.
Если в настройках указано, что AI-инструмент не используется, скилл ничего не передаёт. Итоговый отчёт может содержать сведения из конфиденциальных или привилегированных документов; его нужно хранить среди привилегированных файлов дела. Это важно учитывать при распространении результатов.
Какие задачи решает
- передать массовый поиск условий в Luminance или Kira
- подготовить запрос на загрузку договоров из VDR
- проверить найденные условия по заданному уровню доверия
- оценить, срабатывает ли условие при структуре сделки
- добавить выводы в список вопросов due diligence
Примеры запросов агенту
- Передай в Luminance поиск условий о смене контроля в этой категории договоров.
- Подготовь запрос на массовую проверку договоров в Kira и план проверки результата.
- Проверь, срабатывают ли найденные условия о смене контроля при этой структуре сделки.
Как установить ai-tool-handoff
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-code2Вручную: положить файлы
~/.claude/skills/ai-tool-handoff/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ai-tool-handoff/
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a codex2Вручную: положить файлы
.agents/skills/ai-tool-handoff/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a cursor2Вручную: положить файлы
.cursor/skills/ai-tool-handoff/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-for-legal ai-tool-handoff2Вручную: положить файлы
.github/skills/ai-tool-handoff/SKILL.md1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a gemini-cli2Командой платформы
gemini skills install https://github.com/anthropics/claude-for-legal --path corporate-legal/skills/ai-tool-handoffВручную: положить файлы
.devin/skills/ai-tool-handoff/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора118
Похожие
Рядом в теме «Документы и офис»
Всё по теме «Документы и офис» →Вопросы о ai-tool-handoff
Как установить ai-tool-handoff в Claude Code?
Выполните npx skills add anthropics/claude-for-legal --skill ai-tool-handoff -a claude-code. Файл скилла находится по пути ~/.claude/skills/ai-tool-handoff/SKILL.md.
Что делает ai-tool-handoff?
Он передаёт массовое извлечение условий в Luminance или Kira, проверяет результат по настройкам команды и помогает оценить найденные условия с учётом сделки. Сам инструмент проверки он не запускает.
Когда скилл передаёт документы на массовую проверку?
Когда в категории больше 50 документов, они достаточно однородны и нужно найти тип условия, который подходит инструменту. Дополнительные соглашения и документы с особыми условиями скилл не рекомендует передавать.
Исходный текст
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