Add copyright
Reusable slash-command skills for Claude Code — document generation, changelogs, post-mortems, copyright headers, and more
npx -y skills add searayca/claude-skills --skill add_copyrightAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Add copyright headers and footers to source files in a project using ~/.claude/tools/add_copyright_headers.py
SKILL.md
1.3 KB, as published. Nobody here has run it
Add Copyright Headers
Add copyright headers and footers to source files in a project.
Instructions
-
Run the script at
~/.claude/tools/add_copyright_headers.py -
Pass
--project-dirto specify the project directory (defaults to current directory) -
The script reads
project_config.jsonfrom the project root for project name -
Supports: Python (.py), SQL (.sql), CSS (.css), JavaScript (.js), HTML (.html)
Common Usage
# Preview changes (dry run)
python ~/.claude/tools/add_copyright_headers.py --project-dir /path/to/project --dry-run
# Check which files need headers
python ~/.claude/tools/add_copyright_headers.py --project-dir /path/to/project --check
# Apply headers to all files
python ~/.claude/tools/add_copyright_headers.py --project-dir /path/to/project
# Only process Python files
python ~/.claude/tools/add_copyright_headers.py --project-dir /path/to/project --type py
Options
--dry-run- Preview changes without modifying files--check- Only check which files need headers--type- Only process specific file type (py, sql, css, js, html)--include-init- Include init.py files--no-footer- Skip adding footer