Official agent skill

Matter Close

by anthropics in anthropics/claude-for-legal

Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record.

OfficialApache-2.0Auto-check passedLegal & Compliance

Install Matter Close

skills CLI
$ npx skills add anthropics/claude-for-legal --skill matter-close -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anthropics/claude-for-legal matter-close --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .claude/skills && cp -r skills-src/litigation-legal/skills/matter-close .claude/skills/matter-close && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
matter-close
GitHub stars
9.6k
Used in
3 other repos
Token cost
~1.5k tokens
SKILL.md length
623 words
Files
1
Skills in repo
147
Repo updated
First seen
Licence
Apache-2.0

At a glance

Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record.

  • Works in 5 steps: Resolution type → Resolution date → Final exposure → …
  • The user wants to close a matter
  • SKILL.md covers Purpose, Load context, Input and The close, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Matter Close is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Legal research. The repository describes itself as: A suite of plugins for legal workflows. The licence is Apache-2.0.

When your agent uses it

  • The user wants to close a matter
  • Says [matter] is done
  • Needs to record a settlement
  • Consolidation outcome

Example prompts

  • “[matter] is done”
  • “/matter-close”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Resolution type
  2. Resolution date
  3. Final exposure
  4. Lessons
  5. Seed doc prompt

What it can do on your machine

Read from SKILL.md and the folder at commit 4a6c651. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Matter Close loads about 1.5k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 623 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from anthropics/claude-for-legal at commit 4a6c651, republished under its Apache-2.0 licence (© anthropics). 623 words, ~1,527 tokens.

