matter-workspace

Create, list, switch, close, and detach matter workspaces with per-matter files.

Updated May 28, 2026
One-click install
npx skills add https://github.com/gtgspot/clegal --skill matter-workspace-gtgspot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matter-workspace
Source: https://github.com/gtgspot/clegal/tree/main/employment-legal/skills/matter-workspace
Command: npx skills add https://github.com/gtgspot/clegal --skill matter-workspace-gtgspot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Matter workspaces help practitioners keep client contexts separate by creating, listing, switching, closing, and detaching active matters.

Core Features & Use Cases

  • Create, list, switch, close, or detach matters to prevent cross-matter context leakage
  • Maintain per-matter history and notes via matter.md, history.md, and notes.md
  • Archive closed matters under matters/_archived to preserve readability and auditability

Quick Start

Create a new matter workspace by running /employment-legal:matter-workspace new <slug>.

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 contexts to prevent cross-matter leakage in Claude?

Matter workspaces isolate client contexts by managing separate environments for each matter. You can create, list, switch, and close matters to keep files and history strictly separated.

What is the best way to organize matter management for private practice and in-house legal work?

Matter management workspaces support both private-practice and in-house settings by organizing matters into isolated directories. This approach maintains dedicated history and notes for each client context.

How do I archive closed matters while preserving auditability?

To archive closed matters, the workspace moves them under the matters/_archived directory. This preserves readability and auditability by keeping the matter.md, history.md, and notes.md files intact.

Can I create a new matter workspace using a slug without manual file setup?

Yes, you can create a new matter workspace by running the new command with a slug. This automatically generates the necessary matter.md, history.md, and notes.md files under the matters directory.

How does switching active matters update the practice-level configuration?

Switching active matters updates the Active matter reference directly in the practice-level CLAUDE.md file. This ensures the current client context is accurately tracked without losing previous matter history.

Does detaching a matter delete the workspace files?

Detaching a matter does not delete the workspace files. It simply removes the active matter reference, allowing you to preserve the context, history, and notes while operating outside a specific client workspace.