Aller au contenu
Skillpedia
Programmation générale9.9k · #12105

oss-review

Ce qu’il fait

Cette compétence vérifie les logiciels open source au regard des règles de licence avant qu'un produit ne soit livré ou qu'un code ne soit publié. Elle s'adresse aux développeurs et au personnel juridique qui gèrent les dépendances et le code sortant.

Quand l’utiliser

  • ✓Quand vous voulez savoir si une bibliothèque peut être utilisée dans un produit livré.
  • ✓Quand une liste de dépendances ou une nomenclature logicielle doit faire l'objet d'une revue de licence.
  • ✓Quand un code va être publié en open source.

Lien du skill

https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Vérifie mes dépendances package.json pour les licences à réciprocité, car nous livrons une application de bureau.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La compétence classe chaque dépendance par famille de licence, lit le texte réel de la licence et associe les obligations à la manière dont le logiciel est livré, par exemple un site web, une application téléchargée ou un usage interne. Elle recommande ensuite une action pour chaque élément risqué, comme se conformer, remplacer ou demander une revue juridique.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

  1. Load ~/.claude/plugins/config/claude-for-legal/ip-legal/CLAUDE.md. If placeholders present, stop and prompt: "Run /ip-legal:cold-start-interview first — 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.

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

  3. Establish the deployment model before classifying obligations — SaaS, distributed binary, internal only, or embedded. The same dependency list triggers different obligations depending on this.

  4. 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.
  5. 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.

  6. 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'

Questions fréquentes

Pourquoi le mode de livraison compte-t-il ?

Une même bibliothèque peut créer des obligations différentes selon que le logiciel est un site web, une application téléchargée ou utilisé en interne.

Lit-elle la licence elle-même ?

Oui. Elle lit le texte réel de la licence, pas seulement les informations du paquet.

Et si un paquet n'a pas de licence ?

La compétence signale les paquets dont la licence est inconnue pour une revue.

Détails

Description originale de l’auteur

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.

repo: anthropics/claude-for-legal

Popularité

Étoiles GitHub
9.9k
Position au classement
#12105
Licence
Apache-2.0
Mis à jour
29/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires