Agent skill

Reg Gap Analysis

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

将新的或修订的AI法规与当前AI政策和实践进行差异分析—— 输出差距清单和整改计划,含负责人和日期。适用于新法规 出台、用户询问"[某法规]是否影响我们"、" AI法规差距分析"或粘贴法规文本时。

Apache-2.0Auto-check passedLegal & Compliance

Install Reg Gap Analysis

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill reg-gap-analysis -a claude-code

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

GitHub CLI
$ gh skill install zhou210712/claude-for-legal-ZH reg-gap-analysis --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/ai-governance-legal/skills/reg-gap-analysis .claude/skills/reg-gap-analysis && 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
reg-gap-analysis
GitHub stars
225
Token cost
~1.2k tokens
SKILL.md length
174 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

将新的或修订的AI法规与当前AI政策和实践进行差异分析—— 输出差距清单和整改计划,含负责人和日期。适用于新法规 出台、用户询问"[某法规]是否影响我们"、" AI法规差距分析"或粘贴法规文本时。

  • Works in 6 steps: 读取… → 运行以下工作流。 → 范围:该法规是否适用?(管辖权、阈值、行业) → …
  • Legal & Compliance work in your project
  • SKILL.md covers 目的, 加载当前状态, 工作流 and 常见AI法规类别, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Reg Gap Analysis is an agent skill from zhou210712/claude-for-legal-ZH. 将新的或修订的AI法规与当前AI政策和实践进行差异分析—— 输出差距清单和整改计划,含负责人和日期。适用于新法规 出台、用户询问"[某法规]是否影响我们"、" AI法规差距分析"或粘贴法规文本时。

Its SKILL.md is about 1.2k 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. The licence is Apache-2.0.

When your agent uses it

  • Legal & Compliance work in your project

Example prompts

  • “[某法规]是否影响我们”
  • “AI法规差距分析”
  • “/reg-gap-analysis”

Workflow steps

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

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md → AI系统清单、监管注册表、AI政策承诺。
  2. 运行以下工作流。
  3. 范围:该法规是否适用?(管辖权、阈值、行业)
  4. 提取要求 → 与当前状态对比 → 差距清单。
  5. 整改计划附负责人、日期、优先级。
  6. 保存注明日期的文档。即使"无差距"也应记录。

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

Reg Gap Analysis loads about 1.2k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 174 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.2k

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). 174 words, ~1,159 tokens.

