matter-workspace

Create, list, switch, and archive isolated matter workspace directories.

9|Updated May 18, 2026
One-click install
npx skills add https://github.com/uk-agents/uk-legal-plugins --skill matter-workspace-uk-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matter-workspace
Source: https://github.com/uk-agents/uk-legal-plugins/tree/main/ai-governance-legal-uk/skills/matter-workspace
Command: npx skills add https://github.com/uk-agents/uk-legal-plugins --skill matter-workspace-uk-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents client and matter context from mixing by managing dedicated matter workspaces so your work stays correctly scoped to the active engagement.

Core Features & Use Cases

  • Create matter workspaces with intake: Builds a new matter directory, writes a matter.md record, seeds history.md, and creates notes.md so you have a clean starting point.
  • List and switch active matters: Enumerates existing matters and updates the practice-level CLAUDE.md “Active matter” pointer to ensure subsequent skills operate on the right workspace.
  • Close matters safely via archiving: Archives closed matters under _archived without deleting, and logs the closure date for retention and conflicts review workflows.

Use case: You are advising across multiple AI/ICO or vendor review engagements and want to avoid accidentally referencing facts, overrides, or decisions from a different client while drafting outputs.

Quick Start

Create a new matter workspace by running matter-workspace new with your chosen slug, for example: /ai-governance-legal-uk:matter-workspace new acme-ai-review-2026.

Frequently Asked Questions about matter-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate client matter context to prevent cross-contamination in legal operations?

To isolate client matter context, you create a dedicated matter workspace directory for each engagement and update an active matter pointer. This approach scopes all subsequent legal operations to the specific client, preventing cross-contamination of facts or overrides.

What is the best way to manage multiple client engagements without mixing legal files?

The best way to manage multiple client engagements without mixing files is using isolated matter workspaces. You create separate directories per engagement, switch the active matter pointer, and keep each client's notes, history, and records scoped to their own workspace.

How do I archive closed client matters safely for retention and conflicts review?

You archive closed matters by moving the workspace directory to an _archived path without deleting it. This retains the file-based state and logs the closure date, supporting retention requirements and future conflicts review workflows for your legal practice.

When do I need to create a new matter workspace for legal work?

You need to create a new matter workspace when starting a new client engagement. This builds a dedicated directory, writes a matter.md record, seeds history.md, and creates notes.md, giving you a clean, isolated starting point for that specific legal matter.

How does matter workspace archiving handle the enabled or disabled state?

Matter workspace operations respect the enabled or disabled state by checking a practice-level configuration file. The system reads this setting before performing deterministic file operations under the matters and _archived paths to ensure workspace isolation complies with practice rules.