Saltar al contenido
Skillpedia
Tareas y proyectos9,9 mil · #12054

matter-workspace

Qué hace

Esta skill gestiona un espacio de trabajo separado para cada cliente o asunto, para que los datos de un cliente no se mezclen con los de otro. Es para abogados que trabajan con varios clientes.

Cuándo usarla

  • ✓Cuando empiezas a trabajar para un cliente o encargo nuevo.
  • ✓Cuando necesitas cambiar a otro cliente antes de revisar sus contratos.
  • ✓Cuando quieres cerrar un asunto antiguo y guardar sus archivos en un archivo histórico.

Link de la skill

https://github.com/anthropics/claude-for-legal/blob/main/commercial-legal/skills/matter-workspace/SKILL.md

Có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

Usa esta skill para ayudarme: https://github.com/anthropics/claude-for-legal/blob/main/commercial-legal/skills/matter-workspace/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un nuevo espacio de trabajo para nuestro cliente Brightline y cambia a él.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill mantiene una carpeta para cada asunto con sus propias notas y ajustes. Cambia el asunto activo, lista los asuntos con su estado 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 command manages those workspaces.

Subcommands

  • /commercial-legal:matter-workspace new <slug> — create a new matter workspace, run a short intake, write matter.md
  • /commercial-legal:matter-workspace list — list matters with status and active flag
  • /commercial-legal:matter-workspace switch <slug> — set the active matter
  • /commercial-legal:matter-workspace close <slug> — archive a matter (move to ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/_archived/, never delete)
  • /commercial-legal:matter-workspace none — detach from any active matter, work at practice-level only

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/commercial-legal/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: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.
  2. Use the subcommand logic below.
  3. Dispatch on the first token of $ARGUMENTS:
    • new → run the intake interview, write ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list → enumerate ~/.claude/plugins/config/claude-for-legal/commercial-legal/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/claude-for-legal/commercial-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/_archived/<slug>/, log the close date in history.md.
    • none → set Active matter: to none — practice-level context only.
  4. Show the user what changed and confirm before writing.

Notes

  • The skill never reads across matters unless Cross-matter context is on in 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; the workflow above explains the disabled state and suggests /commercial-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/commercial-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>

  1. Confirm slug is not already present in matters/<slug>/ or matters/_archived/<slug>/. If reused, ask the user to pick a different slug.
  2. Run the intake interview:
    • Client (the party we represent, or the internal business unit if in-hous
Preguntas frecuentes

¿Necesito esto si trabajo para una sola empresa?

Normalmente no. Si los espacios de trabajo por asunto están desactivados, la skill indica que las herramientas ya funcionan con el contexto de práctica.

¿Puede borrar un asunto cerrado?

No. Cerrar un asunto lo mueve a una carpeta de archivo y nunca lo borra.

¿Cómo vuelvo al trabajo general?

Puedes desvincularte de cualquier asunto 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). Use when a multi-client practitioner needs to create a matter, switch the active matter, list matters, archive a matter, or detach to practice-level context, or when another skill needs to know which matter it's working in.

repo: anthropics/claude-for-legal

Popularidad

Estrellas en GitHub
9,9 mil
Posición en el ranking
#12054
Licencia
Apache-2.0
Actualizada
29/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas