Agent skill

Aia Generation

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

为AI系统或模型生成风险定级和合规概要评估——涵盖数据、公平性、 透明度、安全性和监管注册表。在用例分类为"附条件-高"后使用, 产品或工程团队提出"我们需要做AI影响评估"时使用,或定期重新 认证已部署系统时使用。采用快速/全面双轨制。

Apache-2.0Auto-check passedLegal & Compliance

Install Aia Generation

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill aia-generation -a claude-code

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

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

At a glance

为AI系统或模型生成风险定级和合规概要评估——涵盖数据、公平性、 透明度、安全性和监管注册表。在用例分类为"附条件-高"后使用, 产品或工程团队提出"我们需要做AI影响评估"时使用,或定期重新 认证已部署系统时使用。采用快速/全面双轨制。

  • Works in 4 steps: 读取… → 运行以下工作流。 → 判定走快速轨还是全面轨。提取系统描述 → 确定监管角色和风险等级 → 生成评估。 → …
  • Legal & Compliance work in your project
  • SKILL.md covers 事务上下文, 目的, 适用法规 and 加载当前状态, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Aia Generation is an agent skill from zhou210712/claude-for-legal-ZH. 为AI系统或模型生成风险定级和合规概要评估——涵盖数据、公平性、 透明度、安全性和监管注册表。在用例分类为"附条件-高"后使用, 产品或工程团队提出"我们需要做AI影响评估"时使用,或定期重新 认证已部署系统时使用。采用快速/全面双轨制。

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. The licence is Apache-2.0.

When your agent uses it

  • Legal & Compliance work in your project

Example prompts

  • “后使用, 产品或工程团队提出”
  • “/aia-generation”

Workflow steps

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

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md → 监管注册表(适用法规、阈值、义务)、AI系统清单、科技伦理审查配置。
  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 (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

Aia Generation loads about 1.3k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 204 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
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). 204 words, ~1,323 tokens.

Download SKILL.mdSave it as .claude/skills/aia-generation/SKILL.md (or your agent's skills folder).
name
aia-generation
description
为AI系统或模型生成风险定级和合规概要评估——涵盖数据、公平性、 透明度、安全性和监管注册表。在用例分类为"附条件-高"后使用, 产品或工程团队提出"我们需要做AI影响评估"时使用,或定期重新 认证已部署系统时使用。采用快速/全面双轨制。
argument-hint
[系统名称或AI用例描述]

/aia-generation

  1. 读取 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/CLAUDE.md → 监管注册表(适用法规、阈值、义务)、AI系统清单、科技伦理审查配置。
  2. 运行以下工作流。
  3. 判定走快速轨还是全面轨。提取系统描述 → 确定监管角色和风险等级 → 生成评估。
  4. 输出:定级 + 评估文件,包含具体行动项、负责人和截止日期。
/ai-governance-legal:aia-generation "客户信用评分模型 v2"

AI系统评估生成

事务上下文

事务上下文。 检查实践级 CLAUDE.md 中的 ## 事务工作区。如果 已启用 为 ✗(法务内部用户的默认值),跳过本段其余部分——技能使用实践级上下文,事务机制不可见。如果已启用且无活跃事务,询问:"此事务属于哪个事务?运行 /ai-governance-legal:matter-workspace switch <slug> 或回答 实践级。" 加载活跃事务的 matter.md 获取事务特定上下文和覆盖项。将输出写入事务文件夹 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/matters/<matter-slug>/。除非 跨事务上下文 为 开,否则绝不读取其他事务的文件。


目的

有些AI法规要求进行正式评估——在部署高风险系统之前、在商业模式变更之前、在训练数据或决策逻辑发生实质性变更时。此技能生成评估,并按法规要求保留记录。

适用法规

中国的AI治理框架由多个法规和规范性文件构成,根据系统类型和风险等级适用不同的评估要求:

  • 《生成式人工智能服务管理办法》:面向公众提供生成式AI服务的,需进行安全评估和算法备案(第17条 [法条原文])
  • 《科技伦理审查办法(试行)》:涉及生命健康、个人信息、社会公共利益等的科技活动需进行伦理审查 [法条原文]
  • 《互联网信息服务算法推荐管理规定》:使用算法推荐技术的,需进行算法备案(第24条 [法条原文])和安全评估(第27条 [法条原文])
  • 《互联网信息服务深度合成管理规定》:提供深度合成服务的,需进行安全评估(第15条 [法条原文])
  • 《个人信息保护法》:涉及个人信息处理的AI系统,需进行个人信息保护影响评估(第55-56条 [法条原文])

加载当前状态

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

  • ## AI系统清单 — 系统中每个AI系统的角色和等级
  • ## 监管注册表 — 适用的法规及阈值
  • ## 科技伦理审查配置 — 伦理审查委员会设置和审查触发条件

工作流

第1步:轨道判定
特征快速轨全面轨
系统类型低风险内部工具(非面向公众)高风险系统或面向公众的系统
数据处理不涉及个人信息或仅涉及内部员工数据涉及用户个人信息、敏感个人信息或大规模数据处理
算法备案无需备案需要或可能需要进行算法备案
深度合成/生成式不涉及涉及生成合成内容或深度合成
评估历史已有近期全面评估记录,仅作小幅更新首次评估或实质性变更

如果系统明确匹配左列所有特征 → 快速轨。否则 → 全面轨。

第2步:监管角色判定

根据系统性质确定监管角色:

角色定义典型场景
AI服务提供者自主研发并向公众提供AI服务的主体自研模型/SaaS AI产品
AI服务使用者使用第三方AI服务进行内部业务活动的主体采购第三方AI能力嵌入自有业务流程
双重角色同时具备提供者和使用者属性基于第三方模型微调后对外提供服务

角色判定影响后续义务范围:

  • 提供者:需进行算法备案、安全评估、内容标识,承担更重的合规义务(《生成式人工智能服务管理办法》第7-17条 [法条原文])
  • 使用者:需确保合规使用、进行供应商尽职调查,但备案义务较轻
第3步:风险等级判定
等级典型系统特征评估要求
高风险用于信贷审核、保险定价、招聘筛选、教育评估;涉及敏感个人信息;面向未成年人;安全关键场景全面轨,算法安全评估 + 科技伦理审查 + 个人信息保护影响评估(《个人信息保护法》第55条 [法条原文])
中风险面向公众的内容推荐、客户服务AI;涉及个人信息但非敏感全面轨,算法备案(如适用)+ 个人信息保护影响评估
低风险内部生产力工具、仅处理非个人信息、不面向公众快速轨,内部记录即可
第4步:快速轨评估
markdown
[工作成果头 — 按照插件配置 ## 输出]

# AI系统快速评估:[系统名称]

**日期:** [日期]
**轨道:** 快速
**监管等级:** 低风险
**适用法规:** [列出]

---

## 系统描述
[一段话:系统做什么、用什么数据、谁使用、部署在哪]

## 非高风险自证
- [勾选快速轨的每项标准,附简要说明]

## 合规检查清单

| 检查项 | 状态 | 说明 |
|--------|------|------|
| 数据合法来源 | ✅/⚠️/❌ | [说明] |
| 不涉及敏感个人信息 | ✅/⚠️/❌ | [说明] |
| 不面向未成年人 | ✅/⚠️/❌ | [说明] |
| 不涉及自动化重大决策 | ✅/⚠️/❌ | [说明] |
| 不使用深度合成/生成式 | ✅/⚠️/❌ | [说明] |
| 有内部使用限制 | ✅/⚠️/❌ | [说明] |
| 科技伦理不触发 | ✅/⚠️/❌ | [说明] |

## 结论
[状态:通过 / 附条件通过(列出条件)]

## 审查者
[评估人] | [日期]
第5步:全面轨评估

全面轨评估包含以下部分:

5A:系统画像
  • 系统名称、版本、部署日期
  • 功能描述和数据流图(输入数据、处理逻辑、输出数据)
  • 所涉数据的类别(是否包含个人信息、敏感个人信息、生物识别信息等)
  • 受影响人群(规模、特征、是否有未成年人或弱势群体)
  • 部署环境(内部/外部、是否通过API开放)
  • 模型类型和来源(自主研发/第三方微调/直接采购)
5B:监管义务映射
法规适用?触发条件核心义务
《生成式人工智能服务管理办法》✅/❌向公众提供生成式AI服务安全评估、算法备案、内容标识、训练数据合法性、投诉机制
《互联网信息服务算法推荐管理规定》✅/❌使用算法推荐技术算法备案、安全评估、用户标签管理、未成年人保护
《互联网信息服务深度合成管理规定》✅/❌提供深度合成服务安全评估、内容标识、日志留存
《个人信息保护法》✅/❌处理个人信息个人信息保护影响评估、告知同意、数据最小化、安全措施
《科技伦理审查办法(试行)》✅/❌涉及生命健康、社会公共利益等伦理审查、知情同意、风险管控
5C:逐项评估

对每个适用的法规,逐项评估合规状态:

markdown
### 《生成式人工智能服务管理办法》合规评估

| 条款 | 要求 | 合规状态 | 证据/差距 | 整改措施 |
|------|------|----------|-----------|----------|
| 第4条 | 遵守法律、尊重社会公德、不得生成违法和不良信息 | ✅/⚠️/❌ | [说明] | [行动] |
| 第7条 | 训练数据合法来源,不侵害知识产权 | ✅/⚠️/❌ | [说明] | [行动] |
| 第9条 | 生成内容标识 | ✅/⚠️/❌ | [说明] | [行动] |
| 第11条 | 用户信息保护义务 | ✅/⚠️/❌ | [说明] | [行动] |
| 第15条 | 投诉举报机制 | ✅/⚠️/❌ | [说明] | [行动] |
5D:科技伦理审查

如果触发《科技伦理审查办法(试行)》[法条原文]:

markdown
## 科技伦理审查

**是否触发:** ✅/❌
**触发依据:** [所涉及的生命健康/社会公共利益/个人信息等具体情形]

### 伦理风险清单

| 风险类别 | 具体风险 | 严重度 | 缓解措施 |
|----------|----------|--------|----------|
| 算法歧视 | [描述] | 🔴/🟠/🟡 | [措施] |
| 隐私侵害 | [描述] | 🔴/🟠/🟡 | [措施] |
| 信息茧房 | [描述] | 🔴/🟠/🟡 | [措施] |
| 算法滥用 | [描述] | 🔴/🟠/🟡 | [措施] |

### 伦理审查结论
[通过 / 附条件通过 / 不予通过 — 附理由]
5E:整改计划
#差距法规依据整改措施负责人截止日期状态
1[描述][法条引用][具体行动][姓名][日期][ ]
第6步:输出和归档

将评估文件保存到 ~/.claude/plugins/config/claude-for-legal/ai-governance-legal/outputs/aia-[系统简称]-[日期].md。同时更新 ## AI系统清单 中的相应条目——添加评估日期和结论。

重新评估触发条件

已评估的系统在以下情况下应重新评估:

  • 训练数据来源发生实质性变化
  • 模型架构或算法发生实质性变化
  • 使用场景从内部扩展到面向公众
  • 开始处理敏感个人信息
  • 法规更新:相关法规修订或新法规生效
  • 自上次评估起已超过12个月(建议的重新认证周期)

收尾

以 CLAUDE.md ## 输出 规定的下一步决策树收尾。定制选项以覆盖此评估的具体产出——批准/拒绝差距整改、设定整改截止日期、升级法律顾问。


来源引用层级

评估中引用的每个法条必须附加来源溯源标签:

  • [法条原文] — 直接引用法规条文原文
  • [模型知识 — 需验证] — 来源于模型训练数据,未独立核实
  • [yuandian检索] — 通过 yuandian MCP 获取
  • [联网检索 — 需复核] — 联网搜索获取,未经二次验证

本技能不做的事

  • 不替代正式的科技伦理审查委员会决议。如果触发《科技伦理审查办法(试行)》,此评估为内部准备材料,正式审查意见以伦理审查委员会决议为准。
  • 不执行技术测试——不评估模型准确性、鲁棒性或偏见的技术度量。
  • 不完成算法备案提交——此技能识别备案义务,但不填写备案表格。
  • 不替代网信办/国家数据局的官方审查——这是内部评估,不是监管批准。

© 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/aia-generation of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

Aia Generation 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.

Aia Generation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aia Generation this skillzhou210712/claude-for-legal-ZH225—~1.3kAutomated 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-Skill1071 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.

    107 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.

    618 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 Aia Generation

What does Aia Generation do?

为AI系统或模型生成风险定级和合规概要评估——涵盖数据、公平性、 透明度、安全性和监管注册表。在用例分类为"附条件-高"后使用, 产品或工程团队提出"我们需要做AI影响评估"时使用,或定期重新 认证已部署系统时使用。采用快速/全面双轨制。. Aia Generation is an agent skill from zhou210712/claude-for-legal-ZH.

When should I use Aia Generation?

Aia Generation fits situations like: legal & Compliance work in your project.

How do I install Aia Generation in Claude Code?

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

How do I install Aia Generation in Codex?

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

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

What does Aia Generation need to run?

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

Does Aia Generation 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 Aia Generation 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 Aia Generation use?

Aia Generation 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 Aia Generation use?

About 1.3k tokens (SKILL.md is roughly 5.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 Aia Generation?

Skills that share tags, products or a category with Aia Generation: 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 Aia Generation?

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.