# Matter Workspace

Manage matter workspaces, new, list, switch, close, or detach (practice-level).

- Repository: https://github.com/anthropics/claude-for-legal (9865 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add anthropics/claude-for-legal --skill matter-workspace -g -a claude-code -y`
Codex: `npx skills add anthropics/claude-for-legal --skill matter-workspace -g -a codex -y`
Cursor: `npx skills add anthropics/claude-for-legal --skill matter-workspace -g -a cursor -y`
Gemini CLI: `npx skills add anthropics/claude-for-legal --skill matter-workspace -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add anthropics/claude-for-legal`

## Description

Manage matter workspaces, new, list, switch, close, or detach (practice-level). File-management logic for keeping one client or engagement's context separate from every other. Use when working across multiple clients or matters, when the user says "new matter", "switch matter", "list matters", "close matter", or when any substantive skill needs to know which matter it's working in.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# /matter-workspace

Practitioners work across multiple clients and matters. A matter workspace keeps one client or engagement's context separate from every other. This skill manages those workspaces.

## Subcommands

- `/ai-governance-legal:matter-workspace new <slug>`, create a new matter workspace, run a short intake, write `matter.md`
- `/ai-governance-legal:matter-workspace list`, list matters with status and active flag
- `/ai-governance-legal:matter-workspace switch <slug>`, set the active matter
- `/ai-governance-legal:matter-workspace close <slug>`, archive a matter (move to `~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/_archived/`, never delete)
- `/ai-governance-legal:matter-workspace none`, detach from any active matter, work at practice-level only

## Instructions

The rest: https://github.com/anthropics/claude-for-legal/blob/HEAD/ai-governance-legal/skills/matter-workspace/SKILL.md
