matter-close

Record litigation closure outcomes and update YAML and markdown matter files.

Updated May 19, 2026
One-click install
npx skills add https://github.com/jrhueiueng/codex-for-legal --skill matter-close-jrhueiueng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matter-close
Source: https://github.com/jrhueiueng/codex-for-legal/tree/main/plugins/jrhueiueng/codex-for-legal/skills/litigation-legal__matter-close
Command: npx skills add https://github.com/jrhueiueng/codex-for-legal --skill matter-close-jrhueiueng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Close a litigation matter by capturing its final resolution, financial exposure, and lessons learned so the portfolio stays accurate and future evaluations improve.

Core Features & Use Cases

  • Structured close-out workflow: Confirm the matter slug and ensure the matter exists in the _log.yaml before archiving.
  • Outcome, exposure, and lessons capture: Record resolution type, end date, final exposure/cost, and a brief retrospective that can be reused later.
  • Portfolio-safe archival: Updates _log.yaml, appends a new entry to the matter’s history.md, and adds a closing block to matter.md without deleting the record.

Quick Start

Use the matter-close skill to close the matter with slug "[your-matter-slug]" by recording the resolution type, resolution date, final exposure/cost, and 2–3 sentence lessons learned.

Frequently Asked Questions about matter-close

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I close a litigation matter and record the final settlement outcome?

To close a litigation matter, the skill validates the matter slug against `_log.yaml`, captures the resolution type, date, final exposure, and lessons learned, then appends closing blocks to `matter.md` and `history.md`.

What is the best way to archive a dismissed litigation case in a portfolio management system?

Archiving a dismissed litigation case involves updating the `_log.yaml` file and appending a closing entry to the matter's markdown files, ensuring the record remains intact without deletion for portfolio tracking.

Does the matter closure workflow require a conflicts check before archiving?

Yes, the matter closure workflow enforces a hard conflicts gate before performing any consequential archive actions, ensuring compliance and preventing conflicting closure data from being written to the portfolio.

Can I track final exposure and costs for a judgment outcome using this workflow?

Yes, you can track final exposure and costs for a judgment outcome by inputting the final exposure or cost values during the closure process, which are then archived in the matter log and narrative files.

What resolution types are supported when closing a matter in a legal ops portfolio?

Supported resolution types for closing a matter in a legal ops portfolio include settlement, dismissal, judgment, withdrawal, and consolidation, covering various litigation conclusion scenarios.

Why does closing a matter require validating the slug against the log file?

Validating the slug against `_log.yaml` is required to confirm the matter exists in the portfolio system before archiving, preventing erroneous closure actions on non-existent or improperly identified matters.