oss-review
Fungsinya
Skill ini memeriksa perangkat lunak open source untuk aturan lisensi sebelum produk dikirim atau kode dipublikasikan. Ditujukan untuk pengembang dan staf hukum yang mengelola dependensi dan kode yang dirilis.
Kapan dipakai
- βSaat Anda ingin tahu apakah sebuah pustaka boleh dipakai dalam produk yang dikirim.
- βSaat daftar dependensi atau software bill of materials perlu ditinjau lisensinya.
- βSaat kode akan dirilis sebagai open source.
Link skill
https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa dependensi package.json kami untuk lisensi copyleft, karena kami mengirim aplikasi desktop.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill mengelompokkan setiap dependensi menurut keluarga lisensinya, membaca teks lisensi yang sebenarnya, dan mencocokkan kewajibannya dengan cara perangkat lunak dikirim, misalnya lewat situs web, aplikasi unduhan, atau penggunaan internal. Setelah itu skill merekomendasikan tindakan untuk setiap item berisiko, misalnya patuhi, ganti, atau minta tinjauan hukum.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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'
Pertanyaan umum
Mengapa cara pengiriman penting?
Pustaka yang sama dapat menimbulkan kewajiban berbeda tergantung apakah perangkat lunaknya berupa situs web, aplikasi unduhan, atau dipakai internal.
Apakah ia membaca lisensi itu sendiri?
Ya. Skill membaca teks lisensi yang sebenarnya, bukan hanya detail paketnya.
Bagaimana jika sebuah paket tidak memiliki lisensi?
Skill menandai paket dengan lisensi yang tidak diketahui untuk ditinjau.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 9.9k
- Peringkat
- #12105
- Lisensi
- Apache-2.0
- Diperbarui
- 29/10/2026
Komentar
- β¦
Skill lain dari repositori ini
ai-inventory
9.9kMembantu agent Anda menyimpan inventaris alat AI per sistem di bawah EU AI Act, dengan mencatat peran, tingkat risiko, dan dasar klasifikasi setiap sistem.
aia-generation
9.9kMembantu agent Anda menulis penilaian dampak AI untuk sebuah kasus penggunaan, yang mencakup risiko, klasifikasi regulasi, kesesuaian kebijakan, dan kondisi yang direkomendasikan.
cold-start-interview
9.9kMembantu agent Anda mempelajari cara kerja praktik tata kelola AI Anda dengan menjalankan wawancara penyiapan dan membangun profil praktik dari dokumen kebijakan Anda.
customize
9.9kMembantu agent Anda mengubah satu bagian dari profil praktik tata kelola AI, seperti postur risiko, kontak, atau posisi kebijakan, tanpa penyiapan ulang secara penuh.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.