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.
Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record.
$ npx skills add anthropics/claude-for-legal --skill matter-close -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anthropics/claude-for-legal matter-close --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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-srcUse ~/.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/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .claude/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-closeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add anthropics/claude-for-legal --skill matter-close -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anthropics/claude-for-legal matter-close --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .agents/skills && cp -r skills-src/litigation-legal/skills/matter-close .agents/skills/matter-close && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .agents/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/claude-for-legal --skill matter-close -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anthropics/claude-for-legal matter-close --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/litigation-legal/skills/matter-close .cursor/skills/matter-close && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .cursor/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/anthropics/claude-for-legal.git --path litigation-legal/skills/matter-close--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add anthropics/claude-for-legal --skill matter-close -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anthropics/claude-for-legal matter-close --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/litigation-legal/skills/matter-close .gemini/skills/matter-close && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .gemini/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install anthropics/claude-for-legal matter-closeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add anthropics/claude-for-legal --skill matter-close -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .github/skills && cp -r skills-src/litigation-legal/skills/matter-close .github/skills/matter-close && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .github/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/claude-for-legal --skill matter-close -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install anthropics/claude-for-legal matter-close --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/litigation-legal/skills/matter-close .opencode/skills/matter-close && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "matter-close" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/litigation-legal/skills/matter-close into .opencode/skills/matter-close/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-close", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
matter-closeClose 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. 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.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4a6c651. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
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.
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.
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.
The full file from anthropics/claude-for-legal at commit 4a6c651, republished under its Apache-2.0 licence (© anthropics). 623 words, ~1,527 tokens.
.claude/skills/matter-close/SKILL.md (or your agent's skills folder)._log.yaml: status: closed, add closed: YYYY-MM-DD and outcome: fields.~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md._log.yaml and ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/ — not deleted. /portfolio-status filters it from active rollups.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.
~/.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 targetConflicts 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."
Slug (required).
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 explanationThe date the matter actually ended (settlement executed, order issued, dismissal filed).
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."
Settlement agreement, final order, dismissal — path if available. Not required.
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.
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yamlstatus: closed
closed: [YYYY-MM-DD]
outcome: [resolution-type]
final_cost: [dollar amount]
last_updated: [today] # close is the last touch; record itRetain all existing fields. Do not delete the row.
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md## [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]~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/matter.mdAdd a closing block at the end (don't modify earlier sections — they're the historical intake):
---
## Closed [YYYY-MM-DD]
[Resolution summary in one paragraph. Pointer to the final history entry for detail.]Show the user the full close entry and the yaml changes before writing.
_log.yaml and on disk — they're the training set for the portfolio's judgment.matter.md.© 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
Just SKILL.md in litigation-legal/skills/matter-close of anthropics/claude-for-legal.
Open the folder on GitHubat commit 4a6c651
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.
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Matter Close this skillanthropics/claude-for-legal | 9.6k | 3 repos | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Tw Legal RAGaa0101181514/tw-legal-rag | 327 | — | ~580 | Automated safety check: Pass | Custom licence | |
| Design Award SearchSeanJ1ang/design-judge-skills | 712 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| China Lawyer AnalystCSlawyer1985/china-lawyer-analyst | 194 | — | ~3.3k | Automated safety check: Pass | None | |
| Billing And Litigation BudgetTHUYRan/Legal-Skills-Chinese | 868 | — | ~5k | Automated safety check: Pass | None | |
| Hard Predict Futuredavepoon/buildwithclaude | 3.6k | 1 repos | ~4.2k | Automated safety check: Pass | MIT |
aa0101181514/tw-legal-rag
Retrieve real Taiwan court judgments with verifiable citations before answering any question about Taiwan law or case law.
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…
CSlawyer1985/china-lawyer-analyst
通过中国法律视角分析事件,运用成文法解释、指导案例参照、请求权基础分析等方法, 理解权利义务、评估责任风险、识别法律依据并推荐合规策略。
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.
davepoon/buildwithclaude
Activate this agent for any future-oriented question that requires deep quantitative analysis, historical precedents, and structured scenario planning.
Golden2002/legal-research-skill
中国法律全领域系统性检索专家. An agent skill from Golden2002/legal-research-skill.
anthropics/claude-for-legal
Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.
anthropics/claude-for-legal
Holds student work in a queue for a legal clinic professor to approve, edit-then-approve or return before anything reaches clients or courts.
anthropics/claude-for-legal
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.
anthropics/claude-for-legal
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.
anthropics/claude-for-legal
Searches watched registries for community legal skills, shows matches with descriptions and offers the full SKILL.md before anything is installed.
anthropics/claude-for-legal
Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.
Categories
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.
Matter Close fits situations like: the user wants to close a matter; says [matter] is done; needs to record a settlement; consolidation outcome.
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.
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.
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.
SKILL.md names no scripts, command-line tools or credentials: Matter Close is instructions for the agent only.
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.
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.
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.
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.
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.
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.