Skip to main content
skill CX Codex official · Anthropic

matter-update — Claude Code skill: dated matter history log

Appends a dated event to a litigation matter's history file and refreshes its row in _log.yaml, including risk, deadline and materiality changes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/claude-for-legal --skill matter-update -a claude-code
Open on GitHub

What matter-update does

Pass the skill a matter slug and it asks for the event type, the date (today unless you override), a short summary, and any field updates. Then it writes a dated entry into matters/[slug]/history.md and refreshes the row in matters/_log.yaml: last_updated, stage, risk, materiality, exposure range, next deadline, legal hold. matter.md gets read for reference only, never rewritten.

Event types are already sorted into buckets: procedural, discovery, substantive, strategy, risk re-assessment, stakeholder, administrative. Freeform works if none of them fit. For substantive news and any settlement activity the skill forces a materiality question instead of letting silence count as an answer. Whatever you say lands in the history entry, along with one sentence of reasoning.

Two gates are worth knowing before you rely on it. A slug missing from _log.yaml kills the write: the skill refuses and sends you to /litigation-legal:matter-intake, because the conflicts check comes first and there is no history.md yet. The other fires on settlement acceptance. When CLAUDE.md lists the role as Non-lawyer, the skill asks you to confirm you have spoken to an attorney and builds a one-page brief on terms, exposure and authority. Logging an offer or a counter does not trigger that gate.

What it helps with

  • log a hearing in a matter's history as a single entry
  • move the next deadline and keep _log.yaml in step
  • re-check materiality after a key document surfaces
  • record an outside counsel switch
  • catch a settlement acceptance before anyone signs

Example prompts for the agent

  • /matter-update acme-v-northwind the court set a hearing date, append it to the history
  • /matter-update log the settlement offer we received and revisit exposure_range
  • /matter-update acme-v-northwind new document on the merits, check whether materiality needs reclassifying

How to install matter-update

1Skills CLI (Vercel)

npx skills add anthropics/claude-for-legal --skill matter-update -a claude-code

2Manually: put the files in place

~/.claude/skills/matter-update/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/matter-update/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about matter-update

How do I install matter-update in Claude Code?

Run npx skills add anthropics/claude-for-legal --skill matter-update -a claude-code. The skill lands at ~/.claude/skills/matter-update/SKILL.md.

What does matter-update do?

It appends a dated event to a matter's history.md and updates that matter's row in _log.yaml with whatever the event changed: status, stage, risk, deadline or other fields.

Why does the skill refuse to write to a matter's history?

The slug is not in _log.yaml. Run /litigation-legal:matter-intake first, since the conflicts check has to pass and the history.md file only exists after intake.

What happens when an event affects materiality?

The skill always prompts for materiality on substantive, strategy and risk events, and records your answer with one sentence of reasoning. If materiality moves to reserved or disclosed, the event is flagged for finance or audit-committee notification under the thresholds in CLAUDE.md.

Source text

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

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set118

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor