Agent skill

Matter Workspace

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

管理事项工作区——创建、列表、切换、关闭或解除(实务级). An agent skill from zhou210712/claude-for-legal-ZH.

Apache-2.0Auto-check passedAgent Workflows

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/ip-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
~1.3k tokens
SKILL.md length
254 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

管理事项工作区——创建、列表、切换、关闭或解除(实务级). An agent skill from zhou210712/claude-for-legal-ZH.

  • Works in 4 steps: 读取… → 按以下子命令逻辑操作。 → 按 $ARGUMENTS 的首个标记分派 → …
  • Agent Workflows work in your project
  • SKILL.md covers 子命令, 使用说明, 说明 and 存储布局, plus 6 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 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 Agent Workflows. The licence is Apache-2.0.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/matter-workspace”

Workflow steps

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

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md — 确认 ## 事项工作区 分区已填充。如 Enabled 为…
  2. 按以下子命令逻辑操作。
  3. 按 $ARGUMENTS 的首个标记分派
  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 (its code samples are markdown).

    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 1.3k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 254 words of instructions outside code blocks.

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

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). 254 words, ~1,292 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> [slug]

/matter-workspace

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

子命令

  • /ip-legal:matter-workspace new <slug> — 创建新事项工作区,执行简短的采集面谈,写入 matter.md
  • /ip-legal:matter-workspace list — 列明事项及其状态和活跃标记
  • /ip-legal:matter-workspace switch <slug> — 设置活跃事项
  • /ip-legal:matter-workspace close <slug> — 归档事项(移动至 ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/_archived/,绝不删除)
  • /ip-legal:matter-workspace none — 解除任何活跃事项,仅在实务级工作

使用说明

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md — 确认 ## 事项工作区 分区已填充。如 Enabled 为 ✗,告知用户:"事项工作区已关闭——你配置为公司法务,仅有一个客户,插件自动以实务级上下文运行。如你实际跨多个客户工作,重新运行 /ip-legal:cold-start-interview --redo 并选择私人执业设置。否则,你不需要 /ip-legal:matter-workspace。"不用报错——关闭状态是法务用户的预期状态。
  2. 按以下子命令逻辑操作。
  3. 按 $ARGUMENTS 的首个标记分派:
    • new → 执行采集面谈,写入 ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/<slug>/matter.md,种子 history.md 和 notes.md。
    • list → 枚举 ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/*/matter.md,打印表格,标记活跃事项。
    • switch → 更新实务级 CLAUDE.md 中的 Active matter: 行。
    • close → 移动 ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/<slug>/ 至 ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/_archived/<slug>/,在 history.md 中记录关闭日期。
    • none → 将 Active matter: 设置为 none — 仅实务级上下文。
  4. 向用户显示变更内容,写入前确认。

说明

  • 除非实务级 CLAUDE.md 中 跨事项上下文 开启,技能绝不跨事项读取。
  • 归档不是删除——已关闭事项仍然可读,用于留档/冲突目的。
  • slug 小写使用连字符。如 slug 在已归档和活跃中重复使用,已归档事项保留在 _archived/<slug>/。

多客户执业者(私人执业——独立、小型律所、大型律所)跨多个事项工作。一个事项的上下文不得泄露到另一个。本技能是实现这一点的薄文件管理层。

默认状态为关闭。 法务用户永远看不到这个——他们仅在实务级运行。事项工作区在冷启动时对私人执业用户开启,或通过编辑实务级 CLAUDE.md 中的 ## 事项工作区 开启。如 Enabled 为 ✗,本技能不运行;转而解释关闭状态并建议需要事项隔离的用户运行 /ip-legal:cold-start-interview --redo。

存储布局

所有事项数据位于:

~/.claude/plugins/config/claude-for-legal/ip-legal/
├── CLAUDE.md                       # 实务级画像
└── matters/
    ├── <slug>/
    │   ├── matter.md               # 客户、相对方、事项类型、关键事实、覆盖设置
    │   ├── history.md              # 事件、决策、草稿、审查的日期记录
    │   ├── notes.md                # 自由形式工作笔记
    │   └── outputs/                # 本事项的技能输出(可选的子文件夹)
    └── _archived/
        └── <slug>/                 # 已关闭事项 — 可读但不活跃

slug 小写使用连字符。示例:acme-商标-2026、zenith-信息网络传播权、novacorp-FTO。

活跃事项保存在实务 CLAUDE.md 中

实务级 CLAUDE.md 中 ## 事项工作区 下的 Active matter: 行是唯一真相来源。切换事项编辑该行。无独立状态文件。

子命令逻辑

new <slug>
  1. 确认 slug 不在 matters/<slug>/ 或 matters/_archived/<slug>/ 中已存在。如重复使用,要求用户另选 slug。
  2. 执行采集面谈:
    • 客户(我们代表的当事人,或法务用户的内部业务单位)
    • 相对方(对方——可为多个;可为"未知第三方侵权人"用于监视服务触发的事项)
    • 事项类型(阅读插件实务画像中的典型类别;对 ip-legal:商标确权 | 商标维权 | 信息网络传播权 | 专利FTO | 专利侵权 | 知识产权条款审查 | 开源合规 | 组合维护 | 其他)
    • 保密级别(标准 | 加强 | 洁净团队——加强提示在跨事项场景中额外小心;洁净团队在专利FTO工作中常见)
    • 关键事实(2-5句:此事是关于什么的,谁是利益相关方,什么关乎利害)
    • 事项特定的实务立场覆盖(如"客户要求此商标以激进立场对待"、"相对方是战略合作伙伴——仅用稳健语调"、"发明人不可用——不在面谈中出现")
    • 关联事项(任何关联事项的 slug)
  3. 按以下模板写入 matters/<slug>/matter.md。
  4. 种子 matters/<slug>/history.md,添加一条"已开启"记录。
  5. 创建空 matters/<slug>/notes.md。
  6. 不自动切换至新事项。询问:"要现在切换至 <slug> 吗?(/ip-legal:matter-workspace switch <slug>)"
list

枚举 matters/*/matter.md。读取每份文件的 front-matter 或前几行以提取状态。打印表格:

