oss-review
하는 일
이 스킬은 제품을 출시하거나 코드를 공개하기 전에 오픈소스 소프트웨어의 라이선스 규칙을 확인합니다. 의존성을 관리하고 외부로 나가는 코드를 다루는 개발자와 법무 직원을 위한 내용입니다.
사용하는 경우
- ✓라이브러리를 출시하는 제품에 쓸 수 있는지 알고 싶을 때.
- ✓의존성 목록이나 소프트웨어 자재 명세서(SBOM)에 대한 라이선스 검토가 필요할 때.
- ✓코드를 오픈소스로 공개하려고 할 때.
스킬 링크
https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리는 데스크톱 앱을 출시하므로, package.json의 의존성에 카피레프트 라이선스가 있는지 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 각 의존성을 라이선스 계열별로 분류하고, 실제 라이선스 문구를 읽어, 그 의무를 소프트웨어 제공 방식에 맞춥니다. 제공 방식은 웹사이트, 다운로드 앱, 내부 사용 등입니다. 그다음 위험한 항목마다 준수, 교체, 법무 검토 요청 같은 조치를 추천합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
/oss-review
Runs an open source license compliance check against the practice profile in ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md. Classifies dependencies by license family, maps obligations to the deployment model, flags license-unknown and non-OSI-posing-as-OSS packages, and recommends actions — comply, replace, remove, seek legal review, seek commercial license.
Instructions
Load
~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md. If placeholders present, stop and prompt: "Run/ip-legal:cold-start-interviewfirst — I need to learn your practice profile (and OSS policy, if any) before I can review." If the practice profile points at an uploaded OSS policy, read that too — it is the source of truth for accepted / review / banned licenses on this team.Establish the scope: a dependency list (package.json, requirements.txt, go.mod, Gemfile, Cargo.toml, pom.xml, SBOM), a single library, or outbound code the team is preparing to open-source. If the user passed a path, infer from the file; otherwise ask.
Establish the deployment model before classifying obligations — SaaS, distributed binary, internal only, or embedded. The same dependency list triggers different obligations depending on this.
Follow the workflow below. In particular:
- Read the actual license text, not just metadata — LICENSE files can be wrong, package metadata can be stale.
- Classify each package into permissive / weak copyleft / strong copyleft / public domain / non-OSI / unknown.
- Flag license-unknown as "needs review," not permissive by default.
- Flag non-OSI source-available licenses (SSPL, BUSL, Commons Clause, Elastic License, fair-source) — these are not open source.
- For outbound code, check that the chosen outbound license is compatible with every embedded dependency.
Output the memo per the template below — work-product header first, bottom line, top-of-memo flags, per-package blocks grouped by severity, jurisdiction note, outbound check (if applicable), approval routing.
Respect the decision posture. When a copyleft-trigger analysis turns on a contested question (AGPL's "interacts over a network," GPL-3.0's "conveying," LGPL linking scope), flag for attorney review and surface the factors cutting both ways. Anything flagged as strong copyleft or license-unknown goes to an attorney before the dependency ships or the code is released.
Examples
/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 # repo root — scan all manifests
Works better connected
OSS clearance requests usually come in via a ticketing system. Connected to Jira, Linear, or Asana, this skill can: monitor incoming OSS requests, respond with guidance directly in the ticket (flagging incomplete info, asking for the repo link, returning the license-family classification), and track clearance status across requests.
Without a connector, paste the ticket or describe the request and I'll handle
it one at a time. See CONNECTORS.md at the repo root for how to add a
ticketing connector.
Matter context
Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗ (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /ip-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-legal/ip-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
Purpose
Tell the user what licenses are in their dependency tree, what obligations those licenses trigger given how the code will be deployed, and what to do about each one. The output is a memo the lawyer (or the engineer with attorney access) can act on — comply, replace, remove, seek legal review, seek commercial license.
This is a first-pass classification. Copyleft analysis depends on the deployment model, the degree of linking, the jurisdiction, and sometimes on legal questions that have not been tested in court (notably AGPL's "interacts over a network," GPL-3.0'
자주 묻는 질문
왜 제공 방식이 중요한가요?
같은 라이브러리라도 소프트웨어가 웹사이트인지, 다운로드 앱인지, 내부용인지에 따라 다른 의무가 생길 수 있기 때문입니다.
라이선스 자체를 읽나요?
네. 패키지 정보만이 아니라 실제 라이선스 문구를 읽습니다.
패키지에 라이선스가 없으면 어떻게 하나요?
이 스킬은 라이선스를 알 수 없는 패키지를 검토 대상으로 표시합니다.
상세 정보
작성자의 원본 설명
Open source license compliance check for a dependency list, a single library, or outbound code. Use when reviewing a manifest, SBOM, or repo for copyleft obligations and license compatibility, when asked whether a library can ship, or when preparing code to be open-sourced.
인기도
- GitHub 스타
- 9.9k
- 순위
- #12105
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
ai-inventory
9.9k에이전트가 EU AI법에 따라 시스템별 역할, 위험 등급, 분류 근거를 기록하는 AI 도구 목록을 관리하도록 돕습니다.
aia-generation
9.9k에이전트가 사용 사례별로 위험, 규제 분류, 정책 적합성, 권장 조건을 담은 AI 영향 평가서를 작성하도록 돕습니다.
cold-start-interview
9.9k에이전트가 설정 인터뷰를 진행하고 정책 문서로 실무 프로필을 만들어, AI 거버넌스 실무를 익히도록 돕습니다.
customize
9.9k에이전트가 전체 설정을 다시 하지 않고 AI 거버넌스 실무 프로필의 위험 태도, 담당자, 정책 입장 같은 일부만 바꾸도록 돕습니다.