/commercial-legal-uk:matter-workspace <new | list | switch | close | none> [slug]from Commercial Legal UK
Manages matter workspaces for multi-client legal practitioners: create, list, switch, close, or detach to practice-level context. Useful when working across multiple client engagements.
Ships in Commercial Legal UK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Practitioners work across multiple clients and matters. A matter workspace keeps one client or engagement's context separate from every other. This command manages those workspaces.
/commercial-legal-uk:matter-workspace new <slug> — create a new matter workspace, run a short intake, write matter.md/commercial-legal-uk:matter-workspace list — list matters with status and active flag/commercial-legal-uk:matter-workspace switch <slug> — set the active matter/commercial-legal-uk:matter-workspace close <slug> — archive a matter (move to ~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/matters/_archived/, never delete)/commercial-legal-uk:matter-workspace none — detach from any active matter, work at practice-level only~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/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 /commercial-legal-uk: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.$ARGUMENTS:
new → run the intake interview, write ~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/matters/<slug>/matter.md, seed history.md and notes.md.list → enumerate ~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/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/uk-legal-plugins/commercial-legal-uk/matters/<slug>/ to ~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/matters/_archived/<slug>/, log the close date in history.md.none → set Active matter: to none — practice-level context only.Cross-matter context is on in the practice-level CLAUDE.md._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.
All matter data lives under:
~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/
├── 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.
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.
new <slug>matters/<slug>/ or matters/_archived/<slug>/.matters/<slug>/matter.md using the template below.matters/<slug>/history.md with a single "Opened" entry.matters/<slug>/notes.md.<slug> now? (/commercial-legal-uk:matter-workspace switch <slug>)"listEnumerate matters/*/matter.md. Print a table:
| Slug | Client | Matter type | Governing law | Status | Opened | Active |
|---|
Mark the currently-active matter with *. Include _archived/* under a separate "Archived" heading if any exist.
switch <slug>matters/<slug>/matter.md exists.Active matter: line in the practice-level CLAUDE.md to Active matter: <slug>.close <slug>matters/<slug>/ exists.matters/<slug>/history.md with today's date.matters/<slug>/ → matters/_archived/<slug>/.Active matter: to none — practice-level context only.noneSet Active matter: in the practice-level CLAUDE.md to none — practice-level context only. Confirm with the user.
matter.md template[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this` in the practice-level CLAUDE.md]
# Matter: [Client] — [short description]
**Slug:** [slug]
**Opened:** [YYYY-MM-DD]
**Status:** active
**Governing law:** [English law / Scots law / NI law / other]
**Confidentiality:** [standard / heightened / clean-team]
---
## Parties
**Client:** [name]
**Counterparty:** [name(s)]
## Matter type
[vendor MSA | customer agreement | NDA | SaaS subscription | amendment / deed of variation | renewal | IP licence | other — with one-line rationale]
## Key facts
[2–5 sentences. What this matter is about. Who the stakeholders are. What's at stake. What makes it different from the default playbook.]
## Matter-specific overrides
*Any deviation from the practice-level playbook that applies to this matter and only this matter.*
- [e.g., "LoL cap: client requires 24 months, not house standard 12."]
- [e.g., "Tone: relationship-preserving — counterparty is a strategic partner."]
- [e.g., "Governing law: must be Scots law, not English law — Scots law differences apply throughout."]
- [e.g., "Competitition Act exposure: flag all exclusivity provisions for CMA review."]
## Related matters
- [slug — one line why related]
## Notes on confidentiality
[If heightened or clean-team, describe why. Who may see matter files. Whether cross-matter context is permissible even if globally on.]
history.md seed# History: [Client] — [short description]
Append-only event log. Most recent at top.
---
## [YYYY-MM-DD] — Matter opened
Intake completed. Slug: `[slug]`. Status: active. Governing law: [English law / Scots law / etc.].
[Any initial context worth preserving beyond matter.md — e.g., "Opened in response to inbound MSA draft from [counterparty]."]
The practice-level CLAUDE.md has a Cross-matter context: flag. When it's off (the default), a skill working in matter A never reads files in matters/B/ for any other B. When it's on, a skill may read files across matter folders only when the user explicitly asks it to.
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/amendment-historyTrace how a contract has changed across its base agreement and all amendments — either a summary of all changes over time, or a provision trace for a specific clause. Use when the user says "what changed in this contract over time", "show me the amendment history", "where's the latest [clause]", "how has [provision] evolved", or uploads multiple versions of an agreement.
/cold-start-interviewRun the cold-start interview to learn your UK commercial contracts practice and write your team practice profile. Use on first use of the plugin, when `~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/CLAUDE.md` is missing or still contains template placeholders, or when the user says "set up the plugin", "configure commercial contracts", "onboard me", or "let's get started". This is the only skill that should run on a fresh install.
/customizeGuided customisation of your UK commercial contracts practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, playbook positions, NDA triage preferences, house style, review preferences, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my playbook", "tune my config", or "customise".
/escalation-flaggerRoute a contract issue to the right approver per the escalation matrix in `~/.claude/plugins/config/uk-legal-plugins/commercial-legal-uk/CLAUDE.md`, and draft the ask. Includes UK regulatory referral triggers (CMA, FCA, ICO, Companies House). Use when the user says "who needs to approve this", "escalate this", "does this need Head of Legal sign-off", "route this for approval", or when another skill finds an issue that exceeds the reviewer's authority.
/nda-reviewReference: fast triage of inbound NDAs into GREEN / YELLOW / RED under English law of confidence and common law principles. Built for sales and BD to self-serve before pinging legal. Loaded by /commercial-legal-uk:review when an NDA is detected.
/renewal-trackerShow contracts with cancel-by deadlines coming up and warn before notice windows close, working from a maintained renewal register. Use when the user asks "what's renewing soon", "what renewals are due", "did we miss a cancellation window", "add this to the renewal tracker", or on a scheduled basis. Receives handoffs from saas-msa-review. Business-day roll-back uses UK bank holidays (E&W by default; Scots bank holidays where governing law is Scots law).
npx claudepluginhub uk-agents/uk-legal-plugins --plugin commercial-legal-ukOther plugins' skills for the same job