Agent skill

Matter Workspace

by zhou210712 in zhou210712/claude-for-legal-ZH

管理事项工作区——新建、列出、切换、关闭或脱离(业务领域级)。当多客户执业者 需要创建事项、切换当前事项、列出事项、归档事项或脱离至业务领域级上下文时使用, 或当其他技能需要知道当前在哪个事项中工作时使用。

Apache-2.0Auto-check passed

Install Matter Workspace

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhou210712/claude-for-legal-ZH matter-workspace --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/commercial-legal/skills/matter-workspace .claude/skills/matter-workspace && rm -rf skills-src

Use ~/.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/

Facts

Skill name
matter-workspace
GitHub stars
225
Token cost
~582 tokens
SKILL.md length
128 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

管理事项工作区——新建、列出、切换、关闭或脱离(业务领域级)。当多客户执业者 需要创建事项、切换当前事项、列出事项、归档事项或脱离至业务领域级上下文时使用, 或当其他技能需要知道当前在哪个事项中工作时使用。

  • Works in 4 steps: 读取审查指引——确认 ## 事项工作区 部分已填充。如果 Enabled 为… → 使用以下子命令逻辑。 → 根据子命令分发。 → …
  • SKILL.md covers 子命令, 指令, 说明 and 存储布局, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Matter Workspace is an agent skill from zhou210712/claude-for-legal-ZH. 管理事项工作区——新建、列出、切换、关闭或脱离(业务领域级)。当多客户执业者 需要创建事项、切换当前事项、列出事项、归档事项或脱离至业务领域级上下文时使用, 或当其他技能需要知道当前在哪个事项中工作时使用。

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

Example prompts

  • “/matter-workspace”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 读取审查指引——确认 ## 事项工作区 部分已填充。如果 Enabled 为 ✗,告知用户事项工作区已关闭——适用于仅服务一家公司的企业法务用户。不要报错——关闭状态是企业法务用户的预期状态。
  2. 使用以下子命令逻辑。
  3. 根据子命令分发。
  4. 向用户展示变更内容并在写入前确认。

What it can do on your machine

Read from SKILL.md and the folder at commit 2f01c92. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Matter Workspace loads about 582 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 128 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~582

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from zhou210712/claude-for-legal-ZH at commit 2f01c92, republished under its Apache-2.0 licence (© zhou210712). 128 words, ~582 tokens.

