Pular para o conteúdo
Skillpedia
Código em geral9,9 mil · #12105

oss-review

O que ela faz

Esta skill verifica software de código aberto quanto às regras de licença antes de um produto ser lançado ou de um código ser publicado. É para desenvolvedores e equipes jurídicas que gerenciam dependências e código de saída.

Quando usar

  • ✓Quando você quer saber se uma biblioteca pode ser usada em um produto que será distribuído.
  • ✓Quando uma lista de dependências ou uma lista de materiais de software precisa de revisão de licenças.
  • ✓Quando um código está prestes a ser publicado como código aberto.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/anthropics/claude-for-legal/blob/main/ip-legal/skills/oss-review/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Verifique as dependências do nosso package.json quanto a licenças copyleft, já que distribuímos um app de desktop.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill classifica cada dependência por família de licença, lê o texto real da licença e relaciona as obrigações à forma como o software é entregue, como um site, um app baixado ou uso interno. Depois recomenda uma ação para cada item arriscado, como cumprir, substituir ou buscar revisão jurídica.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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'

Perguntas frequentes

Por que o método de entrega importa?

A mesma biblioteca pode gerar obrigações diferentes dependendo de o software ser um site, um app baixado ou usado internamente.

Ela lê a própria licença?

Sim. Ela lê o texto real da licença, não apenas os dados do pacote.

E se um pacote não tiver licença?

A skill marca pacotes com licença desconhecida para revisão.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
9,9 mil
Posição no ranking
#12105
Licença
Apache-2.0
Atualizada em
29/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas