跳到正文
cccskills
免费在 GitHub 公开

matter-workspace

Manage separate workspaces for legal matters across multiple clients. Create matter records, list and switch active matters, archive closed work, or return to practice-level context while keeping each matter's information separate by default.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Creating a workspace for a new client matter
  • Listing matters and switching the active workspace
  • Archiving a closed matter while preserving its records
  • Returning to practice-level work without an active matter

包含的文件(1)

  • SKILL.md9.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/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, write matter.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

  1. Read ~/.claude/plugins/config/claude-for-legal/employment-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 /employment-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/employment-legal/matters/<slug>/matter.md, seed history.md and notes.md.
    • list → enumerate ~/.claude/plugins/config/claude-for-legal/employment-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/employment-legal/matters/<slug>/ to ~/.claude/plugins/config/claude-for-legal/employment-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>/.

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>

  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-house)
    • Counterparty (the other side — may be multiple)
    • Matter type (read the plugin's practice profile for typical categories; for employment-legal: hire | termination | investigation | leave | accommodation | classification | country expansion | policy project | other)
    • Confidentiality level (standard | heightened | clean-team — heightened prompts extra care in cross-matter settings)
    • Key facts (2–5 sentences: what this matter is about, who the stakeholders are, what's at stake)
    • Matter-specific overrides to the practice playbook (e.g., "client requires 24-month LoL cap not 12", "counterparty is a strategic partner — relationship-preserving tone")
    • Related matters (slugs of any connected matters)
  3. Write matters/<slug>/matter.md using the template below.
  4. Seed matters/<slug>/history.md with a single "Opened" entry.
  5. Create an empty matters/<slug>/notes.md.
  6. Do not auto-switch to the new matter. Ask: "Want to switch to <slug> now? (/employment-legal:matter-workspace switch <slug>)"

list

Enumerate matters/*/matter.md. Read each file's front-matter or first few lines to extract status. Print a table:

SlugClientMatter typeStatusOpenedActive

Mark the currently-active matter with *. Include _archived/* under a separate "Archived" heading if any exist.

switch <slug>

  1. Confirm matters/<slug>/matter.md exists. If not, offer /employment-legal:matter-workspace new <slug>.
  2. Edit the Active matter: line in the practice-level CLAUDE.md to Active matter: <slug>.
  3. Show the user the matter.md summary so they can confirm they're on the right matter.

close <slug>

  1. Confirm matters/<slug>/ exists.
  2. Append a "Closed" entry to matters/<slug>/history.md with today's date.
  3. Move matters/<slug>/ → matters/_archived/<slug>/.
  4. If the closed matter was the active matter, set Active matter: to none — practice-level context only.

none

Set Active matter: in the practice-level CLAUDE.md to none — practice-level context only. Confirm with the user.

matter.md template

[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this` in the practice-level CLAUDE.md]

# Matter: [Client] — [short description]

**Slug:** [slug]
**Opened:** [YYYY-MM-DD]
**Status:** active
**Confidentiality:** [standard / heightened / clean-team]

---

## Parties

**Client:** [name]
**Counterparty:** [name(s)]

## Matter type

[vendor MSA | customer agreement | NDA | SaaS subscription | amendment | renewal | other — with one-line rationale]

## Key facts

[2–5 sentences. What this matter is about. Who the stakeholders are. What's at stake. What makes it different from the default playbook.]

## Matter-specific overrides

*Any deviation from the practice-level playbook that applies to this matter and only this matter.*

- [e.g., "LoL cap: client requires 24 months, not house standard 12."]
- [e.g., "Tone: relationship-preserving — counterparty is a strategic partner."]
- [e.g., "Governing law: must be English law, not Delaware."]

## Related matters

- [slug — one line why related]

## Notes on confidentiality

[If heightened or clean-team, describe why. Who may see matter files. Whether cross-matter context is permissible even if globally on.]

history.md seed

# History: [Client] — [short description]

Append-only event log. Most recent at top.

---

## [YYYY-MM-DD] — Matter opened

Intake completed. Slug: `[slug]`. Status: active.
[Any initial context worth preserving beyond matter.md — e.g., "Opened in response to inbound MSA draft from [counterparty]."]

Cross-matter context

The practice-level CLAUDE.md has a Cross-matter context: flag. When it's off (the default), a skill working in matter A never reads files in matters/B/ for any other B. Period. This is the confidentiality guarantee the setting exists to provide.

When it's on, a skill may read files across matter folders only when the user explicitly asks it to (e.g., "compare our position on liability caps across the last five vendor matters"). Even when on, the default is to load only the active matter unless the user asks for a cross-matter view.

What this skill does not do

  • Run a conflicts check. Conflicts are the practitioner's/firm's job; the intake captures what the user declares.
  • Enforce retention. Closing archives a matter; it does not delete. Retention policy is out of scope.
  • Auto-route outputs. The substantive skill decides where to write; this skill tells it which folder is active, not what to put in it.
  • Decide whether cross-matter is appropriate. It reads the flag and obeys.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build an AI system register for EU AI Act reviews. Track owners, deployment status, EU connections, and each system’s role and risk category through a guided discussion, preserving classification reasons and dates for future review.

中文简介正在准备中。当前显示英语简介。

  • Register AI systems used or planned across an organization
  • Review each system’s role and risk category
  • Find systems approaching their next review date
anthropics/claude-for-legal97282026年10月14日 更新

Coordinate bulk contract clause extraction with Luminance or Kira, prepare loading requests, and check returned results according to your team's review settings. Assess flagged clauses against the transaction and organize findings and required consents.

中文简介正在准备中。当前显示英语简介。

  • Preparing bulk clause extraction requests for contract batches
  • Sampling AI extraction results against original clauses
  • Checking whether change-of-control clauses apply to a deal
anthropics/claude-for-legal97282026年10月14日 更新

Create an AI impact assessment in your team's format. Gather system details through conversation, analyze risks and applicable regulatory classifications, check consistency with internal policy, and document recommendations, safeguards, and conditions for deployment.

中文简介正在准备中。当前显示英语简介。

  • Assessing an AI system before deployment
  • Preparing an assessment after conditional triage
  • Reviewing pilot or production AI risks
anthropics/claude-for-legal97282026年10月14日 更新

Trace changes across an original contract and its amendments. Get a chronological overview or follow one clause through successive revisions, with section references, current wording, and flags for conflicting or unclear language that needs legal review.

中文简介正在准备中。当前显示英语简介。

  • Summarize a contract’s amendment history
  • Find the current wording of a specific clause
  • Track changes to fees or liability limits
anthropics/claude-for-legal97282026年10月14日 更新

Check installed community skills for updates, review file changes and expanded permissions, and flag outdated references. Updates require explicit approval, with backups available to restore the previous version if needed.

中文简介正在准备中。当前显示英语简介。

  • Check installed skills for available updates
  • Review permission changes before updating
  • Identify references overdue for verification
anthropics/claude-for-legal97282026年10月14日 更新

Practice for a U.S. bar exam with questions matched to the exam format, jurisdiction, and weak subjects. Get explanations for answer choices, essay feedback, and session records that reveal recurring mistakes and guide further practice.

中文简介正在准备中。当前显示英语简介。

  • Drilling weak subjects for a specific bar exam
  • Comparing general rules with state-specific rules
  • Getting feedback on practice essays
anthropics/claude-for-legal97282026年10月14日 更新

查看 anthropics 的全部技能

报告此技能的问题