which-license
Skill0 starsChanged 9 days agoMITView on GitHub
Pick a licence for his code and judge the licence of code he wants to reuse - MIT by default for maximum integration, 0BSD/Unlicense or MIT-or-public-domain for stb-style headers, Apache-2.0 only for the patent grant, GPL kept out of the tree (technique-only inspiration is fine, copying is not). Use for LICENSE, SPDX, copyright, can I copy this code, fork, dwl/GPL, MIT, Apache, pizzaware.
In this repository37 other files it gives its agents.
- skills/model-surgery/references/agents.mdAGENTS.md
- alienspaceSkill
- announce-anythingSkill
- ask-older-brotherSkill
- audit-everythingSkill
- automate-everythingSkill
- bash-everythingSkill
- claudeSkill
- cleandocsSkill
- cli-everythingSkill
- codeSkill
- conventionsSkill
- cppSkill
- day-traderSkill
- decideSkill
- distribute-everythingSkill
- economistSkill
- evolveSkill
- founderSkill
- godotSkill
- hardware-anythingSkill
- karpathySkill
- model-surgerySkill
- nonconformistSkill
- orchestratorSkill
- paying-demandSkill
- publish-anythingSkill
- reaSkill
- rulesSkill
- scrape-everythingSkill
- seedSkill
- ship-anythingSkill
- skill-everythingSkill
- teardownSkill
- uiSkill
- whiteboard-programmingSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Not legal advice; I say how sure I am and name the file to read to confirm.
- Distinctive: line 26
Avoid for his own code: GPL-2.0/3.0 and AGPL (they force every user to the same terms and block MIT/Apache mixing).
- Very specific: line 43
No licence file means all rights reserved: do not copy it, ask or write it from scratch (rea for the idea only).
- Very specific: line 53
Before a push: grep -rIL 'SPDX-License-Identifier' src finds files without a tag.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
which-license
Not legal advice; I say how sure I am and name the file to read to confirm. His wish (2026-11-15): the most integration possible, mostly MIT, GPL 2/3 avoided, Apache maybe, joke licences like pizzaware asked about.
For his own code
| Case | Licence | Why |
| Default for any repo | MIT | everyone can use it, short, compatible with nearly everything |
| stb-style single-file header (holyc) | MIT, or "MIT or public domain" (Unlicense) like stb | people paste one file; public domain removes even the notice |
| Tiny snippet, no attribution wanted | 0BSD or Unlicense | no notice duty at all |
| A bigger library where users or firms fear patents | Apache-2.0 | explicit patent grant; adds NOTICE and "changed files" duties; not compatible with GPL-2.0-only |
| Wants changes to one library shared back, but usable in closed apps | MPL-2.0 (file-level) or LGPL | only if he ever wants that; not his default |
| Joke: pizzaware, beerware | MIT with the joke in the README | joke licences are not OSI-approved and lawyers/distros may refuse them; the README carries the pizza, LICENSE stays MIT |
Avoid for his own code: GPL-2.0/3.0 and AGPL (they force every user to the same terms and block MIT/Apache mixing).
Code he wants to reuse (inbound)
- MIT, BSD, ISC, 0BSD, Zlib, Unlicense/CC0: copy freely into an MIT project; keep the copyright line and licence
text (holyc keeps them in
THIRD_PARTY/plusTHIRD_PARTY.md). - Apache-2.0: fine in an MIT/Apache project, keep NOTICE; makes the combined work effectively Apache-governed.
- His stance (2026-11-23, symbiotecpp): his goal is everything on MIT. Permissive code (MIT/BSD/Apache) may be copied, or better rewritten "similarly, not 100 % whole", with the header/NOTICE kept. Copyleft code (GPL/AGPL/LGPL, CC-NC, Polyform) is inspiration only: take the technique and the maths, write own code from that description, no copied lines, helper names or comments; note what was learned in the project's references list, not in a code header. Where a copyleft library has unique value, answer it with an own proof or measurement (Lean 4, AMPL, benchmark), not a transcription. Closed source: behaviour and docs only. Check the real LICENSE file, README badges can be wrong.
- GPL/AGPL/LGPL: do not copy or fork into an MIT tree; the whole result must then be GPL. Calling such a program as
a separate process (CLI, socket) is fine. A fork of GPL code stays GPL: that is why forking dwl (GPLv3, check its
LICENSE) blocks MIT; wlroots, sway and tinywl are MIT/permissive, so an own compositor built on wlroots can be MIT. - No licence file means all rights reserved: do not copy it, ask or write it from scratch (
reafor the idea only). - Clean-room: reimplement from the behaviour or spec, never from reading GPL source side by side.
Doing it in a repo
LICENSEat the root with the full text; copyright lineCopyright (c) YEAR Gucixdev(the handle, never a real name or e-mail,publish-anything).- One
SPDX-License-Identifier: MITline at the top of each source file (cheap, machine-readable); stb-style header: the licence block at the end like stb does. THIRD_PARTY.md: every ported or vendored piece, its source URL, author and licence.- Before a push:
grep -rIL 'SPDX-License-Identifier' srcfinds files without a tag;reuse lintif installed;audit-everythingchecks dependencies' licences. - Changing a licence later needs every contributor's consent: decide before the first outside pull request.
When unsure
Contested or irreversible (relicensing a public repo, using GPL code): one line in questions.md through decide,
safe default meanwhile = do not copy it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