Download SKILL.mdSave it as .claude/skills/reg-gap-analysis/SKILL.md (or your agent's skills folder).
name
reg-gap-analysis
description
将新的或修订的AI法规与当前AI政策和实践进行差异分析—— 输出差距清单和整改计划,含负责人和日期。适用于新法规 出台、用户询问"[某法规]是否影响我们"、" AI法规差距分析"或粘贴法规文本时。
argument-hint
[法规名称,或粘贴法规文本/摘要]

/reg-gap-analysis

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md → AI系统清单、监管注册表、AI政策承诺。
  2. 运行以下工作流。
  3. 范围:该法规是否适用?(管辖权、阈值、行业)
  4. 提取要求 → 与当前状态对比 → 差距清单。
  5. 整改计划附负责人、日期、优先级。
  6. 保存注明日期的文档。即使"无差距"也应记录。
/ai-governance-legal:reg-gap-analysis "生成式人工智能服务管理办法"

AI法规与政策差距分析

目的

网信办发布新的AI管理规定。科技部更新伦理审查标准。某省出台AI治理细则。法规有所变化——现在你需要知道哪些地方需要跟进。

此技能将新要求与你当前的AI实践(按照 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md → AI系统清单 + AI使用政策承诺 + 已完成的评估记录)进行对比,产出差距清单和整改计划。

加载当前状态

读取 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md:

  • ## AI系统清单 — 已部署、在评估和已退役的系统
  • ## 监管注册表 — 已经适用的法规
  • ## AI使用政策 — 已对外公开的AI使用承诺或内部AI治理政策
  • ## 科技伦理审查配置 — 伦理审查委员会的设置和流程

如果该法规不适用于你(错误管辖权、低于阈值、不同行业),差距分析只有一行:"不适用。理由:[原因]。无需行动。"

工作流

第1步:法规范围界定

在对比之前,先回答:

  • 是否适用? 法规是否覆盖你的业务类型、系统类型或数据规模?
    • 是否向中国境内公众提供AI服务?(《生成式人工智能服务管理办法》第2条 [法条原文])
    • 是否使用算法推荐技术?(《互联网信息服务算法推荐管理规定》第2条 [法条原文])
    • 是否涉及深度合成?(《互联网信息服务深度合成管理规定》第2条 [法条原文])
    • 是否涉及需科技伦理审查的科技活动?(《科技伦理审查办法(试行)》[法条原文])
  • 何时生效? 生效日期、执法开始日期(通常晚于生效日期)、是否有过渡期
  • 真正的新内容是什么? 识别与已有合规义务的增量差异,而非全文重述
第2步:提取要求

阅读法规文本(或摘要/指南)。将每项实质性要求列为离散条目:

#要求法条引用类别
1[要求原文或摘要][条款][训练数据 / 透明度 / 安全 / 备案 / 伦理 / 其他]

类别:

  • 训练数据 — 训练数据的合法性、来源、知识产权、个人信息保护
  • 透明度 — 告知用户、标识AI生成内容、算法说明
  • 安全 — 安全评估、技术措施、内容安全管理
  • 备案 — 算法备案要求、备案变更义务
  • 伦理 — 科技伦理审查要求
  • 治理 — 个人信息保护负责人、投诉机制、审计日志留存
  • 责任 — 提供者/使用者责任分配
第3步:与当前状态对比

对每项要求:

markdown
### [要求 #N]:[简短名称]

**法规要求:** [要求原文或概述]

**我方现状:** [当前AI系统清单 / 政策 / 实践显示的现状]

**差距:** [无 / 部分 / 完全]

**如为部分/完全差距——缺什么:** [具体说明]

**弥补难度:** [仅政策更新 / 产品变更 / 供应商重新谈判 / 新流程建设]

**违规风险:** [行政处罚/责令整改/罚款幅度、执法可能性、声誉影响]

中国AI法规的行政处罚参考:

  • 《生成式人工智能服务管理办法》第21条:警告、通报批评、责令限期改正;拒不改正或情节严重者,责令暂停服务,处一万元以上十万元以下罚款 [法条原文]
  • 《互联网信息服务算法推荐管理规定》第31条:警告、通报批评、责令限期改正;拒不改正或情节严重者,责令暂停信息更新,处一万元以上十万元以下罚款 [法条原文]
  • 《个人信息保护法》第66条:情节严重的,处五千万元以下或者上一年度营业额百分之五以下罚款 [法条原文]
第4步:优先级排序

并非每个差距都同等重要。按以下排序:

  1. 有硬性截止日期且附带实际处罚的 — 生效日期 + 执法能力 + 实际处罚额度
  2. 投入产出比 — 政策语言更新成本低;产品重建成本高
  3. 已完成80%的事项 — 如果因为个保法合规已有基础,新AI法规的增量差异可能很小
第5步:整改计划
markdown
[工作成果头 — 按照插件配置 ## 输出]

## 整改计划:[法规名称]

**生效日期:** [日期]
**执法开始:** [日期]

### 必须在执法开始前完成

| 差距 | 整改措施 | 负责人 | 截止日期 | 状态 |
|------|----------|--------|----------|------|
| [差距] | [具体措施] | [姓名] | [日期] | [ ] |

### 应当完成(风险较低,不阻碍业务)

[同上表格]

### 已经合规

[列出差距为"无"的要求——对"我们基本没问题"的信息有用]

### 已接受的差距(风险已接受,不整改)

[如有——附书面理由和风险接受人]

常见AI法规类别

在对新法规进行增量差异分析时,将其归入大致类别有助于聚焦:

  • 生成式AI专项规则 — 覆盖生成合成内容的管理(《生成式人工智能服务管理办法》)
  • 算法推荐治理 — 覆盖算法推荐服务的透明度、公平性和备案(《互联网信息服务算法推荐管理规定》)
  • 深度合成治理 — 覆盖深度合成内容的标识和管理(《互联网信息服务深度合成管理规定》)
  • 科技伦理审查 — 覆盖科技活动的伦理审查要求(《科技伦理审查办法(试行)》[法条原文])
  • 数据基础制度 — 覆盖数据要素流通、数据产权、数据安全("数据二十条"等政策文件 [联网检索 — 需复核])
  • 地方性AI治理规定 — 省级/市级AI管理细则(如上海、深圳、北京的地方AI条例 [联网检索 — 需复核])
  • 行业特定AI要求 — 金融AI、医疗AI、自动驾驶等行业的特别要求(行业监管机构发布的专项规定)
研究要求

对与新法规相关的每个类别,在起草差距分析之前研究当前有效的具体要求。引述一手来源。验证时效性——新法规每届人大/行政立法周期都有出台,监管机构发布解释性指导意见会改变特定控制措施的"合规"含义。对不确定之处标记为需律师验证,而非断言你未确认的规则。

不得静默填补。 如果对配置的法律研究工具(元典MCP、网信办/科技部网站或律所平台)的检索返回结果很少或没有,报告已发现的内容并停止。不要在不询问的情况下用联网搜索或模型知识填补空白。说明:"检索从[工具]返回[N]条结果。[制度/主题]的覆盖面似乎较薄。选项:(1) 扩大检索范围,(2) 尝试不同的研究工具,(3) 搜索网络——结果将标记为 [联网检索 — 需复核] 并应在依赖前向发布机构核实,或 (4) 标记为未核实并停止。你希望选择哪一个?" 由律师决定是否接受可信度较低的信息来源。

来源溯源层级。 对差距分析中的每条引注标记其来源。对于模型知识引注,使用三个层级而非单一的统一"需核实"标记:

  • [稳定] — 稳定、众所周知的法定和监管引用,不太可能改变(例如个保法第55条、生成式人工智能服务管理办法第4条)。在提交前仍需核实,但优先级较低。
  • [需核实] — 真实的模型知识引用但应核实:具体实施细则、监管机构指引、案例裁定、阈值、生效日期、新颁布的法规。
  • [需核实-精确定位] — 精确定位引用(具体款字母、卷/页码、段落编号、监管子部分引用)具有最高的编造风险,应始终对照一手来源进行核实。

工具检索获得的引用保留其来源标签([元典MCP]、[发布机构网站] 或MCP工具名称);联网搜索引用保持 [联网检索 — 需复核];用户提供的引用保持 [用户提供]。分层标注体现真正的核实工作——一个"全部核实"的读者等于什么都没核实。绝不要剥离或折叠标签。

与其他技能的衔接

来自AI系统评估: AI评估标记的合规差距 → 在此处输入,当新法规影响已评估的系统时。

到达规监测插件(如已安装): 此技能是手动版本。监测插件监控法规动态,并在有变化时自动触发此分析。

输出

保存为注明日期的markdown文档。整改计划表成为跟踪器——随着项目关闭更新状态。

如果差距分析结论为"无差距,我们合规",仍然要写文档——这是以后证明你确实审视过的有用证据。

以引注核实说明收尾:

本输出中的引注由AI模型生成,未经对照一手来源核实。在依赖任何法规、规章、指导意见或执法行动之前,请通过法律研究工具(元典MCP、你的律所研究平台或发布机构的官方网站)核实其准确性和当前状态。AI生成的引注有时是虚构或引用错误的。每条引注上的来源标签(例如 [联网检索 — 需复核])标明其出处;需核实 标签具有更高的编造风险,应优先检查。

收尾

以 CLAUDE.md ## 输出 规定的下一步决策树收尾。定制选项以覆盖此技能的具体产出——五个默认分支(起草X、升级、获取更多事实、观察等待、其他)为起点,不可锁定。决策树是输出;律师来选择。


本技能不做的事

  • 不权威性地解释模糊的法规语言。当法规不明确时,要说明:"第X条可以解读为[A]或[B]。[A]是保守解读。如果涉及重要事项,建议寻求外部律师意见。"
  • 不主动跟踪法规变化。只有在你向它指出变化时它才运行。如需主动监测,参见监管法律插件。
  • 不实施整改。它制定计划,不执行。

© 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 ai-governance-legal/skills/reg-gap-analysis of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

Reg Gap Analysis 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.

Reg Gap Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reg Gap Analysis this skillzhou210712/claude-for-legal-ZH225—~1.2kAutomated safety check: PassApache-2.0
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Legal Clinic Client Intakeanthropics/claude-for-legal9.6k3 repos~3.2kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1061 repos~959Automated safety check: PassNone

Similar skills

  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Legal & ComplianceAuto-check passed
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    106 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Employment Contract Templates

    ynulihao/AgentSkillOS

    Create employment contracts, offer letters, and HR policy documents following legal best practices.

    617 GitHub starsUsed in 12 repos~4.1k tokens
    Legal & ComplianceAuto-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 Reg Gap Analysis

What does Reg Gap Analysis do?

将新的或修订的AI法规与当前AI政策和实践进行差异分析—— 输出差距清单和整改计划,含负责人和日期。适用于新法规 出台、用户询问"[某法规]是否影响我们"、" AI法规差距分析"或粘贴法规文本时。. Reg Gap Analysis is an agent skill from zhou210712/claude-for-legal-ZH.

When should I use Reg Gap Analysis?

Reg Gap Analysis fits situations like: legal & Compliance work in your project.

How do I install Reg Gap Analysis in Claude Code?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill reg-gap-analysis -a claude-code`. Or copy the skill folder (ai-governance-legal/skills/reg-gap-analysis in zhou210712/claude-for-legal-ZH) into .claude/skills/reg-gap-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Reg Gap Analysis in Codex?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill reg-gap-analysis -a codex`. Or copy the skill folder (ai-governance-legal/skills/reg-gap-analysis in zhou210712/claude-for-legal-ZH) into .agents/skills/reg-gap-analysis in your project. Codex loads it when a task matches its description.

Can I use Reg Gap Analysis 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 reg-gap-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reg-gap-analysis, .gemini/skills/reg-gap-analysis, .github/skills/reg-gap-analysis and .opencode/skills/reg-gap-analysis in your project.

What does Reg Gap Analysis need to run?

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

Does Reg Gap Analysis 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 Reg Gap Analysis 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 Reg Gap Analysis use?

Reg Gap Analysis 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 Reg Gap Analysis use?

About 1.2k tokens (SKILL.md is roughly 4.6k 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 Reg Gap Analysis?

Skills that share tags, products or a category with Reg Gap Analysis: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), C15t (c15t/c15t, 1.9k stars), Contract Review (evolsb/claude-legal-skill, 464 stars) and Legal Clinic Client Intake (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 Reg Gap Analysis?

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.