Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Add the project's canonical SPDX license header to source files that are missing one. Use when asked to add a license header to a file or directory, e.g. "add the license header to src/foo.ts" or "make sure every file in src/ has our license header."
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -40% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -26% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -30% | 0% |
all source files under a given directory.
SPDX-License-Identifier is already present.
header to a file that already has one.
the file -- above all existing content, including shebangs, comments, or blank lines:
// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2026 Acme Corp
skipped (already had a header).
SPDX-License-Identifier already appearsin the first 20 lines, the file is considered done -- do not touch it.
the file, above any shebang (#!), existing comment, or code. Do not place it after existing content.
Other measured skills in the registry, with their headline benchmark lift.