matter-workspace
Qué hace
Esta skill gestiona espacios de trabajo separados para cada cliente o asunto, para que el contexto de un asunto se mantenga aparte de los demás. Es para abogados que trabajan con varios clientes.
Cuándo usarla
- ✓Cuando empiezas con un cliente o encargo nuevo.
- ✓Cuando necesitas cambiar a otro asunto antes de trabajar.
- ✓Cuando quieres archivar un asunto cerrado sin borrarlo.
Link de la skill
https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/matter-workspace/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Cambia al asunto Harbor Logistics antes de que revise la carta de oferta.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill mantiene una carpeta con sus propias notas para cada asunto. Te permite cambiar cuál está activo, desvincularte para trabajar solo a nivel de práctica y mover los asuntos cerrados a un archivo en lugar de borrarlos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
/employment-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/employment-legal:matter-workspace list— list matters with status and active flag/employment-legal:matter-workspace switch <slug>— set the active matter/employment-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/employment-legal/matters/_archived/, never delete)/employment-legal:matter-workspace none— detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/employment-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/employment-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/employment-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/employment-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/employment-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/employment-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>/.
Reference
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; instead it explains the disabled state and suggests /employment-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/employment-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-
Preguntas frecuentes
¿Es necesario para el trabajo interno?
Normalmente no. Si los espacios de trabajo por asunto están desactivados, las herramientas funcionan automáticamente con el contexto de práctica.
¿Puede borrar un asunto cerrado?
No. Cerrar un asunto lo archiva y nunca lo borra.
¿Qué pasa si quiero dejar de usar un asunto?
Puedes desvincularte y trabajar solo a nivel de práctica.
Detalles
Descripción original del autor
Manage matter workspaces — new, list, switch, close, or detach (practice- level). Creates, lists, switches, closes, and detaches the active matter so context from one client engagement never leaks into another. Use when a multi-client practitioner says "new matter", "switch matter", "list my matters", "close this matter", or needs to manage which matter is active.
Popularidad
- Estrellas en GitHub
- 9,9 mil
- Posición en el ranking
- #12090
- Licencia
- Apache-2.0
- Actualizada
- 29/10/2026
Comentarios
- …
Más skills de este repositorio
ai-inventory
9,9 milAyuda a tu agente a mantener un inventario por sistema de herramientas de IA según la Ley de IA de la UE, con su papel, nivel de riesgo y base de clasificación.
aia-generation
9,9 milAyuda a tu agente a redactar una evaluación de impacto de IA para un caso de uso, con riesgos, clasificación normativa, ajuste a la política y condiciones recomendadas.
cold-start-interview
9,9 milAyuda a tu agente a conocer tu práctica de gobernanza de IA mediante una entrevista de configuración y un perfil creado a partir de tus documentos de política.
customize
9,9 milAyuda a tu agente a cambiar una parte del perfil de gobernanza de IA, como la postura de riesgo, los contactos o las posiciones de política, sin repetir todo.
Skills parecidas
knowledge-capture
394 milEnseña a tu agente a guardar decisiones, preferencias y datos clave en tu bóveda de Knowledge como notas breves con atribución de la fuente.
knowledge-claim-consolidation
394 milAyuda a tu agente a ordenar una bóveda de Knowledge fusionando afirmaciones duplicadas, moviéndolas a las páginas temáticas adecuadas y retirando las obsoletas.
knowledge-correct
394 milPermite que tu agente corrija o retire una afirmación o página concreta guardada en Knowledge cuando tú lo pidas, dejando constancia de lo que cambió.