Skip to content
Skillpedia
Tasks & projects9.9k Β· #12044

matter-workspace

What it does

This skill manages separate workspaces for each client or matter. It is for lawyers and advisers who work across several clients and need their context kept apart.

When to use it

  • βœ“When you start work for a new client and want its own workspace.
  • βœ“When you switch between clients and need the right context loaded.
  • βœ“When a matter is finished and you want to archive it without deleting anything.

Skill link

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

Copy 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

Use this skill to help me: https://github.com/anthropics/claude-for-legal/blob/main/ai-governance-legal/skills/matter-workspace/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCreate a new matter workspace for our client Acme and switch to it.”

5 new skills a week. 1 minute to read.

How it works

The skill keeps a matter.md file for each workspace and records which one is active. Switching changes the context the other skills use, and closing archives the folder instead of deleting it.

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

  • /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

  1. Read ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md β€” confirm the ## Matter workspaces section is populated. If Enabled is βœ—, 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 /ai-governance-legal:cold-start-interview --redo and select a private-practice setting. Otherwise, you don't need /matter-workspace at all." Don't error β€” the disabled state is the expected one for in-house users.
  2. Use the workflow below.
  3. Dispatch on the first token of $ARGUMENTS:
    • new β†’ run the intake interview, write ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list β†’ enumerate ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/*/matter.md, print a table, mark the active matter.
    • switch β†’ update the Active matter: line in the practice-level CLAUDE.md.
    • close β†’ move ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/_archived/<slug>/, log the close date in history.md.
    • none β†’ set Active matter: to none β€” practice-level context only.
  4. Show the user what changed and confirm before writing.

Notes

  • The skill never reads across matters unless Cross-matter context is on in 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>/.

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 /ai-governance-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/ai-governance-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>

  1. Confirm slug is not already present in matters/<slug>/ or matters/_archived/<slug>/. If reused, ask the user to pick a different slug.
  2. Run the intake interview:
    • Client (the party we represent, or the i
FAQ

Is it needed for in-house teams?

The skill says matter workspaces are off by default for in-house practices, which work at practice level.

Does closing a matter delete it?

No. The skill moves closed matters to an archived folder and never deletes them.

Can I work without an active matter?

Yes. The skill has a none option to work at practice level only.

Details

Original description by the author

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.

repo: anthropics/claude-for-legal

Popularity

GitHub stars
9.9k
Ranking position
#12044
License
Apache-2.0
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills