matter-close
What it does
This skill closes a legal matter and records its outcome in the matter log. It is for in-house counsel who need the final result captured for future risk decisions.
When to use it
- βWhen a matter has settled, been dismissed, or ended in a judgment.
- βWhen a matter is withdrawn or consolidated into another matter.
- βWhen you need to record the final cost and lessons from a matter.
Skill link
https://github.com/anthropics/claude-for-legal/blob/main/litigation-legal/skills/matter-close/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βClose the Acme dispute. It settled last week, and I want the lessons recorded.β
5 new skills a week. 1 minute to read.
How it works
The skill confirms the matter and its current status, then records the outcome type, date, final exposure, and lessons. It marks the matter closed in the log and adds a final history entry. The matter is removed from active reports, but its record is kept.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/matter-close
- Follow the workflow and reference below.
- Confirm slug and current status.
- Capture outcome: resolution type (settled, dismissed, judgment for/against, withdrawn, consolidated), date, final exposure/cost, lessons.
- Update
_log.yaml:status: closed, addclosed: YYYY-MM-DDandoutcome:fields. - Append final entry to
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md. - Matter stays in
_log.yamland~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/β not deleted./portfolio-statusfilters it from active rollups.
Matter Close
Purpose
Matters end. The outcome is the single most valuable data point the portfolio generates β it calibrates the risk framework for future matters. Closing a matter captures the outcome structurally so the record is useful, not just archived.
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]/matter.mdβ reference (intake context)~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.mdβ append target
Conflicts gate β unbypassable. Before closing, 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. Nothing to close β either the slug is wrong or the matter was never intaken through
/litigation-legal:matter-intake. Check the slug first; if it genuinely was never intaken, there's no row to update and no file structure to close."
Input
Slug (required).
The close
1. Resolution type
settledβ with counterparty, dollar amount, structural termsdismissedβ with or without prejudice, by what mechanismjudgment-for-usβ at what stage, appeal exposurejudgment-against-usβ at what stage, appeal status, exposure crystallizedwithdrawnβ by counterparty, circumstancesconsolidatedβ merged into another matter (provide slug of parent)otherβ with explanation
2. Resolution date
The date the matter actually ended (settlement executed, order issued, dismissal filed).
3. Final exposure
- Actual cost to company (settlement amount + fees + injunctive/structural cost)
- vs. initial exposure range at intake (did we call it?)
- Reserve accuracy (if reserved): booked vs. actual
4. Lessons
Two or three sentences. What did we get right? What did we misjudge? Anything the intake should have flagged earlier?
This is the part future counsel will reread. Be honest. "Misjudged likelihood β plaintiff firm was more aggressive than expected" is worth more than "resolved favorably."
5. Seed doc prompt
Settlement agreement, final order, dismissal β path if available. Not required.
Writing
Before closing the matter (the consequential act β the matter is archived and active tracking ends): Read ## Who's using this in ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md. If the Role is Non-lawyer:
Closing a matter has legal consequences β it ends active tracking, may affect any associated legal hold (run
/legal-hold --releaseseparately if appropriate), and establishes the final record the company relies on. 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, resolution type and terms, final exposure vs. initial, reserve accuracy, related matters or appeals still live, what could go wrong with premature closure, what to ask the attorney.]
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 write the close fields or append the close entry without an explicit yes.
Update ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml
status: closed
closed: [YYYY-MM-DD]
outcome: [resolution-type]
final_cost: [dollar amount]
last_updated: [today] # close is the last touch; record it
Retain all existing fields. Do not delete the row.
Append final entry to `~/.claude/plugins/config/claude-for-legal/litigation-legal/matt
FAQ
Is the matter deleted?
No. The matter stays in the log and its folder, and it is only left out of active rollups.
What outcomes can be recorded?
Settlement, dismissal, judgment for or against, withdrawal, or consolidation.
What if the matter is not in the log?
The skill refuses to close it and tells you to add it to the log first.
Details
Original description by the author
Close a matter β capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record. Use when the user wants to close a matter, says "[matter] is done", or needs to record a settlement, dismissal, judgment, withdrawal, or consolidation outcome.
Popularity
- GitHub stars
- 9.9k
- Ranking position
- #12156
- License
- Apache-2.0
- Updated
- 10/29/2026
Comments
- β¦
More skills from this repository
ai-inventory
9.9kHelps your agent keep a per-system inventory of AI tools under the EU AI Act, recording each system's role, risk tier and basis for classification.
aia-generation
9.9kHelps your agent write an AI impact assessment for a use case, covering risks, regulatory classification, policy fit and recommended conditions.
cold-start-interview
9.9kHelps your agent learn how your AI governance practice works by running a setup interview and building a practice profile from your policy documents.
customize
9.9kHelps your agent change one part of your AI governance practice profile, such as risk posture, contacts or policy positions, without a full setup.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.