matter-workspace
Qué hace
Esta skill gestiona un espacio de trabajo separado para cada cliente o asunto, para que los archivos y notas de un asunto no se mezclen con los de otro. Es para abogados que llevan varios asuntos a la vez.
Cuándo usarla
- ✓Cuando empiezas a trabajar en un asunto nuevo para un cliente.
- ✓Cuando necesitas cambiar el asunto activo antes de trabajar con documentos.
- ✓Cuando quieres archivar un asunto terminado.
Link de la skill
https://github.com/anthropics/claude-for-legal/blob/main/corporate-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 Falcon para que mi próxima revisión use solo el contexto de ese asunto.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill mantiene una carpeta y unos ajustes separados para cada asunto, te permite cambiar cuál está activo y archiva los asuntos cerrados 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
/corporate-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/corporate-legal:matter-workspace list— list matters with status and active flag/corporate-legal:matter-workspace switch <slug>— set the active matter/corporate-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/corporate-legal/matters/_archived/, never delete)/corporate-legal:matter-workspace none— detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/corporate-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/corporate-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 workflow below.
- Dispatch on the first token of
$ARGUMENTS:new→ run the intake interview, write~/.claude/plugins/config/claude-for-legal/corporate-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/corporate-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/corporate-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/corporate-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>/.
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; /corporate-legal:matter-workspace explains the disabled state and suggests /corporate-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/corporate-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-house)
Preguntas frecuentes
¿Necesito espacios de trabajo por asunto si trabajo en la empresa?
Normalmente no. Si están desactivados, las herramientas funcionan automáticamente con el contexto de práctica.
¿Puede borrar un asunto?
No. Cerrar un asunto lo mueve a una carpeta de archivo.
¿Cómo dejo de usar un asunto?
Puedes desvincularte y trabajar solo a nivel de práctica, sin ningún asunto activo.
Detalles
Descripción original del autor
Manage matter workspaces — create, list, switch, close, or detach the active matter so multi-client practitioners keep one client's context separate from every other. Read by any substantive skill that needs to know what matter it's working in. Use when user says "new matter", "switch matter", "list matters", "close matter", or wants to work at practice-level only.
Popularidad
- Estrellas en GitHub
- 9,9 mil
- Posición en el ranking
- #12072
- 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ó.