Download SKILL.mdSave it as .claude/skills/matter-workspace/SKILL.md (or your agent's skills folder).
name
matter-workspace
description
管理事项工作区——新建、列出、切换、关闭或脱离(业务领域级)。当多客户执业者 需要创建事项、切换当前事项、列出事项、归档事项或脱离至业务领域级上下文时使用, 或当其他技能需要知道当前在哪个事项中工作时使用。
argument-hint
<new | list | switch | close | none> [简称]

/matter-workspace

多客户执业者跨多个客户和事项工作。事项工作区将一个客户或委托的上下文与其他客户或委托隔离开来。本命令管理这些工作区。

子命令

  • /commercial-legal:matter-workspace new <slug> — 创建新事项工作区,运行简短收案访谈,写入 matter.md
  • /commercial-legal:matter-workspace list — 列出事项及其状态
  • /commercial-legal:matter-workspace switch <slug> — 设置当前事项
  • /commercial-legal:matter-workspace close <slug> — 归档事项(移至 _archived/,绝不删除)
  • /commercial-legal:matter-workspace none — 脱离任何当前事项,纯业务领域级工作

指令

  1. 读取审查指引——确认 ## 事项工作区 部分已填充。如果 Enabled 为 ✗,告知用户事项工作区已关闭——适用于仅服务一家公司的企业法务用户。不要报错——关闭状态是企业法务用户的预期状态。
  2. 使用以下子命令逻辑。
  3. 根据子命令分发。
  4. 向用户展示变更内容并在写入前确认。

说明

  • 除非业务领域级 CLAUDE.md 中 跨事项上下文 为 on,技能绝不跨事项读取文件。
  • 归档不是删除——已关闭的事项保持可读状态以供保留/利益冲突目的。
  • 简称使用小写加连字符。如简称在已归档和当前事项中被重用,已归档的保留在 _archived/<slug>/ 下。

多客户执业者(私人执业——个人执业、小型律所、大型律所)跨多个事项工作。一个事项的上下文不得泄露至另一个事项。

默认状态为关闭。 企业法务用户永远不会看到——他们仅以业务领域级别运行。事项工作区在冷启动时为私人执业用户开启,或通过编辑审查指引中的 ## 事项工作区 开启。

存储布局

所有事项数据位于:

~/.claude/plugins/config/claude-for-legal/commercial-legal/
├── CLAUDE.md                       # 业务领域级审查指引
└── matters/
    ├── <slug>/
    │   ├── matter.md               # 客户、对方当事人、事项类型、关键事实、覆盖规则
    │   ├── history.md              # 日期化的事件日志
    │   ├── notes.md                # 自由形式的工作笔记
    │   └── outputs/                # 事项的技能输出(可选子文件夹)
    └── _archived/
        └── <slug>/                 # 已关闭的事项——可读但非当前

子命令逻辑

new <slug>
  1. 确认简称未被占用。如被占用,要求用户选择其他简称。
  2. 运行收案访谈:客户、对方当事人、事项类型、保密级别、关键事实、事项特定覆盖规则、关联事项。
  3. 按模板写入 matters/<slug>/matter.md。
  4. 种子 history.md。
  5. 创建空 notes.md。
  6. 不要自动切换。询问是否切换。
list

列举 matters/*/matter.md。打印表格。标记当前事项为 *。

switch <slug>
  1. 确认 matters/<slug>/matter.md 存在。
  2. 编辑审查指引中的 Active matter: 行。
  3. 向用户展示 matter.md 摘要。
close <slug>
  1. 确认文件夹存在。
  2. 追加"已关闭"条目至 history.md。
  3. 移动文件夹至 _archived/。
  4. 如果是当前事项,设置 Active matter: 为 none。
none

设置 Active matter: 为 none。与用户确认。

跨事项上下文

当 Cross-matter context: 为 off(默认)时,在事项A中工作的技能绝不读取事项B的文件。当为 on 时,技能仅在用户明确要求时跨事项读取。

本技能不做的事

  • 不运行利益冲突检查。 利益冲突是执业者/律所的工作。
  • 不执行保留政策。 关闭归档但不删除。
  • 不自动路由输出。 实质性技能决定写入位置;本技能告知哪个文件夹是当前的。

© 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

Files

Just SKILL.md in commercial-legal/skills/matter-workspace of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

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.

Matter Workspace compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Matter Workspace this skillzhou210712/claude-for-legal-ZH225—~582Automated safety check: PassApache-2.0
Matterbrycewang-stanford/Awesome-Journal-Skills1.2k—~2.1kAutomated safety check: PassMIT
Matter Workspaceanthropics/claude-for-legal9.6k3 repos~2.5kAutomated safety check: PassApache-2.0
Matter Workspaceanthropics/claude-for-legal9.6k2 repos~2.4kAutomated safety check: PassApache-2.0
Matter Workspaceanthropics/claude-for-legal9.6k3 repos~2.5kAutomated safety check: PassApache-2.0
Matter Workspaceanthropics/claude-for-legal9.6k3 repos~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Matter

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when targeting Matter (Matter) or deciding whether a materials manuscript fits this Cell Press primary-research venue spanning atoms to systems with societal relevance.

    1.2k GitHub stars~2.1k tokensUpdated 14 days ago
    Auto-check passed
  • Matter Workspace

    anthropics/claude-for-legal

    Official

    Manage matter workspaces — create, list, switch, close, or detach the active matter.

    9.6k GitHub starsUsed in 3 repos~2.5k tokens
    Agent WorkflowsAuto-check passed
  • Matter Workspace

    anthropics/claude-for-legal

    Official

    Manage matter workspaces — create, list, switch, close, or detach the active matter (practice-level).

    9.6k GitHub starsUsed in 2 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Matter Workspace

    anthropics/claude-for-legal

    Official

    Manage matter workspaces for multi-client practices — create, list, switch, close, or detach the active matter.

    9.6k GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Matter Workspace

    anthropics/claude-for-legal

    Official

    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.

    9.6k GitHub starsUsed in 3 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Matter Intake

    anthropics/claude-for-legal

    Official

    Intake a new matter — uniform questions covering identification, conflicts, source, risk triage, materiality, outside counsel, owners, legal hold, and key dates; writes matter.md and history.md and…

    9.6k GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed

More from zhou210712/claude-for-legal-ZH

All 122 skills in this repo
  • Claim Chart

    zhou210712/claude-for-legal-ZH

    构建或审查要件分析表——专利权利要求对照表(侵权、无效或审查)或 民事构成要件分析表(任何诉讼请求或抗辩),每个单元格附精确引用, 缺口检测为优先输出。当用户要求要件分析表、权利要求对照表、 证据对照表、侵权或无效主张、逐要件映射,或问"我们证明[主张]还缺什么"时使用。

    225 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Client Intake

    zhou210712/claude-for-legal-ZH

    结构化接待——实践领域模板、跨领域考点识别、利益冲突标记、分流分类. An agent skill from zhou210712/claude-for-legal-ZH.

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Gap Surfacer

    zhou210712/claude-for-legal-ZH

    参考资料:支持 /regulatory-legal:gaps 和 /regulatory-legal:comments 的共享差距和意见征集跟踪框架。跟踪未关闭的政策差距及其整改状态, 从 policy-diff 中获取差距,呈现开放和即将到期的事项,路由给负责人, 并通过企业通讯工具通知差距负责人,每次发送前需确认。

    225 GitHub stars~757 tokensUpdated 4 mo ago
    Auto-check passed
  • Launch Review

    zhou210712/claude-for-legal-ZH

    对照您的框架和风险校准进行全面产品上线审查。当用户说"审查这个上线" "[功能]法务审查""我们能上线吗""[产品]有什么法律问题"或引用了需要 逐类审查备忘录的产品需求文档或上线追踪工单时使用。

    225 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check passed
  • Reg Feed Watcher

    zhou210712/claude-for-legal-ZH

    检查法规动态源,报告自上次检查以来的新事项,按重要度阈值过滤。适用于用户说"检查法规动态"、"有什么新规定"、"法规更新"、从定时任务触发执行,或手动粘贴法规动态进行分类和差异分析时。

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Renewal Tracker

    zhou210712/claude-for-legal-ZH

    展示具有即将到来的取消截止日期的合同,在通知窗口关闭前发出预警, 基于维护的续约登记册运行。当用户询问"什么即将续约""哪些续约即将到期" "我们是否错过了取消窗口""将此添加到续约追踪器"时使用,或按计划运行。

    225 GitHub stars~681 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Matter Workspace

What does Matter Workspace do?

管理事项工作区——新建、列出、切换、关闭或脱离(业务领域级)。当多客户执业者 需要创建事项、切换当前事项、列出事项、归档事项或脱离至业务领域级上下文时使用, 或当其他技能需要知道当前在哪个事项中工作时使用。. Matter Workspace is an agent skill from zhou210712/claude-for-legal-ZH.

How do I install Matter Workspace in Claude Code?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a claude-code`. Or copy the skill folder (commercial-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.

How do I install Matter Workspace in Codex?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill matter-workspace -a codex`. Or copy the skill folder (commercial-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.

Can I use Matter Workspace in Cursor, Gemini CLI or GitHub Copilot?

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.

What does Matter Workspace need to run?

SKILL.md names no scripts, command-line tools or credentials: Matter Workspace is instructions for the agent only.

Does Matter Workspace access the network?

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.

Is Matter Workspace safe to install?

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.

What licence does Matter Workspace use?

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.

How many tokens does Matter Workspace use?

About 582 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Matter Workspace?

Skills that share tags, products or a category with Matter Workspace: Matter (brycewang-stanford/Awesome-Journal-Skills, 1.2k stars), Matter Workspace (anthropics/claude-for-legal, 9.6k stars), Matter Workspace (anthropics/claude-for-legal, 9.6k stars) and Matter Workspace (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Matter Workspace?

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.