matter-update — скилл для Claude Code: журнал событий дела
Дописывает датированное событие в историю судебного дела и обновляет строку в _log.yaml: статус, риск, ближайший дедлайн, материальность.
npx skills add anthropics/claude-for-legal --skill matter-update -a claude-codeЧто делает matter-update
Скилл берёт слаг дела, спрашивает тип события, дату (по умолчанию сегодня), краткое описание и правки полей журнала. Потом дописывает запись в matters/[slug]/history.md и освежает строку в matters/_log.yaml: last_updated, стадию, риск, материальность, диапазон экспозиции, ближайший дедлайн, legal hold. Файл matter.md читается только для справки.
Типы событий разложены по полкам: процессуальные, discovery, существенные, стратегия, переоценка риска, стейкхолдеры, административные. Для существенных событий и любой активности по мировому соглашению скилл отдельно спрашивает про материальность и не даёт пройти мимо молчанием. Ответ «без изменений» надо произнести вслух, он попадёт в историю вместе с одной строкой обоснования.
Предохранителей два. Если слага нет в _log.yaml, запись не появится: скилл откажется писать и отправит в /litigation-legal:matter-intake, потому что проверка конфликтов идёт раньше всего остального. Второй срабатывает при принятии мирового соглашения. У роли Non-lawyer в CLAUDE.md скилл попросит подтвердить, что вы говорили с юристом, и соберёт одностраничную выжимку по условиям, экспозиции и полномочиям. Логирование предложения или контрпредложения этого гейта не требует.
Какие задачи решает
- зафиксировать слушание в истории дела одной записью
- сдвинуть ближайший дедлайн и синхронно поправить
_log.yaml - переоценить материальность после нового документа
- отразить смену внешнего юриста по делу
- поймать принятие мирового соглашения до подписи
Примеры запросов агенту
/matter-update acme-v-northwindсуд назначил дату слушания, добавь запись в историю/matter-updateзалогируй полученное предложение о мировом соглашении и пересмотриexposure_range/matter-update acme-v-northwindновый документ по существу, проверь, надо ли переклассифицировать материальность
Как установить matter-update
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill matter-update -a claude-code2Вручную: положить файлы
~/.claude/skills/matter-update/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/matter-update/
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill matter-update -a codex2Вручную: положить файлы
.agents/skills/matter-update/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill matter-update -a cursor2Вручную: положить файлы
.cursor/skills/matter-update/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-for-legal matter-update2Вручную: положить файлы
.github/skills/matter-update/SKILL.md1Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill matter-update -a gemini-cli2Командой платформы
gemini skills install https://github.com/anthropics/claude-for-legal --path litigation-legal/skills/matter-updateВручную: положить файлы
.devin/skills/matter-update/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill matter-update -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о matter-update
Как установить matter-update в Claude Code?
Выполните npx skills add anthropics/claude-for-legal --skill matter-update -a claude-code. Скилл появится по пути ~/.claude/skills/matter-update/SKILL.md.
Что делает matter-update?
Дописывает датированное событие в history.md конкретного дела и обновляет строку этого дела в _log.yaml: статус, стадию, риск, дедлайн и другие поля, которые затронуло событие.
Почему скилл отказывается писать в историю дела?
Он не нашёл слаг в _log.yaml. Сначала прогоните /litigation-legal:matter-intake: без этого не проходит проверка конфликтов и нет самого history.md, куда дописывать.
Что будет, если событие тянет за собой материальность?
Скилл задаст вопрос про materiality принудительно и запишет ответ вместе с обоснованием. Если материальность уходит в reserved или disclosed, событие помечается как повод уведомить finance или аудит-комитет по порогам из CLAUDE.md.
Исходный текст
SKILL.md · Apache-2.0
---
name: matter-update
description: Append a dated event to a matter's history file and refresh the log row — captures new developments, status changes, risk re-assessments, deadline shifts, and settlement authority changes. Use when the user wants to log an update on a matter, note a development, or record a status change against the portfolio.
argument-hint: "[slug] [brief event description]"
---
# /matter-update
1. Follow the workflow and reference below.
2. Confirm slug exists in `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/` and `_log.yaml`.
3. Prompt for event type, date (default today), summary, and any log field updates (risk change, status change, next deadline shift, materiality reclassification).
4. Append dated entry to `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md`.
5. Update `_log.yaml` — set `last_updated` to today, apply any field updates.
6. Confirm.
---
# Matter Update
## Purpose
The portfolio only stays useful if it stays current. This skill makes logging an update cheap — two minutes of structured capture, no freeform drift.
## Load context
- `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml` — find the row
- `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md` — append target
- `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/matter.md` — reference (don't rewrite)
- `~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md` — risk calibration (if re-assessing risk)
**Conflicts gate — unbypassable.** Before logging an update, check `_log.yaml` for the matter slug. If the matter is not in `_log.yaml`, refuse and route:
> "I don't see [matter slug] in the matter log. Run `/litigation-legal:matter-intake` first so the conflicts check runs and the matter workspace exists. I won't append history to an unmanaged matter — the conflicts check is the gate, and there's no `history.md` to append to until the matter is intaken."
## Input
Slug (required). If not provided, ask — with a short list of recently updated matters to pick from.
## The update
### 1. Event type
Offer categories:
- **Procedural** — motion filed/received, order issued, hearing held, deadline set
- **Discovery** — production made/received, depositions taken, subpoena served
- **Substantive** — new facts, key document surfaced, ruling on merits
- **Strategy** — posture shift, settlement offer made/received, authority update
- **Risk re-assessment** — severity or likelihood changed
- **Stakeholder** — new person looped in, outside counsel change
- **Administrative** — engagement letter executed, budget adjusted, hold refreshed
Or freeform if none fits.
### 2. Date
Default today. Accept an override (e.g., capturing an event from last week).
### 3. Summary
One-paragraph narrative. What happened, what it means, any immediate implication.
### 4. Log field changes
Walk through potentially affected fields:
- `status:` — has the stage shifted (e.g., pleadings → fact discovery)?
- `stage:` — substage update
- `risk:` — reassessment required?
- `materiality:` — any change (new facts might trigger reserve or disclosure)?
- `exposure_range:` — revise if new information
- `next_deadline:` — new upcoming date, if any
- `outside_counsel:` — change?
- `internal_owners:` — anyone new or removed?
- `legal_hold:` — refreshed, expanded, released?
Only prompt for fields likely affected by the event type. Procedural updates usually touch `stage` and `next_deadline` only; a settlement offer might touch `materiality`, `exposure_range`, `status`.
### 4pre. Settlement-acceptance gate
If the Strategy update is a **settlement acceptance** (the company is accepting a settlement offer, executing a settlement agreement, or authorizing acceptance in principle — not merely logging an offer made or received): Read `## Who's using this` in `~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md`. If the Role is Non-lawyer:
> Accepting a settlement has legal consequences — it resolves claims, typically requires a release, and can affect insurance, tax, and related matters. Have you reviewed this with an attorney? If yes, proceed. If no, here's a brief to bring to them:
>
> [Generate a 1-page summary: the matter, proposed settlement terms (dollar, structural, release scope, confidentiality, non-disparagement), exposure at stake, authority ladder status (see `~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md` settlement authority), what could go wrong, what to ask the attorney before accepting.]
>
> If you need to find a licensed attorney, solicitor, barrister, or other authorised legal professional in your jurisdiction: your professional regulator's referral service is the fastest starting point (state bar in the US, SRA/Bar Standards Board in England & Wales, Law Society in Scotland/NI/Ireland/Canada/Australia, or your jurisdiction's equivalent).
Do not log the acceptance or flip materiality on acceptance basis without an explicit yes. Logging offers or counters does not require the gate — acceptance does.
### 4a. Materiality trigger — explicit prompt
Certain event types force a materiality re-check. When the event type is in this list, **always prompt** — don't let the user move on without an explicit answer:
| Event type | Materiality trigger prompt |
|---|---|
| Substantive (new facts, key document, merits ruling) | "This event is substantive. Does it push `materiality`? Current: `[current]`. Options: `reserved / disclosed / monitored / none`. Change?" |
| Strategy (posture shift, settlement offer made or received) | "Settlement activity often triggers materiality reclassification. Current: `[current]`. If the offer, counter, or acceptance moves exposure or shifts from contested to probable-and-estimable, reclassify." |
| Risk re-assessment (severity or likelihood changed) | "Risk moved. Materiality should track. Current: `[current]`. Reclassify?" |
| Regulatory / enforcement development | "Regulator action (subpoena, CID, enforcement notice) usually triggers disclosure analysis. Current: `[current]`. Change?" |
Acceptable answers include `no change` — but `no change` must be explicit, not implied by silence. Capture in the history entry:
```markdown
**Materiality check:** [no change / changed from X to Y]
**Reasoning:** [one sentence]
```
If materiality moves to `reserved` or `disclosed`, and the matter did not previously carry a reserve or disclosure, flag the event as requiring finance / audit-committee notification per `~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md` materiality thresholds.
### 5. Seed doc prompt (optional)
If the update references a document (order, filing, correspondence), ask if there's a path to link. Not pushy.
## Writing
### Append to `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md`
Most recent at top, directly under the `---` that follows the header.
```markdown
## [YYYY-MM-DD] — [Event type]: [short title]
[Paragraph summary.]
**Fields changed:**
- [field]: [old → new]
- [field]: [old → new]
**Related doc:** [path, if provided]
```
If no fields changed, omit the "Fields changed" block.
### Update `~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml`
- Apply any field changes.
- Set `last_updated: [today]` (or the event date if the user overrode — the log tracks when the record was last touched).
## Confirm
Show the user the history entry and the yaml diff before writing:
> Here's what I'll append and update. Good to commit?
## What this skill does not do
- Edit past history entries. Corrections are new entries that reference and correct prior ones.
- Silently change the log. Every field change is shown to the user before write.
- Decide whether a new development warrants reserve/disclosure. It surfaces the question ("this might push materiality — want to reclassify?"), the user answers.
© anthropics · Apache-2.0 · anthropics/claude-for-legal