copyright-headers

copyright-headers is a skill for Claude Code from gosha70/code-copilot-team. It costs 24 tokens per session (666 once invoked), scanned A, original, MIT.

A rule for adding copyright and licence notices to new source files when a project defines them. It reads the company and licence details from the project configuration.

In plain words
What is it for?
It is for coding agents that create Python, JavaScript, TypeScript, Go, Rust, shell, markup, configuration, and similar source files.
Why use it?
It keeps newly created code aligned with the project's legal requirements without changing existing files or file types that cannot contain comments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the code-copilot-team plugin — 24 skills shipped together

Good fit It is for coding agents that create Python, JavaScript, TypeScript, Go, Rust, shell, markup, configuration, and similar source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosha70/code-copilot-team/copyright-headers
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gosha70/code-copilot-team --skill copyright-headers
Clone the repo
git clone --depth 1 https://github.com/gosha70/code-copilot-team

Made for: Claude Code.

Or install code-copilot-team, the plugin that ships this one along with the rest of its 24 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for copyright-headers

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copyright-headers/github.svg)](https://agentmods.dev/skills/gosha70/code-copilot-team/copyright-headers)
Your own site
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/copyright-headers"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copyright-headers/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for copyright-headers

Your own site · 80×15
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/copyright-headers"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/copyright-headers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00666
Opus 5.5 $0.00010 $0.00266
Sonnet 5.5 $0.00005 $0.00133
Haiku 4.5 $0.00002 $0.00067

Measured 1mo ago against content hash d9afd67915f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

copyright-headers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

adapters/claude-code/plugin/skills/copyright-headers/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When a project's CLAUDE.md contains a ## Copyright & Licensing section, add a copyright header to every new source file you create.

Trigger

Check for a ## Copyright & Licensing section in the project CLAUDE.md (the one in the project root — not the global ~/.claude/CLAUDE.md).

If present, extract:

  • Company from the - **Company**: … line
  • License from the - **License**: … line

Which files get headers

Apply to new files with these extensions: .py, .sh, .bash, .java, .kt, .js, .ts, .tsx, .jsx, .go, .rs, .c, .cpp, .h, .css, .scss, .html, .xml, .yaml, .yml, .toml

Do not add headers to:

  • Auto-generated files (contain @generated, Code generated, or similar markers)
  • __init__.py files (conventionally empty or trivial)
  • Lock files (package-lock.json, poetry.lock, yarn.lock, etc.)
  • JSON / JSONC (no comment syntax)
  • Files you did not create — never modify existing files just to add a header

Header format

Compose the header as two lines:

  1. Copyright (c) <year> <Company> - All Rights Reserved.
  2. This software may be used and distributed according to the terms of the <License> license.

Use the current calendar year.

By file type

Python / Shell / YAML / TOML / Ruby — hash comments:

# Copyright (c) <year> <Company> - All Rights Reserved.
# This software may be used and distributed according to the terms of the <License> license.

Java / Kotlin / JavaScript / TypeScript / Go / Rust / C / C++ — line comments:

// Copyright (c) <year> <Company> - All Rights Reserved.
// This software may be used and distributed according to the terms of the <License> license.

HTML / XML — block comment:

<!-- Copyright (c) <year> <Company> - All Rights Reserved. -->
<!-- This software may be used and distributed according to the terms of the <License> license. -->

CSS / SCSS — block comment:

/* Copyright (c) <year> <Company> - All Rights Reserved. */
/* This software may be used and distributed according to the terms of the <License> license. */

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 76 lines · 24 tokens per session scan A d9afd67915f0

Subscribe to this mod's changes

copyright-headers is a skill published in the GitHub repository gosha70/code-copilot-team (7 stars, last pushed 17d ago), licensed MIT. It adds 24 tokens to every session and 666 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

agent-deck

Helper scripts live in this skill's scripts/ folder. Resolve them from the base directory shown when the skill loaded, not from the user's project.

asheshgoplani/agent-deck · 134 tokens

deck-retro

Run a fully local agent-deck retrospective over the user's own transcripts, Recall index and logs. Use when a user wants to find recurring failures or take their own finding from investigation through synthetic reproduction, a user-filed issue, a test-first fix and contributor PR handoff. Also use for weekly usage…

asheshgoplani/agent-deck · 86 tokens

lov-china-website-filing

A workflow for preparing and launching websites in mainland China, including ICP filing and public-security filing. ICP filing is the registration required for many mainland websites, while public-security filing is a separate police registration.

lovstudio/skills · 75 tokens

compliance-scan

Scans a Python AI project for EU AI Act compliance gaps using AIR Blackbox. Use when the user asks to check compliance, scan their code, audit their AI project, or mentions EU AI Act, Articles 9-15, or compliance checking.

airblackbox/airblackbox · 51 tokens

lov-filing-monitor

A recurring checker for website filing status on official Chinese government or service-provider pages. It compares the latest status with the previous check and keeps a record.

lovstudio/skills · 64 tokens

lov-icp-filing

A workflow for submitting and tracking an ICP filing, which is the registration required for many websites operating in mainland China. It follows the application through provider checks, identity and domain verification, text-message confirmation, and government approval.

lovstudio/skills · 66 tokens