oss-review
यह क्या करती है
यह स्किल उत्पाद शिप होने या कोड प्रकाशित होने से पहले open source सॉफ़्टवेयर को लाइसेंस नियमों के लिए जाँचती है। यह उन डेवलपर्स और कानूनी स्टाफ़ के लिए है जो dependencies और बाहर जाने वाले कोड का प्रबंधन करते हैं।
कब इस्तेमाल करें
- ✓जब आप जानना चाहते हैं कि कोई लाइब्रेरी शिप होने वाले उत्पाद में इस्तेमाल हो सकती है या नहीं।
- ✓जब dependency सूची या software bill of materials की लाइसेंस समीक्षा चाहिए।
- ✓जब कोड open source के रूप में जारी होने वाला है।
Skill का लिंक
https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे package.json की dependencies में copyleft लाइसेंस जाँचिए, क्योंकि हम एक desktop ऐप शिप करते हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल हर dependency को लाइसेंस परिवार के अनुसार छाँटती है, असली लाइसेंस पाठ पढ़ती है, और दायित्वों को इस बात से मिलाती है कि सॉफ़्टवेयर कैसे दिया जाता है, जैसे वेबसाइट, डाउनलोड होने वाला ऐप, या आंतरिक उपयोग। फिर हर जोखिम वाली चीज़ के लिए कार्रवाई सुझाती है, जैसे पालन करें, बदलें, या कानूनी समीक्षा लें।
तकनीकी सामग्री (मूल 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'
अक्सर पूछे जाने वाले सवाल
वितरण का तरीका क्यों मायने रखता है?
वही लाइब्रेरी इस पर निर्भर करके अलग दायित्व बना सकती है कि सॉफ़्टवेयर वेबसाइट है, डाउनलोड होने वाला ऐप है, या आंतरिक उपयोग के लिए है।
क्या यह लाइसेंस फ़ाइल खुद पढ़ती है?
हाँ। यह केवल package विवरण नहीं, असली लाइसेंस पाठ पढ़ती है।
अगर किसी package में लाइसेंस न हो तो?
स्किल अज्ञात लाइसेंस वाले packages को समीक्षा के लिए चिह्नित करती है।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 29/10/2026
कमेंट
- …
इस repository की और skills
ai-inventory
9.9kयह आपके एजेंट को EU AI Act के तहत हर सिस्टम के लिए AI टूल्स की सूची रखने में मदद करती है, हर सिस्टम की भूमिका, जोखिम स्तर और वर्गीकरण का आधार दर्ज करके।
aia-generation
9.9kयह आपके एजेंट को किसी उपयोग-मामले के लिए AI प्रभाव आकलन लिखने में मदद करती है, जिसमें जोखिम, नियामक वर्गीकरण, नीति से मेल और सुझाई गई शर्तें शामिल हैं।
cold-start-interview
9.9kयह आपके एजेंट को एक सेटअप इंटरव्यू चलाकर और आपके नीति दस्तावेज़ों से practice profile बनाकर यह समझने में मदद करती है कि आपकी AI शासन व्यवस्था कैसे काम करती है।
customize
9.9kयह आपके एजेंट को AI शासन practice profile का एक हिस्सा बदलने में मदद करती है, जैसे जोखिम रुख, संपर्क या नीति की स्थिति, पूरा सेटअप दोबारा किए बिना।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।