Установка
SKILL.md
/tabular-review
- Load
~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md→ diligence structure, thresholds, house format. - Confirm: what documents, what columns, where does the output go.
- Build the typed schema. Write
.review-schema.yaml. Confirm with the user. - Sample run (3–5 docs). Adjust schema. Confirm.
- Fan out — one sub-agent per document, parallel. Each cell: value + state + verbatim quote + location.
- Normalization pass. Flag outliers and inconsistencies.
- Output:
.xlsxor Google Sheets (ask which), plus.csv+_sources.csv+ markdown always. Work-product header. - Summary: verification workload (counts of not_present / unclear / needs_review per column), flagged columns, where the files are, reminder that every cell is a lead not a finding.
/corporate-legal:tabular-review
/corporate-legal:tabular-review --schema .review-schema.yaml --docs ./vdr/02-Contracts/
/corporate-legal:tabular-review --template ma-diligence
--schema <path>: Use an existing schema file instead of building one. Useful for re-runs and incremental additions.
--template <name>: Start from a template in references/. Currently: ma-diligence.
--docs <path>: Document source. A local folder, a Drive folder ID, or a VDR path. If omitted, asks.
--output <xlsx|gsheets|csv>: Output format. If omitted, asks.
--sample <n>: Sample size for the schema check. Default 5.
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
You have a pile of documents and a list of questions you need answered consistently across every one. A diligence request list. A vendor contract audit. A lease portfolio review. The output is a table: document rows, data-point columns, and every cell traceable to the exact words in the source.
This is not issue spotting. diligence-issue-extraction finds the 30 problems hiding in 2,000 documents. This skill answers the same 15 questions about all 2,000 documents. Both are legitimate; they answer different questions.
This is also not a replacement for a human reading the document. Every cell this skill produces is a lead that needs verification, not a finding. The output is designed to make verification fast, not to skip it.
Load context
~/.claude/plugins/config/claude-for-legal/corporate-legal/CLAUDE.md→ diligence structure, materiality thresholds, house format preferences~/.claude/plugins/config/claude-for-legal/corporate-legal/deals/[code]/deal-context.mdif working a specific deal- An existing schema file if the user has one (
.review-schema.yaml)
The column type system
The thing that makes a tabular review useful is that Column C means the same thing in row 1 as in row 200. Free text drifts. Types hold.
Every column has a type that constrains the answer format:
| Type | What it returns | Use for |
|---|---|---|
verbatim | Exact quote from the document, character-for-character | Defined terms, operative clause language, anything where the words matter |
classify | One value from a fixed list you define | Yes/No, present/absent, clause variants (e.g., "sole consent" / "consent not unreasonably withheld" / "silent") |
date | ISO date | Effective date, expiration, termination notice deadline |
duration | Number + unit | Term length, notice period, survival period |
currency | Number + currency code | Caps, thresholds, fees, purchase price references |
number | Bare number | Counts, percentages, page references |
free | Short free text summary | Use sparingly — this is the type that drifts. Only when the others genuinely don't fit. |
The verbatim rule: Every non-verbatim column also captures the exact source quote that supports the answer, as a companion field. The answer in the cell is the interpretation; the quote is the evidence. A classify cell that says "consent not unreasonably withheld" is useless without the sentence it came from, because the reviewer's job is to check whether that's the right read.
The three states of "not found"
A blank cell hides information. Force one of three explicit states whenever you can't produce a positive answer:
| State | Meaning | When to use |
|---|---|---|
not_present | The document was read and the clause is not there | You are confident the subject matter isn't addressed |
unclear | Something is there but you can't classify it confidently | Ambiguous drafting, partial clause, conflicting provisions |
needs_review | You found something but a human must make the call | Edge case, unusual drafting, the answer depends on a judgment the schema doesn't capture |
These are three different pieces of information. A deal team handles "the contract is silent on assignment" very differently from "the assignment clause is ambiguous." Collapsing them into one blank cell loses the distinction.
Workflow
Step 0: What and where
Confirm:
- Documents. Where are they? VDR MCP (Box, Datasite, iManage), local folder, Google Drive folder, or a list of files. How many? If >200, warn that this will take a while and offer to start with a materiality-filtered subset.
- Schema. What columns? Two paths:<!-- -->
- User picks a template from
references/(M&A diligence standard is the default) - User describes columns in natural language and you structure them into the typed schema
- User picks a template from
- Output. Excel (
.xlsx) or Google Sheets — ask which the team works in. CSV and markdown always written as fallbacks. Output goes to the deal folder, Drive, or wherever the user says.
Step 1: Build and confirm the schema
Turn the user's column list into a structured schema. For each column: a stable id, a human label, a type, a prompt (the question a reviewer reading the document would ask), and for classify columns an options list.
Write it to .review-schema.yaml next to the output. This file is the reusable artifact — the user can edit it, add a column, re-run against new documents. Show it to the user and confirm before fanning out.
schema:
name: "M&A Diligence — Project [Code]"
created: 2026-05-07
columns:
- id: counterparty
label: "Counterparty"
type: verbatim
prompt: "Who is the contracting party other than the target?"
- id: effective_date
label: "Effective Date"
type: date
prompt: "When did the agreement become effective?"
- id: change_of_control
label: "Change of Control"
type: classify
options: [silent, consent_required, consent_not_unreasonably_withheld, automatic_termination, notice_only]
prompt: "Does the agreement address a change of control of the target? What does it require?"
- id: assignment
label: "Assignment Restrictions"
type: classify
options: [silent, consent_required, consent_not_unreasonably_withheld, freely_assignable, assignable_to_affiliates]
prompt: "Can the target assign this agreement? What restrictions apply?"
# ... more columns
Step 2: Sample run
Do not fan out to 200 documents on an untested schema. Run 3–5 documents first. Show the user the rows. Look for:
- Columns where most answers are
unclear— the prompt is ambiguous, rewrite it classifycolumns where answers don't fit the options — add options or change tofreeverbatimcolumns returning paraphrases — reinforce that it must be character-for-character
Adjust the schema, re-run the sample, confirm. This saves the user from a full run that has to be thrown out.
Step 3: Fan out
One sub-agent per document, in parallel. Each sub-agent:
- Reads the entire document (not a RAG chunk — the whole thing).
- For each column, finds the relevant provision.
- Returns a structured row: for each column,
{value, state, quote, location}.<!-- -->valueis the typed answer (or null ifstateis notanswered)stateisanswered | not_present | unclear | needs_reviewquoteis the verbatim supporting text (exact, no paraphrase, no ellipsis inside a sentence — if you cut, cut at sentence boundaries and mark it)locationis where the quote lives (section number, heading, page — whatever the document gives you)
The quote is not optional, and the verbatim rule is mechanical, not exhortation. Each sub-agent must comply with all of the following before returning a cell with state: answered:
- The
quoteMUST be a character-for-character copy of contiguous text from the source document, retrievable at thelocationthe sub-agent cites. Do NOT compose a quote from a section heading plus standard boilerplate you expect to be there. Do NOT paraphrase and call it verbatim. Do NOT reconstruct a quote from memory of how such clauses "usually" read. Do NOT fill gaps in the source with ellipsis-stitching across non-contiguous text. - The
locationmust be specific enough for the normalization pass to re-open the document and re-read the same span — a section number, heading, or page reference the reviewer can navigate to. - If the sub-agent cannot locate and copy the exact text (source truncated, OCR garbage, provision implied but not written, section heading visible but body not loaded), the cell state is
needs_review, thevalueis null, andnotesMUST containquote_unavailable: <reason>. It is NEVER acceptable to setstate: answeredwith a composed or reconstructed quote. - The same rule applies to
verbatim-typed columns AND to the companion source quotes attached toclassify/date/duration/currency/number/freecells. The supporting quote carries the same verbatim obligation as the cell value.
The normalization pass in Step 4 spot-checks this by re-reading the source at the cited location and comparing the stored quote character-for-character against the source text. A mismatch downgrades the cell to needs_review, notes quote_mismatch, and flags the whole column for a wider spot-check — if one sub-agent composed a quote, others in the same run may have too.
Step 4: Normalize
After the fan-out, read the whole table column by column. This is the pass that catches the failure mode of every tabular review tool: the same clause interpreted inconsistently across documents.
For each classify column:
- Check that every
answeredvalue is in the options list. Outliers get re-classified or bumped toneeds_review. - Check for clusters: if 180 documents say
consent_requiredand 20 sayconsent_not_unreasonably_withheld, that's probably real. If 195 sayconsent_requiredand 5 sayfreely_assignable, look at the 5 — they're either genuinely different or misclassified.
For each date / duration / currency column:
- Check format consistency. Normalize.
- Flag implausible values (a 99-year term, a $1 cap) as
needs_review.
For each verbatim column AND for the companion source quotes on every other column:
- Spot-check by re-opening the source document at the cited
locationfor a random sample (at least 3–5 rows per column, or 10% of rows, whichever is larger) and comparing the storedquotecharacter-for-character against the source. - If any quote is composed, paraphrased, reconstructed, or cannot be located at the cited span: downgrade that cell to
needs_reviewwithquote_mismatchin notes, and flag the whole column — expand the spot-check to the rest of the column rather than assuming the other rows are clean. One fabricated quote is enough to justify widening the check. - A cell with
state: answeredand a mismatched quote is a higher-severity failure than anunclearorneeds_reviewcell — it misrepresents the evidence trail. Downgrade aggressively.
Step 5: Output
Write the table in three formats:
Markdown (always, for in-session review):
| Document | Counterparty | Effective Date | Change of Control | Assignment | ⚠️ Flags |
|---|---|---|---|---|---|
| Vendor MSA — Acme | Acme Corp | 2023-04-01 | consent_required | consent_required | — |
| Supply Agmt — Beta | Beta LLC | 2021-11-15 | ⚠️ unclear | silent | CoC ambiguous §14.2 |
CSV (.csv, always):
One file for the values, one companion file for the quotes and locations (_sources.csv). Keeps the main file clean and the evidence trail complete.
Excel (.xlsx) or Google Sheets — whichever the user works in. Ask; don't guess. Both follow the same workbook structure (see references/excel-output.md and references/gsheets-output.md). For Excel: Claude in Excel (Office agent) if available, openpyxl fallback. For Sheets: Sheets MCP if available, Sheets API via ADC, CSV-import fallback. In the spreadsheet output:
- Each data column is paired with a hidden source column containing the quote and location. Cell comments (Excel) or notes (Sheets) on the visible column surface the quote on hover.
- Color code by state: white = answered, yellow = unclear or needs_review, gray = not_present.
- A
Verifiedcolumn per data column, blank by default. The reviewer marks it. This is the verify/flag pattern that makes the table auditable — the deal team can see at a glance what a human has actually checked. - A
_schemasheet with the column definitions, so the file is self-documenting.
Prepend the work-product header from the plugin config ## Outputs as a top row. Alongside it, include a distribution note:
This review is derived from source documents that may be 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 and make distribution decisions deliberately.
Step 6: Summary
After the table is written, give the user a one-screen readout:
- Document count, column count, rows completed
- Count of
not_present,unclear,needs_reviewper column — this is the verification workload - Любые столбцы, в которых проход нормализации пометил >10% строк
- Где находятся выходные файлы
- Напоминание: каждая ячейка — это зацепка, а не вывод. Требуется проверка, прежде чем это ляжет в основу разговора с представителем, графика или служебной записки.
Завершите деревом решений для следующих шагов
Завершите деревом решений для следующих шагов согласно CLAUDE.md ## Outputs. Настройте варианты под то, что только что выдал этот навык — пять ветвей по умолчанию (подготовить X, эскалировать, собрать больше фактов, наблюдать и ждать, что-то ещё) — это отправная точка, а не жёсткая привязка. Дерево — это и есть результат; выбирает юрист.
Чего этот навык не делает
- Он не заменяет чтение документов. Он подсказывает, где искать.
- Он не выдаёт оценки уверенности. 0.73 — это не информация. Состояния
unclear/needs_reviewи дословные цитаты — это сигнал уверенности — если цитата не подтверждает значение, пометьте это. - Он не пропускает документы молча. Каждый документ, на который указал пользователь, получает строку. Документ, который не удалось прочитать, получает строку со
needs_reviewи примечанием. - Он не выдаёт пересказ за цитату. Цепочка доказательств — это суть всего.
Связь с другими навыками
diligence-issue-extractionнаходит проблемы; этот извлекает точки данных. Если извлечение выявляет проблему (положение о MAC, ссылающееся на конкретный целевой показатель прибыли, «отравленная пилюля»), отметьте это и предложите запустить diligence-issue-extraction по этому документу.material-contract-scheduleстроит одну конкретную таблицу (раскрывающий график). Он может напрямую использовать вывод этого навыка — график представляет собой отфильтрованное, переформатированное представление табличного обзора.ai-tool-handoffпередаёт массовый обзор в Luminance/Kira, когда корпус слишком велик или команда предпочитает специализированную платформу. Этот навык — внутренний вариант для всего, что он может обработать — запустите его первым, остаток передайте дальше.
Гарантии для выходных данных
Каждый вывод получает заголовок work-product. Каждая ячейка получает ссылку на источник или помеченное состояние. В сводке явно указано, что требуется проверка. Столбец Excel Verified делает состояние проверки аудируемым. Это не инструмент, который позволяет пропустить чтение; это инструмент, который делает чтение быстрее.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: tabular-review](https://darkplay.ru/ai/skills/anthropics-claude-for-legal-tabular-review)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
mattpocock-skillsmattpocock · Агентские навыки Matt Pocock для настоящей инженерии: разбор задач, потоки спецификаций и…
Code Revieweraffaan-m · Эксперт по ревью кода. Проактивно проверяет код на качество, безопасность и…
Cpp Revieweraffaan-m · Ревьюер C++: безопасность памяти, современные идиомы, конкурентность, производительность.
Csharp Revieweraffaan-m · Ревьюер C#: конвенции .NET, async, безопасность, nullable-типы, производительность.
Database Revieweraffaan-m · Специалист PostgreSQL: оптимизация запросов, схемы, безопасность, Supabase.
Django Revieweraffaan-m · Ревьюер Django: ORM, DRF, миграции, безопасность и production-практики.
Fastapi Revieweraffaan-m · Проверяет FastAPI-приложения: async, DI, Pydantic, безопасность, OpenAPI и тесты.
Flutter Revieweraffaan-m · Ревьюер кода Flutter и Dart: виджеты, управление состоянием, идиомы и архитектура.
Fsharp Revieweraffaan-m · Ревьюер кода F#: функциональные идиомы, типы, сопоставление с образцом и…
Go Revieweraffaan-m · Ревьюер кода Go: идиоматичность, конкурентность, обработка ошибок и производительность.Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton