oss-review

oss-review is a skill for Claude Code from zhou210712/claude-for-legal-ZH. It costs 66 tokens per session (4,893 once invoked), scanned A, original, Apache-2.0.

An open-source licence compliance review for software dependencies, individual libraries, or code planned for release. It checks the licence obligations and whether they fit the way the software will be used or distributed.

In plain words
What is it for?
It helps review dependency files, software bills of materials, repositories, or a library before internal use, distribution, or open-sourcing code.
Why use it?
It helps find copyleft duties, incompatible licences, unknown licence terms, and source licences that are available to use but are not open source.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the ip-legal plugin — 9 skills, 1 agent shipped together

Good fit It helps review dependency files, software bills of materials, repositories, or a library before internal use, distribution, or open-sourcing code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhou210712/claude-for-legal-zh/oss-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zhou210712/claude-for-legal-ZH --skill oss-review
Clone the repo
git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH

Made for: Claude Code.

Or install ip-legal, the plugin that ships this one along with the rest of its 9 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oss-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/oss-review/github.svg)](https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/oss-review)
Your own site
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/oss-review"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/oss-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for oss-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhou210712/claude-for-legal-zh/oss-review"><img src="https://agentmods.dev/badge/skills/zhou210712/claude-for-legal-zh/oss-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.04893
Opus 5 $0.00033 $0.02447
Sonnet 5 $0.00013 $0.00979
Haiku 4.5 $0.00007 $0.00489

Measured 9d ago against content hash 8ab2a0cce21a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

oss-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ip-legal/skills/oss-review/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/oss-review

对照 ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md 中的实务画像执行开源许可证合规检查。 按许可证族分类依赖、将义务映射到部署模式、标注许可证未知和伪装为开源的假开源包、并建议行动——合规、替换、移除、寻求法律审查、寻求商业许可。

使用说明

  1. 加载 ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md 如含占位符,停止并提示:"先运行 /ip-legal:cold-start-interview——在审查前我需要了解你的实务画像(及开源政策,如有)。"如实务画像指向已上传的开源政策,亦阅读该文件——它是团队认可/审查/禁止许可证的真实来源。

  2. 确定范围: 依赖列表(package.json、requirements.txt、go.mod、Gemfile、Cargo.toml、pom.xml、SBOM)、单个库或团队准备开源的对外发布代码。如用户传递了路径,从文件推断;否则询问。

  3. 在分类义务前确定部署模式 — SaaS、分发二进制、仅内部使用或嵌入式。相同的依赖列表在不同模式下触发不同义务。

  4. 按以下工作流执行。 特别是:

    • 阅读实际许可证文本,不仅看元数据 — LICENSE 文件可能错误,包元数据可能过时。
    • 将软件包分类至:宽松型 / 弱 copyleft / 强 copyleft / 公有领域 / 非OSI / 未知。
    • 将许可证未知标注为"需审查",不默认按宽松型处理。
    • 标注非OSI源码可用许可证(SSPL、BUSL、Commons Clause、Elastic License等)——这些不是开源。
    • 对于对外发布代码,检查所选输出许可证是否与每个嵌入依赖兼容。
  5. 按以下模板输出备忘录 — 工作成果页眉居首、底线结论、顶部标注、按严重程度分组的逐包块、管辖提示、对外发布检查(如适用)、审批路由。

  6. 尊重决策立场。 当 copyleft 触发分析取决于存在争议的问题(AGPL的"通过网络交互"、GPL-3.0的"传送"、LGPL链接范围)时,标注供律师审查并展示各方有利因素。任何被归类为强 copyleft 或许可证未知的内容,在依赖发布或代码发布前须经律师评估。

示例

/ip-legal:oss-review ~/code/my-project/package.json
/ip-legal:oss-review ~/code/my-project/requirements.txt
/ip-legal:oss-review redis
/ip-legal:oss-review ~/code/my-project  # 仓库根目录 — 扫描所有清单

连接后效果更好

开源合规请求通常通过票务系统进来。连接到 Jira、Linear 或 Asana 后,本技能可以:监控进入的开源请求、在工单中直接回复指导(标注信息不完整、索要仓库链接、返回许可证族分类)并跟踪各请求的合规状态。

无连接器时,粘贴工单或描述请求,我一单一单处理。

事项上下文

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


目的

告诉用户其依赖树中有哪些许可证、这些许可证基于代码部署方式触发哪些义务、以及针对每个条款应怎么做。输出是律师(或可访问律师的工程师)可据此行动的备忘录——合规、替换、移除、寻求法律审查、寻求商业许可。

这是初步分类。 Copyleft 分析取决于部署模式、链接程度、管辖,有时还取决于未经法庭检验的法律问题(如AGPL的"通过网络交互")。任何被归类为强 copyleft 或许可证未知的内容,在依赖发布或代码发布前须经律师评估。本技能报告它发现了什么;律师决定怎么做。

Read the full file on GitHub · 278 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 278 lines · 66 tokens per session scan A 8ab2a0cce21a

Subscribe to this mod's changes

oss-review is a skill published in the GitHub repository zhou210712/claude-for-legal-ZH (212 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 4,893 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens