Skip to content
Skillpedia
General coding9.9k Β· #12105

oss-review

What it does

This skill checks open source software for license rules before a product ships or code is published. It is for developers and legal staff who manage dependencies and outgoing code.

When to use it

  • βœ“When you want to know whether a library can be used in a product that ships.
  • βœ“When a dependency list or software bill of materials needs a license review.
  • βœ“When code is about to be released as open source.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCheck our package.json dependencies for copyleft licenses, since we ship a desktop app.”

5 new skills a week. 1 minute to read.

How it works

The skill sorts each dependency by license family, reads the actual license text, and matches the obligations to how the software is delivered, such as a website, a downloaded app, or internal use. It then recommends an action for each risky item, such as comply, replace, or seek legal review.

Technical content (original SKILL.md)

Original text by the author, straight from 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'

FAQ

Why does the delivery method matter?

The same library can create different duties depending on whether the software is a website, a downloaded app, or used internally.

Does it read the license itself?

Yes. It reads the actual license text, not only the package details.

What if a package has no license?

The skill flags packages with an unknown license for review.

Details

Original description by the author

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

Popularity

GitHub stars
9.9k
Ranking position
#12105
License
Apache-2.0
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills