matter-workspace
Skill này làm gì
Skill này quản lý một không gian làm việc riêng cho mỗi khách hàng hoặc hồ sơ, để file và ghi chú của một hồ sơ không lẫn với hồ sơ khác. Nó dành cho luật sư xử lý nhiều hồ sơ cùng lúc.
Khi nào nên dùng
- ✓Khi bạn bắt đầu công việc cho một hồ sơ mới của khách hàng.
- ✓Khi bạn cần chuyển hồ sơ đang hoạt động trước khi làm việc với tài liệu.
- ✓Khi bạn muốn lưu trữ một hồ sơ đã xong.
Liên kết skill
https://github.com/anthropics/claude-for-legal/blob/main/corporate-legal/skills/matter-workspace/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy chuyển sang hồ sơ Falcon để lần rà soát tiếp theo của tôi chỉ dùng ngữ cảnh của hồ sơ đó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill giữ một thư mục và cài đặt riêng cho mỗi hồ sơ, cho phép bạn chuyển hồ sơ đang hoạt động, và lưu trữ các hồ sơ đã đóng thay vì xóa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/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)
Câu hỏi thường gặp
Tôi có cần không gian làm việc theo hồ sơ nếu làm việc nội bộ không?
Thường là không. Nếu tắt chúng, các công cụ tự làm việc theo ngữ cảnh cấp thực hành.
Nó có thể xóa một hồ sơ không?
Không. Đóng hồ sơ là chuyển nó vào thư mục lưu trữ.
Làm sao để ngừng dùng một hồ sơ?
Bạn có thể tách ra để chỉ làm việc ở cấp thực hành, không có hồ sơ nào đang hoạt động.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 9.9k
- Vị trí xếp hạng
- #12072
- Giấy phép
- Apache-2.0
- Cập nhật
- 29/10/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-inventory
9.9kGiúp agent của bạn lập bản kiểm kê công cụ AI theo từng hệ thống theo Đạo luật AI của EU, ghi vai trò, mức rủi ro và cơ sở phân loại.
aia-generation
9.9kGiúp agent của bạn viết đánh giá tác động AI cho một trường hợp sử dụng, gồm rủi ro, phân loại pháp lý, mức khớp chính sách và điều kiện đề xuất.
cold-start-interview
9.9kGiúp agent của bạn hiểu cách vận hành thực hành quản trị AI qua một cuộc phỏng vấn thiết lập và tạo hồ sơ thực hành từ tài liệu chính sách.
customize
9.9kGiúp agent của bạn chỉnh một phần hồ sơ thực hành quản trị AI, như mức rủi ro, người liên hệ hoặc lập trường chính sách, mà không thiết lập lại.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.