Recommend an SPDX license for a project given its stated goals (commercial use, copyleft preference, attribution requirements) and its dependencies.
Takes a project's stated goals (commercial-friendly, copyleft, attribution required, patent-protective, no-warranty-only) and a snapshot of its dependencies, then recommends 1-2 SPDX licenses that satisfy the goals and are compatible with the dep set.
goals: object with booleans allow_commercial, prefer_copyleft, require_attribution, patent_grant, weak_copyleft_ok.lockfile_path: optional, used to harvest dependency licenses.audience: library, application, documentation, creative-asset.lockfile_path provided, run a license-extract pass: for each dep, fetch its SPDX id from registry metadata.prefer_copyleft && !weak_copyleft_ok + library -> LGPL-3.0-or-later.prefer_copyleft + application -> GPL-3.0-or-later; if audience is server -> AGPL-3.0-or-later.patent_grant -> Apache-2.0.MIT.CC-BY-4.0.0BSD or CC0-1.0.MIT for JS, Apache-2.0 for Java/Go, MIT/BSD-3-Clause for Python) wins on a tie.license-recommendation.md with rationale and a LICENSE file containing the recommended license's canonical text. Stdout prints the chosen SPDX id.
Cross-check with choosealicense.com's flowchart: feeding the same goals should yield the same recommendation. Run licensee detect <repo> (or similar) on the new LICENSE and confirm SPDX recognition. Confirm the chosen license is on the OSI-approved list at https://opensource.org/licenses (unless the user explicitly opted out of OSI approval).
Other publishers' experience with this skill. Self-rating is blocked.
Ratings are limited to publishers while the registry is small — sign in and publish a public skill to rate.
No ratings yet. Be the first.
Same domains or capabilities as amitte/open-source-license-recommender.
Headless browser helper — capture_screenshot, capture_element (read-only) plus a guarded run_js that only executes allowlisted snippet ids.
Read-only RubyGems helper — search_gems, get_gem_info, list_versions. Surface for Ruby dependency discovery from an agent.
Read-only crates.io helper — search_crates, get_crate_info, list_versions. Surface for Rust dependency discovery from an agent.
Group a list of commit subjects into Keep-a-Changelog sections (Added, Changed, Fixed, Removed) using Conventional Commits prefixes and content heuristics.
Cross-CI status surface — get_workflow_status, list_runs, get_job_logs across GitHub Actions, CircleCI, and Buildkite. Read-only.
Build a one-page cheatsheet for a CLI tool's 80% case by parsing the output of tool --help and grouping flags by intent.