Download SKILL.mdSave it as .claude/skills/matter-close/SKILL.md (or your agent's skills folder).
name
matter-close
description
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.
argument-hint
[slug]

/matter-close

  1. Follow the workflow and reference below.
  2. Confirm slug and current status.
  3. Capture outcome: resolution type (settled, dismissed, judgment for/against, withdrawn, consolidated), date, final exposure/cost, lessons.
  4. Update _log.yaml: status: closed, add closed: YYYY-MM-DD and outcome: fields.
  5. Append final entry to ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md.
  6. Matter stays in _log.yaml and ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/ — not deleted. /portfolio-status filters 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 terms
  • dismissed — with or without prejudice, by what mechanism
  • judgment-for-us — at what stage, appeal exposure
  • judgment-against-us — at what stage, appeal status, exposure crystallized
  • withdrawn — by counterparty, circumstances
  • consolidated — 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.

Show full SKILL.md (284 more words)Show less

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 --release separately 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.

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/matters/[slug]/history.md
markdown
## [YYYY-MM-DD] — Matter closed: [resolution-type]

**Resolution:** [narrative — what happened, on what terms]
**Final cost:** [amount + structural terms if any]
**vs. initial exposure:** [compare to matter.md intake range]
**Reserve accuracy:** [if applicable]

**Lessons:**
[2-3 sentences — honest retrospective]

**Related doc:** [settlement agreement / final order / etc., if provided]

Add a closing block at the end (don't modify earlier sections — they're the historical intake):

markdown
---

## Closed [YYYY-MM-DD]

[Resolution summary in one paragraph. Pointer to the final history entry for detail.]

Confirm

Show the user the full close entry and the yaml changes before writing.

What this skill does not do

  • Delete matters. Closed matters stay in _log.yaml and on disk — they're the training set for the portfolio's judgment.
  • Re-open. If a closed matter comes back (appeal, related litigation), open a new matter that references the closed one in matter.md.
  • Summarize lessons the user didn't say. If the user skips the lessons section, leave it empty rather than invent.

© anthropics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in litigation-legal/skills/matter-close of anthropics/claude-for-legal.

Open the folder on GitHubat commit 4a6c651

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in anthropics/claude-for-legal, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Matter Close next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Matter Close compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matter Close this skillanthropics/claude-for-legal9.6k3 repos~1.5kAutomated safety check: PassApache-2.0
Tw Legal RAGaa0101181514/tw-legal-rag327—~580Automated safety check: PassCustom licence
Design Award SearchSeanJ1ang/design-judge-skills712—~3kAutomated safety check: PassApache-2.0
China Lawyer AnalystCSlawyer1985/china-lawyer-analyst194—~3.3kAutomated safety check: PassNone
Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese868—~5kAutomated safety check: PassNone
Hard Predict Futuredavepoon/buildwithclaude3.6k1 repos~4.2kAutomated safety check: PassMIT

Similar skills

  • Tw Legal RAG

    aa0101181514/tw-legal-rag

    Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.

    327 GitHub stars~580 tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Design Award Search

    SeanJ1ang/design-judge-skills

    Find and verify award-winning designs in the same or adjacent functional category through eight explicit relevance dimensions: problem and user, core function, sensing technology, intervention…

    712 GitHub stars~3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • China Lawyer Analyst

    CSlawyer1985/china-lawyer-analyst

    通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。

    194 GitHub stars~3.3k tokensUpdated 8 mo ago
    Legal & ComplianceAuto-check passed
  • Billing And Litigation Budget

    THUYRan/Legal-Skills-Chinese

    A skill your agent uses when the user needs to track or manage attorney hours, expert fees, and investigation costs; control litigation spend; or prepare timesheets or expense statements for clients.

    868 GitHub stars~5k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Hard Predict Future

    davepoon/buildwithclaude

    Activate this agent for any future-oriented question that requires deep quantitative analysis, historical precedents, and structured scenario planning.

    3.6k GitHub starsUsed in 1 repo~4.2k tokens
    Legal & ComplianceAuto-check passed
  • Legal Issue Research

    Golden2002/legal-research-skill

    中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.

    155 GitHub stars~6.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from anthropics/claude-for-legal

All 147 skills in this repo
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Auto-check passed
  • Supervisor Review Queue

    anthropics/claude-for-legal

    Official

    Holds student work in a queue for a legal clinic professor to approve, edit-then-approve or return before anything reaches clients or courts.

    9.6k GitHub starsUsed in 3 repos~1.1k tokens
    Auto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Auto-check passed
  • Product Launch Legal Review

    anthropics/claude-for-legal

    Official

    Runs a category-by-category legal review of a product launch from a PRD or tracker ticket, calibrated to your team's framework, and writes a review memo in house format.

    9.6k GitHub starsUsed in 2 repos~5k tokens
    Auto-check passed
  • Legal Skills Registry Browser

    anthropics/claude-for-legal

    Official

    Searches watched registries for community legal skills, shows matches with descriptions and offers the full SKILL.md before anything is installed.

    9.6k GitHub starsUsed in 2 repos~620 tokens
    Auto-check passed
  • Contract Renewal Tracker

    anthropics/claude-for-legal

    Official

    Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.

    9.6k GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed

Questions about Matter Close

What does Matter Close do?

Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record. Matter Close is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record.

When should I use Matter Close?

Matter Close fits situations like: the user wants to close a matter; says [matter] is done; needs to record a settlement; consolidation outcome.

How do I install Matter Close in Claude Code?

Run `npx skills add anthropics/claude-for-legal --skill matter-close -a claude-code`. Or copy the skill folder (litigation-legal/skills/matter-close in anthropics/claude-for-legal) into .claude/skills/matter-close in your project. Claude Code loads it when a task matches its description.

How do I install Matter Close in Codex?

Run `npx skills add anthropics/claude-for-legal --skill matter-close -a codex`. Or copy the skill folder (litigation-legal/skills/matter-close in anthropics/claude-for-legal) into .agents/skills/matter-close in your project. Codex loads it when a task matches its description.

Can I use Matter Close in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anthropics/claude-for-legal --skill matter-close -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/matter-close, .gemini/skills/matter-close, .github/skills/matter-close and .opencode/skills/matter-close in your project.

What does Matter Close need to run?

SKILL.md names no scripts, command-line tools or credentials: Matter Close is instructions for the agent only.

Does Matter Close access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Matter Close safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Matter Close use?

Matter Close is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Matter Close use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Matter Close?

Skills that share tags, products or a category with Matter Close: Tw Legal RAG (aa0101181514/tw-legal-rag, 327 stars), Design Award Search (SeanJ1ang/design-judge-skills, 712 stars), China Lawyer Analyst (CSlawyer1985/china-lawyer-analyst, 194 stars) and Billing And Litigation Budget (THUYRan/Legal-Skills-Chinese, 868 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matter Close?

anthropics (a GitHub organization, an official publisher) maintains it in anthropics/claude-for-legal, which has 9,617 GitHub stars. The repository holds 147 skills in this directory. The repository was last updated on September 29, 2026.

Source: anthropics/claude-for-legal on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.