# Detect repository licenses before dependency approval or open-source due diligence

> Use Licensee when an agent needs to inspect a repository and determine what license text it actually matches before a dependency is approved or a codebase is redistributed. The skill is about evidence-backed license detection, not legal advice or broader compliance automation.

- Skill: `agentskillexchange/detect-repository-licenses-before-dependency-approval-or-ope` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/detect-repository-licenses-before-dependency-approval-or-ope`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/detect-repository-licenses-before-dependency-approval-or-ope/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/detect-repository-licenses-before-dependency-approval-or-ope

---


# Detect repository licenses before dependency approval or open-source due diligence

Use Licensee when an agent needs to inspect a repository and determine what license text it actually matches before a dependency is approved or a codebase is redistributed. The skill is about evidence-backed license detection, not legal advice or broader compliance automation.

## Prerequisites

Ruby and RubyGems, or Docker for containerized runs

## Installation

Basic usage or getting-started notes:
- ### Command line usage
- Licensee has an extensive command line interface. See [the command line documentation](command-line-usage.md) for more information.
- client using environment variables, for example:

- Source: https://github.com/licensee/licensee
- Extracted from upstream docs: https://raw.githubusercontent.com/licensee/licensee/HEAD/docs/usage.md

## Documentation

- https://licensee.github.io/licensee/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/detect-repository-licenses-before-dependency-approval-or-open-source-due-diligence/)

