matter-workspace
Skill9.6k starsChanged 7 months agoApache-2.0View on GitHub
Manage matter workspaces — create, list, switch, close, or detach (practice-level). Keeps one client or engagement's context separate from every other for multi-client practitioners. Use when the user wants to open a new matter, switch matters, list matters, close/archive a matter, or work at practice-level only.
Trending
Quiet since October.about the whole repository
Who's talking about anthropics/claude-for-legal
- A Hacker News story“Claude for Legal”Hacker News · May 14, 2026 · 225 points
- @sungkim.bsky.social“github.com/anthropics/c...”Bluesky · May 13, 2026 · 3 likes
- @qdrddr.bsky.social“A set of plugins by Anthropic to draft #legal papers. #OpenSource Apache 2.0 lic github.com/anthropics/c...”Bluesky · May 14, 2026 · 2 likes
- @bruess.law“Und wieder wird das Ende der (menschlichen) Juristerei prophezeit github.com/anthropics/c...”Bluesky · May 13, 2026 · 2 likes
- @c0ast3r.endrun.io“I have been testing the legal skills from Claude I tweaked a few and use a few others from skills.sh, I …”Bluesky · Aug 21, 2026 · 1 likes
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub, Bluesky and Hacker News (58 times).
On GitHub · 50
- Oct 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.anthropics.claude-for-legal: init at 0-unstable-2026-07-23 — sudosubin/agents.nix0 reactions
- Oct 3, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 30, 2026[Candidate] anthropics/claude-for-legal - large collection (151 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 30, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
45 more on GitHub
- Sep 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 2, 2026実在しなかった出典3件を、正しい公式発表に差し替え — 022740mix-spec/AI-News0 reactions
- Aug 25, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 11, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 31, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 28, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 23, 2026Adopt upstream claude-for-legal changes through 4a6c651889c9 — datenzar/claude-fuer-deutsches-recht0 reactions
- Jul 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 17, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 17, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 15, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 10, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 5, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 4, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 2, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jul 1, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jun 29, 2026Upstream drift report — bharatnain/bharats-claude-toolkit0 reactions
- Jun 27, 2026Doctor report: https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/international-expansion — modiqo/skillspec0 reactions · 2 comments
- Jun 27, 2026Doctor report: https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/nda-review — modiqo/skillspec0 reactions · 1 comment
- Jun 26, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Jun 19, 2026Adopt upstream claude-for-legal changes through 5ceb305b30b4 — datenzar/claude-fuer-deutsches-recht0 reactions · 2 comments
- May 26, 2026[Bug]: Claude plugins installation failed in Cloud — different-ai/openwork0 reactions
- May 26, 2026All contributors have signed the CLA ✍️ ✅<br/><sub>Posted by the **CLA Assistant Lite bot**.</sub> — openssl/openssl0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026Tren Komunitas AI -- 2026-05-15 — rahmanramsi/daily-digest-ai0 reactions
- May 15, 2026📰 Hacker News AI 社区动态日报 2026-05-15 — ivanweng2077/big_model_radar0 reactions
- May 14, 2026📰 데일리 뉴스 & 영감 | 2026-05-15 (Friday) — wonbrand107-tech/wonbrand0 reactions
On Bluesky · 7
- May 13, 2026github.com/anthropics/c... — @sungkim.bsky.social3 likes and reposts
- May 14, 2026A set of plugins by Anthropic to draft #legal papers. #OpenSource Apache 2.0 lic github.com/anthropics/c... — @qdrddr.bsky.social2 likes and reposts
- May 13, 2026Und wieder wird das Ende der (menschlichen) Juristerei prophezeit github.com/anthropics/c... — @bruess.law2 likes and reposts
- Aug 21, 2026I have been testing the legal skills from Claude I tweaked a few and use a few others from skills.sh, I think I have gotten mine to a good… — @c0ast3r.endrun.iosays it tested it1 likes and repost
- May 17, 2026📰 Claude for Legal: A GitHub repository has been created to provide Claude, an AI language model, as a legal assistant tool. 🔗… — @sagalinked.bsky.social1 likes and repost
2 more on Bluesky
- May 15, 2026Claude for legal #claude #ai #machinelearning #artificialintelligence #technology #legal — @todaystopainews.bsky.social1 likes and repost
- May 13, 2026I can't be the only person who looks at the list of agents here and thinks that 3 years ago most of these were viable legal tech products… — @samharden.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- May 14, 2026Claude for Legal225 points · 193 comments
In this repository163 other files it gives its agents.
- ai-governance-legal/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- commercial-legal/CLAUDE.mdCLAUDE.md
- corporate-legal/CLAUDE.mdCLAUDE.md
- employment-legal/CLAUDE.mdCLAUDE.md
- ip-legal/CLAUDE.mdCLAUDE.md
- law-student/CLAUDE.mdCLAUDE.md
- legal-builder-hub/CLAUDE.mdCLAUDE.md
- legal-clinic/CLAUDE.mdCLAUDE.md
- litigation-legal/CLAUDE.mdCLAUDE.md
- privacy-legal/CLAUDE.mdCLAUDE.md
- product-legal/CLAUDE.mdCLAUDE.md
- regulatory-legal/CLAUDE.mdCLAUDE.md
- aia-generationSkill
- ai-inventorySkill
- cold-start-interviewSkill
- customizeSkill
- matter-workspaceSkill
- policy-monitorSkill
- policy-starterSkill
- reg-gap-analysisSkill
- use-case-triageSkill
- vendor-ai-reviewSkill
- amendment-historySkill
- cold-start-interviewSkill
- customizeSkill
- escalation-flaggerSkill
- matter-workspaceSkill
- nda-reviewSkill
- renewal-trackerSkill
- review-proposalsSkill
- reviewSkill
- saas-msa-reviewSkill
- stakeholder-summarySkill
- vendor-agreement-reviewSkill
- ai-tool-handoffSkill
- board-minutesSkill
- closing-checklistSkill
- cold-start-interviewSkill
- customizeSkill
- deal-team-summarySkill
- diligence-issue-extractionSkill
- entity-complianceSkill
- integration-managementSkill
- material-contract-scheduleSkill
- matter-workspaceSkill
- tabular-reviewSkill
- written-consentSkill
- cold-start-interviewSkill
- customizeSkill
- expansion-kickoffSkill
- expansion-updateSkill
- handbook-updatesSkill
- hiring-reviewSkill
- internal-investigationSkill
- international-expansionSkill
- investigation-addSkill
- investigation-memoSkill
- investigation-openSkill
- investigation-querySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Use the subcommand logic below.
- Distinctive: line 51
All matter data lives under:
- Distinctive: line 77
Run the intake interview:
- Very specific: line 85
Write matters/<slug>/matter.md using the template below.
- Very specific: line 87
Create an empty matters/<slug>/notes.md.
- Very specific: line 88
Do not auto-switch to the new matter.
- Very specific: line 110
If the closed matter was the active matter, set Active matter: to none — practice-level context only.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/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
/privacy-legal:matter-workspace new <slug>— create a new matter workspace, run a short intake, writematter.md/privacy-legal:matter-workspace list— list matters with status and active flag/privacy-legal:matter-workspace switch <slug>— set the active matter/privacy-legal:matter-workspace close <slug>— archive a matter (move to~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/_archived/, never delete)/privacy-legal:matter-workspace none— detach from any active matter, work at practice-level only
Instructions
- Read
~/.claude/plugins/config/claude-for-legal/privacy-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/privacy-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/privacy-legal/matters/<slug>/matter.md, seedhistory.mdandnotes.md.list→ enumerate~/.claude/plugins/config/claude-for-legal/privacy-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/privacy-legal/matters/<slug>/to~/.claude/plugins/config/claude-for-legal/privacy-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>/.
Matter Workspace
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 /privacy-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/privacy-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 activeSlugs 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)
- Counterparty (the other side — may be multiple)
- Matter type (read the plugin's practice profile for typical categories; for privacy-legal: PIA (processing activity) | DPA review | DSAR | regulator inquiry | transfer-mechanism review | incident | 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)
- Write
matters/<slug>/matter.mdusing the template below. - Seed
matters/<slug>/history.mdwith a single "Opened" entry. - Create an empty
matters/<slug>/notes.md. - Do not auto-switch to the new matter. Ask: "Want to switch to
<slug>now? (/privacy-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:
| Slug | Client | Matter type | Status | Opened | Active |
Mark the currently-active matter with *. Include _archived/* under a separate "Archived" heading if any exist.
switch <slug>
- Confirm
matters/<slug>/matter.mdexists. If not, offer/privacy-legal:matter-workspace new <slug>. - Edit the
Active matter:line in the practice-level CLAUDE.md toActive matter: <slug>. - Show the user the matter.md summary so they can confirm they're on the right matter.
close <slug>
- Confirm
matters/<slug>/exists. - Append a "Closed" entry to
matters/<slug>/history.mdwith today's date. - Move
matters/<slug>/→matters/_archived/<slug>/. - If the closed matter was the active matter, set
Active matter:tonone — 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

