matter-workspace
What it does
This skill manages a separate workspace for each client or engagement, so one matter's context does not leak into another. It is for lawyers and advisers who work across many clients.
When to use it
- βWhen you open a new matter for a client and need its own separate workspace.
- βWhen you want to switch to a different client matter or go back to practice-level work.
- βWhen you need to archive a finished matter without deleting it.
Skill link
https://github.com/anthropics/claude-for-legal/blob/main/privacy-legal/skills/matter-workspace/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
βSwitch me to the Acme matter so you only use that client's details from now on.β
5 new skills a week. 1 minute to read.
How it works
The skill keeps a list of matters, marks one as active, and stores each matter's notes in its own folder. Closed matters are moved to an archive folder and are never deleted.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/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
/privacy-legal:matter-workspace new <slug>β create a new matter workspace, run a short intake, writematter.md/privacy-legal:matter-workspace listβ list matters with status and active flag/privacy-legal:matter-workspace switch <slug>β set the active matter/privacy-legal:matter-workspace close <slug>β archive a matter (move to~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/_archived/, never delete)/privacy-legal:matter-workspace noneβ detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/privacy-legal/CLAUDE.mdβ confirm the## Matter workspacessection is populated. IfEnabledisβ, tell the user: "Matter workspaces are off β you're configured as an in-house practice with one client, so the plugin works from practice-level context automatically. If you actually work across multiple clients, re-run/privacy-legal:cold-start-interview --redoand select a private-practice setting. Otherwise, you don't need/matter-workspaceat all." Don't error β the disabled state is the expected one for in-house users. - Use the subcommand logic below.
- Dispatch on the first token of
$ARGUMENTS:newβ run the intake interview, write~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.listβ enumerate~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/*/matter.md, print a table, mark the active matter.switchβ update theActive matter:line in the practice-level CLAUDE.md.closeβ move~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/_archived/<slug>/, log the close date inhistory.md.noneβ setActive matter:tonone β practice-level context only.
- Show the user what changed and confirm before writing.
Notes
- The skill never reads across matters unless
Cross-matter contextisonin the practice-level CLAUDE.md. - Archiving is not deletion β closed matters remain readable for retention/conflicts purposes.
- Slugs are lowercase with hyphens. If a slug is reused across archived and active, the archived one is preserved under
_archived/<slug>/.
Matter Workspace
Multi-client practitioners (private practice β solo, small firm, large firm) work across many matters. Context from one must not leak into another. This skill is the thin file-management layer that makes that true.
Default state is off. In-house users never see this β they run at practice-level only. Matter workspaces turn on at cold-start for private-practice users, or by editing ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is β, this skill does not run; the workflow above explains the disabled state and suggests /privacy-legal:cold-start-interview --redo for users who actually need matter isolation.
Storage layout
All matter data lives under:
~/.claude/plugins/config/claude-for-legal/privacy-legal/
βββ CLAUDE.md # practice-level practice profile
βββ matters/
βββ <slug>/
β βββ matter.md # client, counterparty, matter type, key facts, overrides
β βββ history.md # dated log of events, decisions, drafts, reviews
β βββ notes.md # free-form working notes
β βββ outputs/ # skill outputs for this matter (optional subfolder)
βββ _archived/
βββ <slug>/ # closed matters β readable but not active
Slugs are lowercase with hyphens. Examples: acme-msa-2026, zenith-renewal, vendor-xyz-nda.
Active matter is in the practice CLAUDE.md
The Active matter: line under ## Matter workspaces in the practice-level CLAUDE.md is the single source of truth. Switching a matter edits that line. No separate state file.
Subcommand logic
new <slug>
- Confirm slug is not already present in
matters/<slug>/ormatters/_archived/<slug>/. If reused, ask the user to pick a different slug. - Run the intake interview:
- Client (the party we represent, or the internal business unit if in-house)
- Counterparty
FAQ
Will it delete a matter when I close it?
No. A closed matter is moved to an archive folder and is never deleted.
What happens if my company works for only one client?
Matter workspaces are turned off by default, and the skill tells you that you do not need it.
Can I work without choosing a matter?
Yes. You can detach from any matter and work at practice level only.
Details
Original description by the author
Manage matter workspaces β create, list, switch, close, or detach (practice-level). Keeps one client or engagement's context separate from every other for multi-client practitioners. Use when the user wants to open a new matter, switch matters, list matters, close/archive a matter, or work at practice-level only.
Popularity
- GitHub stars
- 9.9k
- Ranking position
- #12168
- 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
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.