Slug客户事项类型状态开启日活跃

以 * 标记当前活跃事项。如存在已归档事项,在单独的"已归档"标题下列出 _archived/*。

switch <slug>
  1. 确认 matters/<slug>/matter.md 存在。如否,提供 /ip-legal:matter-workspace new <slug>。
  2. 编辑实务级 CLAUDE.md 中的 Active matter: 行为 Active matter: <slug>。
  3. 向用户显示 matter.md 摘要,使其确认在正确事项上。
close <slug>
  1. 确认 matters/<slug>/ 存在。
  2. 在 matters/<slug>/history.md 中追加一条"已关闭"记录,附今天日期。
  3. 移动 matters/<slug>/ → matters/_archived/<slug>/。
  4. 如关闭的事项是活跃事项,将 Active matter: 设置为 none — 仅实务级上下文。
none

将实务级 CLAUDE.md 中的 Active matter: 设置为 none — 仅实务级上下文。与用户确认。

matter.md 模板

markdown
[工作成果页眉 — 按插件配置 ## 输出 — 因角色而异;见实务级 CLAUDE.md 中的 `## 使用者`]

# 事项:[客户] — [简短描述]

**Slug:** [slug]
**开启日:** [YYYY-MM-DD]
**状态:** 活跃
**保密级别:** [标准 / 加强 / 洁净团队]

---

## 当事人

**客户:** [名称]
**相对方:** [名称]

## 事项类型

[商标确权 | 商标维权 | 信息网络传播权 | 专利FTO | 专利侵权 | 知识产权条款审查 | 开源合规 | 组合维护 | 其他 — 附一行理由]

## 关键事实

[2-5句。此事是关于什么的。谁是利益相关方。什么关乎利害。什么使其不同于默认立场。]

## 事项特定覆盖设置

*任何仅适用于本事项、偏离实务级立场的调整。*

- [如"维权立场:即使所内默认为激进,此处采用稳健——相对方是重要渠道合作伙伴。"]
- [如"维权审批:任何函件发出前需市场部额外签署。"]
- [如"洁净团队:即使全局跨事项上下文开启,事项文件不可读取。"]

## 关联事项

- [slug — 一行说明为何关联]

## 保密说明

[如为加强或洁净团队,描述原因。谁可查看事项文件。即使全局开启,跨事项上下文是否允许。]

history.md 种子

markdown
# 历史:[客户] — [简短描述]

追加式事件日志。最新在上。

---

## [YYYY-MM-DD] — 事项开启

面谈完成。Slug:`[slug]`。状态:活跃。
[超出 matter.md 值得保存的任何初始上下文 — 如"因监视服务在第25类发现'APEXLEAF'标记而开启。"]

跨事项上下文

实务级 CLAUDE.md 有一个 跨事项上下文: 标记。当它为 关闭(默认),在事项A中工作的技能绝不读取 matters/B/ 中的任何文件。期限。这是此设置提供的保密保证。

当它为 开启,技能可仅在用户明确要求时跨事项文件夹读取文件(如"向我展示我们跨事项在此商标上发送出的每封维权函")。即使 开启,除非用户要求跨事项视图,默认也仅加载活跃事项。

本技能不做什么

  • 不执行冲突检查。 冲突是执业者/律所的工作;采集面谈记录用户声明的内容。
  • 不强制执行留存。 关闭归档事项;不删除。留存政策不在范围内。
  • 不自动路由输出。 实质性技能决定写入何处;本技能告诉它哪个文件夹是活跃的,不规定放什么。
  • 不决定跨事项是否合适。 读取标记并遵守。

© 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 ip-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—~1.3kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k36 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 36 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-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

Categories

Questions about Matter Workspace

What does Matter Workspace do?

管理事项工作区——创建、列表、切换、关闭或解除(实务级). An agent skill from zhou210712/claude-for-legal-ZH. Matter Workspace is an agent skill from zhou210712/claude-for-legal-ZH.

When should I use Matter Workspace?

Matter Workspace fits situations like: agent Workflows work in your project.

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 (ip-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 (ip-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 1.3k tokens (SKILL.md is roughly 5.2k 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: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k 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.