Matter Workspace
anthropics/claude-for-legal
Manage matter workspaces — new, list, switch, close, or detach (practice-level).
管理事务工作区——创建、列表、切换、关闭或解除活跃事务. An agent skill from zhou210712/claude-for-legal-ZH.
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .claude/skills/matter-workspace && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .claude/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspaceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .agents/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .agents/skills/matter-workspace && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .agents/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .cursor/skills/matter-workspace && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .cursor/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/zhou210712/claude-for-legal-ZH.git --path ai-governance-legal/skills/matter-workspace--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .gemini/skills/matter-workspace && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .gemini/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspaceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .github/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .github/skills/matter-workspace && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .github/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/ai-governance-legal/skills/matter-workspace .opencode/skills/matter-workspace && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "matter-workspace" agent skill from https://github.com/zhou210712/claude-for-legal-ZH/tree/main/ai-governance-legal/skills/matter-workspace into .opencode/skills/matter-workspace/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "matter-workspace", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
matter-workspace管理事务工作区——创建、列表、切换、关闭或解除活跃事务. An agent skill from zhou210712/claude-for-legal-ZH.
Matter Workspace is an agent skill from zhou210712/claude-for-legal-ZH. 管理事务工作区——创建、列表、切换、关闭或解除活跃事务。 适用于多客户私人执业场景,将一个客户或委托的上下文与另一个 隔离开。也可以在实质技能需要知道它在哪个事务中工作时使用。
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Legal & Compliance, covering AI governance. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2f01c92. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Matter Workspace loads about 1.3k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 247 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from zhou210712/claude-for-legal-ZH at commit 2f01c92, republished under its Apache-2.0 licence (© zhou210712). 247 words, ~1,346 tokens.
.claude/skills/matter-workspace/SKILL.md (or your agent's skills folder).执业律师同时处理多个客户和事务。事务工作区将一个客户或委托的上下文与另一个隔离开。此技能管理工作区。
/ai-governance-legal:matter-workspace new <slug> — 创建新的事务工作区,运行简短录入,写入 matter.md/ai-governance-legal:matter-workspace list — 列出事务及其状态和活跃标记/ai-governance-legal:matter-workspace switch <slug> — 设置活跃事务/ai-governance-legal:matter-workspace close <slug> — 归档事务(移动到 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/_archived/,不删除)/ai-governance-legal:matter-workspace none — 解除活跃事务,仅在实践层面工作~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md — 确认 ## 事务工作区 部分已填充。如果 已启用 为 ✗,告知用户:"事务工作区已关闭——你被配置为法务内部实践,只有一个客户,因此插件自动从实践级上下文工作。如果你实际上跨多个客户工作,请重新运行 /ai-governance-legal:cold-start-interview --redo 并选择私人执业设置。否则,你不需要 /ai-governance-legal:matter-workspace。" 不要报错——关闭状态是法务内部用户的预期状态。$ARGUMENTS 的第一个词分发:new → 运行录入访谈,写入 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<slug>/matter.md,种子化 history.md 和 notes.md。list → 枚举 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/*/matter.md,打印表格,标记活跃事务。switch → 更新实践级 CLAUDE.md 中的 活跃事务: 行。close → 将 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<slug>/ 移动到 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/_archived/<slug>/,在 history.md 中记录关闭日期。none → 将 活跃事务: 设置为 无 — 仅实践级上下文。跨事务上下文 为 开,否则技能绝不跨事务读取。_archived/<slug>/ 下。跨多客户执业的律师(私人执业——独立执业、小型律所、大型律所)处理多个事务。一个事务的上下文不得泄露到另一个事务中。此技能是使这一点成立的轻量文件管理层。
默认状态是关闭的。 法务内部用户永远看不到这个——他们仅在实践级运行。事务工作区在冷启动时为私人执业用户开启,或通过编辑实践级 CLAUDE.md 中的 ## 事务工作区 开启。如果 已启用 为 ✗,此技能不运行;上述工作流解释关闭状态并为确实需要事务隔离的用户建议 /ai-governance-legal:cold-start-interview --redo。
所有事务数据位于:
~/.claude/plugins/config/claude-for-legal/ai-governance-legal/
├── CLAUDE.md # 实践级实践配置文件
└── matters/
├── <slug>/
│ ├── matter.md # 客户、对方、事务类型、关键事实、覆盖项
│ ├── history.md # 日期化的事件、决策、草稿、审查日志
│ ├── notes.md # 自由形式的工作笔记
│ └── outputs/ # 此事务的技能输出(可选子文件夹)
└── _archived/
└── <slug>/ # 已关闭的事务——可读但不活跃Slug 使用小写字母加连字符。示例:acme-ai-vendor-2026、zenith-algorithm-filing、novacorp-ai-policy。
实践级 CLAUDE.md 中 ## 事务工作区 下的 活跃事务: 行是唯一的真相来源。切换事务就是编辑该行。没有单独的状态文件。
new <slug>matters/<slug>/ 或 matters/_archived/<slug>/ 中尚未出现。如果重复,要求用户选择不同的 slug。matters/<slug>/matter.md。matters/<slug>/history.md,写入一条"已开设"条目。matters/<slug>/notes.md。<slug>?(/ai-governance-legal:matter-workspace switch <slug>)"list枚举 matters/*/matter.md。读取每个文件的前几行以提取状态。打印表格:
| Slug | 客户 | 事务类型 | 状态 | 开设日期 | 活跃 |
|---|
用 * 标记当前活跃事务。如果有已归档事务,在单独的"已归档"标题下列出 _archived/*。
switch <slug>matters/<slug>/matter.md 存在。如果不存在,提供 /ai-governance-legal:matter-workspace new <slug>。活跃事务: 行为 活跃事务:<slug>。close <slug>matters/<slug>/ 存在。matters/<slug>/history.md 中追加一条"已关闭"条目,日期为当天。matters/<slug>/ → 移动到 matters/_archived/<slug>/。活跃事务: 设置为 无 — 仅实践级上下文。none将实践级 CLAUDE.md 中的 活跃事务: 设置为 无 — 仅实践级上下文。与用户确认。
matter.md 模板[工作成果头 — 按照插件配置 ## 输出 — 根据角色有所不同;见实践级 CLAUDE.md 中的 `## 谁在使用此工具`]
# 事务:[客户] — [简短描述]
**Slug:** [slug]
**开设日期:** [YYYY-MM-DD]
**状态:** 活跃
**保密级别:** [标准 / 加强 / 洁净团队]
---
## 当事方
**客户:** [名称]
**对方:** [名称]
## 事务类型
[AI供应商合同审查 | 算法备案 | AI政策起草 | AI系统评估 | 科技伦理审查 | 监管问询/调查 | 其他 — 附一行说明]
## 关键事实
[2-5句话。此事务关于什么。利益相关者是谁。利害关系是什么。与默认操作手册有何不同之处。]
## 事务特定覆盖项
*任何偏离实践级操作手册且仅适用于此事务的内容。*
- [例如"训练数据条款红线:本客户绝对禁止供应商使用任何客户数据进行模型训练——比实践默认立场更严格。"]
- [例如"时间紧迫——算法备案必须在30天内完成,平台上线日期已定。"]
- [例如"洁净团队:开源合规审查涉及高度敏感的商业策略信息。"]
## 相关事务
- [slug — 一句说明关联原因]
## 关于保密的说明
[如果为加强或洁净团队,说明原因。谁可以查看事务文件。即使全局开启,跨事务上下文是否允许。]history.md 种子# 历史:[客户] — [简短描述]
仅追加的事件日志。最新的在顶部。
---
## [YYYY-MM-DD] — 事务开设
录入完成。Slug:`[slug]`。状态:活跃。
[任何值得在 matter.md 之外保留的初始上下文——例如"应[对方]的AI供应商协议草案开设。" ]实践级 CLAUDE.md 中有一个 跨事务上下文: 标志。当它为 关(默认)时,在事务A中工作的技能绝不读取任何其他事务B的 matters/B/ 文件。句号。这是该设置旨在提供的保密保证。
当它为 开 时,技能只有在用户明确要求时才可以跨事务文件夹读取文件(例如"比较我们在所有AI供应商审查中关于模型训练数据条款的立场")。即使为 开,默认只加载活跃事务,除非用户要求跨事务视图。
© zhou210712, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in ai-governance-legal/skills/matter-workspace of zhou210712/claude-for-legal-ZH.
Open the folder on GitHubat commit 2f01c92
Matter Workspace next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Matter Workspace this skillzhou210712/claude-for-legal-ZH | 225 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Matter Workspaceanthropics/claude-for-legal | 9.6k | 3 repos | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Dd Audit AI Activitydatadog-labs/agent-skills | 177 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Iso42001Sushegaad/Claude-Skills-Governance-Risk-and-Compliance | 946 | 1 repos | ~3.7k | Automated safety check: Pass | MIT | |
| AI Risk Managementbriiirussell/cybersecurity-skills | 413 | — | ~3.7k | Automated safety check: Notes | MIT | |
| Legal Harness Initializercat-xierluo/legal-skills | 720 | — | ~2.3k | Automated safety check: Pass | MIT |
anthropics/claude-for-legal
Manage matter workspaces — new, list, switch, close, or detach (practice-level).
datadog-labs/agent-skills
Audit what the Bits AI assistant (MCP server) has done in your Datadog org — tool calls by user, resources accessed, and anomaly flags for AI governance.
Sushegaad/Claude-Skills-Governance-Risk-and-Compliance
Expert ISO 42001 AI Management System (AIMS) compliance advisor.
briiirussell/cybersecurity-skills
Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance, fairness and bias evaluation, robustness, transparency…
cat-xierluo/legal-skills
Sets up or incrementally updates AGENTS.md and CLAUDE.md for legal professionals, with a minimal safety baseline and a check that a new session loads and follows the rules.
anthropics/claude-for-legal
Maintains a register of AI systems under the EU AI Act, recording each system's role and risk tier separately, because both can differ from one system to the next.
zhou210712/claude-for-legal-ZH
构建或审查要件分析表——专利权利要求对照表(侵权、无效或审查)或 民事构成要件分析表(任何诉讼请求或抗辩),每个单元格附精确引用, 缺口检测为优先输出。当用户要求要件分析表、权利要求对照表、 证据对照表、侵权或无效主张、逐要件映射,或问"我们证明[主张]还缺什么"时使用。
zhou210712/claude-for-legal-ZH
结构化接待——实践领域模板、跨领域考点识别、利益冲突标记、分流分类. An agent skill from zhou210712/claude-for-legal-ZH.
zhou210712/claude-for-legal-ZH
参考资料:支持 /regulatory-legal:gaps 和 /regulatory-legal:comments 的共享差距和意见征集跟踪框架。跟踪未关闭的政策差距及其整改状态, 从 policy-diff 中获取差距,呈现开放和即将到期的事项,路由给负责人, 并通过企业通讯工具通知差距负责人,每次发送前需确认。
zhou210712/claude-for-legal-ZH
对照您的框架和风险校准进行全面产品上线审查。当用户说"审查这个上线" "[功能]法务审查""我们能上线吗""[产品]有什么法律问题"或引用了需要 逐类审查备忘录的产品需求文档或上线追踪工单时使用。
zhou210712/claude-for-legal-ZH
检查法规动态源,报告自上次检查以来的新事项,按重要度阈值过滤。适用于用户说"检查法规动态"、"有什么新规定"、"法规更新"、从定时任务触发执行,或手动粘贴法规动态进行分类和差异分析时。
zhou210712/claude-for-legal-ZH
展示具有即将到来的取消截止日期的合同,在通知窗口关闭前发出预警, 基于维护的续约登记册运行。当用户询问"什么即将续约""哪些续约即将到期" "我们是否错过了取消窗口""将此添加到续约追踪器"时使用,或按计划运行。
Categories
管理事务工作区——创建、列表、切换、关闭或解除活跃事务. An agent skill from zhou210712/claude-for-legal-ZH. Matter Workspace is an agent skill from zhou210712/claude-for-legal-ZH.
Matter Workspace fits situations like: tasks that involve AI governance.
Run `npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a claude-code`. Or copy the skill folder (ai-governance-legal/skills/matter-workspace in zhou210712/claude-for-legal-ZH) into .claude/skills/matter-workspace in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a codex`. Or copy the skill folder (ai-governance-legal/skills/matter-workspace in zhou210712/claude-for-legal-ZH) into .agents/skills/matter-workspace in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/matter-workspace, .gemini/skills/matter-workspace, .github/skills/matter-workspace and .opencode/skills/matter-workspace in your project.
SKILL.md names no scripts, command-line tools or credentials: Matter Workspace is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Matter Workspace is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Matter Workspace: Matter Workspace (anthropics/claude-for-legal, 9.6k stars), Dd Audit AI Activity (datadog-labs/agent-skills, 177 stars), Iso42001 (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars) and AI Risk Management (briiirussell/cybersecurity-skills, 413 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zhou210712 (a GitHub user) maintains it in zhou210712/claude-for-legal-ZH, which has 225 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on May 15, 2026.
Source: zhou210712/claude-for-legal-ZH on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.