/ip-legal-uk:oss-review [file path to manifest / SBOM | package name | repo path | paste text]from IP Legal UK
Runs an open source licence compliance check on manifests, SBOMs, single libraries, or outbound code, flagging copyleft obligations and licence-incompatibility risks.
Ships in IP Legal UK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Runs an open source licence compliance check against the practice profile in ~/.claude/plugins/config/uk-legal-plugins/ip-legal-uk/CLAUDE.md. Classifies dependencies by licence family, maps obligations to the deployment model, flags licence-unknown and non-OSI-posing-as-OSS packages, and recommends actions — comply, replace, remove, seek legal review, seek commercial licence.
Load ~/.claude/plugins/config/uk-legal-plugins/ip-legal-uk/CLAUDE.md. If placeholders present, stop and prompt: "Run /ip-legal-uk: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 licences 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.
Establish the deployment model before classifying obligations — SaaS, distributed binary, internal only, or embedded.
Follow the workflow below. In particular:
Output the memo per the template below.
Respect the decision posture. When a copyleft-trigger analysis turns on a contested question, flag for attorney review. Anything classified as strong copyleft or licence-unknown goes to a solicitor/attorney before the dependency ships or the code is released.
/ip-legal-uk:oss-review ~/code/my-project/package.json
/ip-legal-uk:oss-review ~/code/my-project/requirements.txt
/ip-legal-uk:oss-review redis
/ip-legal-uk:oss-review ~/code/my-project
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, 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.
Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is
✗ (the default for in-house users), skip — skills use practice-level context.
If enabled and there is no active matter, ask: "Which matter is this for? Run
/ip-legal-uk:matter-workspace switch <slug> or say practice-level."
Tell the user what licences are in their dependency tree, what obligations those licences trigger given how the code will be deployed, and what to do about each one.
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. For anything that classifies as strong copyleft or licence-unknown, a solicitor or attorney evaluates before the dependency ships or the code is released.
Before scanning dependencies, read ~/.claude/plugins/config/uk-legal-plugins/ip-legal-uk/CLAUDE.md. If missing or with placeholders, stop and run /ip-legal-uk:cold-start-interview. The practice profile tells you:
If the practice profile has an OSS policy uploaded, read that too.
What are we reviewing?
- A dependency list
- A single library
- Our own code — we're planning to open-source this
How will this be deployed?
- SaaS / hosted service — users access over a network
- Distributed binary — we ship compiled code to users
- Internal only — used only inside the company
- Embedded / firmware — shipped in hardware
| Deployment | Licences that materially matter |
|---|---|
| SaaS | AGPL (network-trigger), permissive attribution in any UI, SSPL/BUSL/Elastic if repurposing as competing service |
| Distributed binary | GPL, LGPL, MPL, EPL (all trigger on distribution), permissive attribution |
| Internal only | Most copyleft does not trigger — no distribution. AGPL still triggers if external users interact over network. |
| Embedded / firmware | GPL is especially hard to comply with here (source disclosure + reproducible build + installation information). |
Jurisdiction note for UK OSS enforcement. UK copyright law (CDPA 1988) governs OSS licence enforcement in the UK. The GPL and AGPL are copyright licences — an open source licence is only as enforceable as the underlying copyright law permits. UK courts have generally been willing to treat OSS licence conditions as contractual or copyright conditions. Post-Brexit, EU jurisprudence on OSS licences (e.g., German case law on GPL enforcement) is persuasive but not binding. Where a licence has been interpreted differently in UK vs. EU court practice, flag for solicitor review.
EUPL (European Union Public Licence). The EUPL is an EU-issued licence, version 1.2. It is compatible with several other licences (see the compatibility matrix in Annex I of EUPL 1.2). Post-Brexit, UK organisations using EUPL-licensed code should note: the EUPL refers to EU law concepts (e.g., database rights under the EU Database Directive). UK database rights (governed by the Copyright and Rights in Databases Regulations 1997, retained law post-Brexit) remain, but future divergence is possible. Flag EUPL for solicitor review when it is a material dependency.
For every package, determine the licence. Read the actual licence text, not just the metadata.
Classify into:
| Bucket | Examples | Key obligations |
|---|---|---|
| Permissive | MIT, BSD-2-Clause, BSD-3-Clause, Apache-2.0, ISC, Zlib, Unlicense | Attribution, preserve licence text, Apache-2.0 adds patent grant + NOTICE requirement |
| Weak copyleft | LGPL-2.1, LGPL-3.0, MPL-2.0, EPL-1.0, EPL-2.0, CDDL | File-level or library-level source disclosure; linking rules vary |
| Strong copyleft | GPL-2.0, GPL-3.0, AGPL-3.0, OSL, EUPL (depending on version and use) | Broad source disclosure; AGPL extends to network use |
| Public domain / dedication | CC0, Unlicense, WTFPL | Typically no obligations, but dedication to public domain may not be universally effective in jurisdictions that don't recognise it (e.g., EU moral rights cannot be fully waived in some member states — UK moral rights for certain works can be waived under CDPA s.87 but not extinguished) |
| Non-OSI source-available | SSPL, BUSL, Commons Clause, Elastic Licence, Confluent Community, fair-source family | Not open source — restrict commercial use, competing-service use, or both |
| Other / custom / unknown | Vendor-specific, proprietary, missing licence file, licence conflict | Stop — do not treat as permissive by default |
Flag:
For each classified dependency:
### [package@version] — [Licence]
**Classification:** [Permissive / Weak copyleft / Strong copyleft / Public domain / Non-OSI / Unknown]
**Obligations for our deployment ([SaaS / binary / internal / embedded]):**
- [ ] [Specific obligation]
- [ ] [e.g., "Include attribution in a NOTICES file shipped with the app"]
- [ ] [e.g., "AGPL network trigger — if users access our modified version over a network, source must be offered to them"]
**Risk:** 🔴 Critical | 🟠 High | 🟡 Medium | 🟢 Low
**Recommendation:** [Comply / Replace with [alternative] / Remove / Solicitor review before shipping / Seek commercial licence from [vendor]]
How is the copyleft dependency consumed? The linking relationship determines whether copyleft actually triggers. Ask or determine:
- Static linking / compilation together: Strong signal that copyleft triggers.
- Dynamic linking / shared library: LGPL explicitly permits this ("work that uses the Library"). GPL's position is contested.
- Subprocess / IPC: Separate processes over well-defined interfaces. Generally not derivative.
- Network API call: For most licences, no. For AGPL, the network-interaction clause means serving the software over a network IS distribution.
- File-scope copyleft (MPL): Only modified files carry copyleft.
The severity rating depends on this. Static-linked LGPL in a proprietary product is 🔴 Critical. Dynamic-linked LGPL is 🟢 Low. Same licence, opposite rating.
Severity calibration:
| Level | Means |
|---|---|
| 🔴 Critical | Strong copyleft in a deployment that triggers it (GPL in a distributed binary, AGPL in SaaS). Non-OSI licence that conflicts with business model. Licence cannot be determined and package is load-bearing. |
| 🟠 High | Weak copyleft with obligations the team hasn't set up for. Dual-licensed with ambiguous choice. Licence file says one thing, headers say another. |
| 🟡 Medium | Permissive with attribution requirements not yet wired into build. Transitive copyleft in a position that may or may not trigger. |
| 🟢 Low | Permissive with obligations already satisfied. Copyleft in a deployment model that doesn't trigger it. |
Call out any of the following in a top-of-memo section:
If the user is preparing to open-source code:
Prepend the work-product header from ~/.claude/plugins/config/uk-legal-plugins/ip-legal-uk/CLAUDE.md → ## Outputs.
No silent supplement. If a research query returns few or no results for a rule the memo needs, report what was found and stop. Don't fill the gap from web search or model knowledge without asking.
Source attribution. Tag citations:
[OSI],[SPDX],[FSF],[SFC/SFLC],[uk-legal MCP],[web search — verify],[model knowledge — verify],[user provided].
[WORK-PRODUCT HEADER — per plugin config ## Outputs]
# OSS Review: [Project / Dependency List / Package]
**Reviewed:** [date]
**Scope:** [Dependency list / Single library / Outbound code]
**Deployment model:** [SaaS / Binary / Internal / Embedded]
---
## Bottom line
[Two sentences. Can this ship? What has to happen first?]
**Packages reviewed:** [N]
**By classification:** [N permissive, N weak copyleft, N strong copyleft, N public domain, N non-OSI, N unknown]
**Issues:** [N]🔴 [N]🟠 [N]🟡 [N]🟢
**Approval needed from:** [name, per practice profile]
---
## Top-of-memo flags
[Licence-unknown list, licence-conflict list, non-OSI-posing-as-OSS list,
incompatible combinations, EUPL / post-Brexit notes]
---
## By package
[Blocks from Step 4, grouped by severity]
---
## Jurisdiction note
OSS licence enforceability in the UK is governed by CDPA 1988. Post-Brexit,
EU case law on OSS licence enforcement (notably German courts' rigorous GPL
enforcement) is persuasive but not binding. The AGPL network trigger has not
been broadly tested in UK courts. EUPL contains EU-law references that may
interact differently with retained UK law. Flag any licence where UK and EU
enforcement practice may differ materially, and route to a solicitor for
affected dependencies.
---
## Outbound check (if applicable)
[From Step 6]
---
## Approval routing
[From practice profile — who approves, what triggers automatic escalation]
When a licence cannot be confidently classified, flag it as "needs review" — do not call it permissive. Under-classifying is a one-way door.
verify tagsEnd with the next-steps decision tree per CLAUDE.md ## Outputs.
If the scan surfaced more than ~10 packages, offer the dashboard (see CLAUDE.md ## Outputs → Dashboard offer for data-heavy outputs).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
open-source, licence-compliance, sbom, dependency-review, legal
12 skills in this plugin
/cease-desistDraft a cease-and-desist letter (send mode) or triage one you received (receive mode). Use when asserting your rights against an infringer with a demand letter calibrated to your enforcement posture, or when an incoming C&D needs triage into a structured options memo with a recommendation.
/clearanceTrade mark clearance first pass — knockout + similar-marks check producing a flag list, not a clearance opinion. Use when a new mark is proposed, when asked whether a mark is available or to run a knockout search, or when assessing likelihood-of-confusion factors before a full professional search. This skill never concludes a mark is clear.
/cold-start-interviewRun the cold-start interview to learn your UK IP practice and write your practice profile. Use on first install when the practice profile is missing or still contains placeholders, when re-onboarding with --redo, or when re-probing integrations with --check-integrations after connecting or disconnecting an MCP. This is the ONLY skill that should run on a fresh install.
/customizeGuided customization of your UK IP practice profile — change one thing without re-running the whole cold-start interview. Adjust risk posture, escalation contacts, portfolio scope, brand protection strategy, enforcement posture, clearance thresholds, OSS review rules, or matter workspace paths. Use when the user says "change my [thing]", "update my profile", "edit my config", or "customize".
/fto-triageFreedom-to-operate triage — a structured first look at potentially blocking patents, not an FTO opinion. Use when a product, process, or feature is being evaluated for blocking patents, when asked whether anything stops a launch, or to build a claim-chart first pass against the most plausible patents before patent counsel review. This skill never concludes a product is clear to launch.
/infringement-triageInfringement triage across trade mark, copyright, patent, and trade secret — a flag list with the factors cutting each way, not a finding. Use when assessing whether someone is infringing your IP or whether you might be infringing theirs, when a knockoff or copycat surfaces, or when deciding whether a matter is worth pursuing and how.
npx claudepluginhub uk-agents/uk-legal-plugins --plugin ip-legal-ukOther plugins' skills for the same job