Agent skill

Adding Copyright Headers

by flutter in flutter/devtools

Adds copyright headers to files based on file type. An agent skill from flutter/devtools.

BSD-3-ClauseAuto-check passedDevelopment

Install Adding Copyright Headers

skills CLI
$ npx skills add flutter/devtools --skill adding-copyright-headers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install flutter/devtools adding-copyright-headers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/flutter/devtools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/adding-copyright-headers .claude/skills/adding-copyright-headers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adding-copyright-headers
GitHub stars
1.7k
Token cost
~640 tokens
SKILL.md length
154 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Adds copyright headers to files based on file type. An agent skill from flutter/devtools.

  • Works in 5 steps: New Files: When creating a new file, you… → Placement → Exclusions: Copyright headers are not… → …
  • Creating new files
  • SKILL.md covers Formats, Instructions and Examples (for 2026)
  • Reaches developers.google.com

What it does

Adding Copyright Headers is an agent skill from flutter/devtools. Adds copyright headers to files based on file type. Use when creating new files or when asked to verify copyright headers.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Shell scripting. The repository describes itself as: Developer tools for Flutter & Dart. The licence is BSD-3-Clause.

When your agent uses it

  • Creating new files
  • Asked to verify copyright headers

Example prompts

  • “/adding-copyright-headers”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. New Files: When creating a new file, you MUST add the appropriate copyright header based on its file extension.
  2. Placement
  3. Exclusions: Copyright headers are not necessary in directories that begin with a dot (.), such as
  4. Existing Files: When editing an existing file, do NOT modify the year in the copyright header. Leave it as it is.
  5. Subsequent Edits: Subsequent edits should not modify the year.

What it can do on your machine

Read from SKILL.md and the folder at commit 3a3b64a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are dart, bash, yaml and html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • developers.google.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adding Copyright Headers loads about 640 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 154 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~640

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from flutter/devtools at commit 3a3b64a, republished under its BSD-3-Clause licence (© flutter). 154 words, ~640 tokens.

Download SKILL.mdSave it as .claude/skills/adding-copyright-headers/SKILL.md (or your agent's skills folder).
name
adding-copyright-headers
description
Adds copyright headers to files based on file type. Use when creating new files or when asked to verify copyright headers.

Formats

Dart Files (.dart)
dart
// Copyright 20?? The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
YAML Files (.yaml)
yaml
# Copyright 20?? The Flutter Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
HTML Files (.html) and Markdown Files (.md)
html
<!--
Copyright 20?? The Flutter Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
-->
Shell Scripts (.sh)
bash
# Copyright 20?? The Flutter Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.

Instructions

  1. New Files: When creating a new file, you MUST add the appropriate copyright header based on its file extension.
    • Replace 20?? with the current year (e.g., 2026).
  2. Placement:
    • The copyright header should be at the very top of the file by default.
    • Exception: If the file requires a shebang (e.g., #!/bin/bash in .sh files) or other necessary frontmatter, the copyright header must come after the frontmatter, separated by a blank line.
  3. Exclusions: Copyright headers are not necessary in directories that begin with a dot (.), such as:
    • .agents/
    • .gemini/
    • .github/
  4. Existing Files: When editing an existing file, do NOT modify the year in the copyright header. Leave it as it is.
  5. Subsequent Edits: Subsequent edits should not modify the year.

Examples (for 2026)

Shell Script with Shebang
bash
#!/bin/bash

# Copyright 2026 The Flutter Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
Dart File
dart
// Copyright 2026 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.

© flutter, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/adding-copyright-headers of flutter/devtools.

Open the folder on GitHubat commit 3a3b64a

Compare with similar skills

Adding Copyright Headers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adding Copyright Headers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adding Copyright Headers this skillflutter/devtools1.7k—~640Automated safety check: PassBSD-3-Clause
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
CLI DeveloperJeffallan/claude-skills12k2 repos~1.2kAutomated safety check: PassMIT
JSON Processing with jqcharmbracelet/crush29k—~746Automated safety check: PassCustom licence
Crush Shell Builtinscharmbracelet/crush29k—~790Automated safety check: PassCustom licence
Shellm Architecture Referencelaude-institute/headlong1.2k—~2kAutomated safety check: NotesApache-2.0

Similar skills

  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • CLI Developer

    Jeffallan/claude-skills

    Walks through designing, building and polishing a command-line tool: user workflow and command hierarchy, implementation in commander, click, typer or cobra, completions and cross-platform testing.

    12k GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • JSON Processing with jq

    charmbracelet/crush

    Explains the jq command built into Crush for querying, filtering and reshaping JSON, including its supported flags and where it differs from standard jq.

    29k GitHub stars~746 tokensUpdated today
    DevelopmentAuto-check passed
  • Crush Shell Builtins

    charmbracelet/crush

    Explains how to add a new in-process builtin command to Crush's embedded POSIX shell, so it is intercepted before reaching the OS, with context polling and exit-status rules.

    29k GitHub stars~790 tokensUpdated today
    DevelopmentAuto-check passed
  • Shellm Architecture Reference

    laude-institute/headlong

    Explains how shellm's bash-based recursive LLM shell fits together - its core engine, identity system, memory, skills and trajectory log.

    1.2k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Bash Scripting

    promovaweb/setupvibe

    Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

    101 GitHub starsUsed in 5 repos~1.2k tokens
    DevelopmentAuto-check passed

More from flutter/devtools

All 10 skills in this repo
  • Adding Release Notes

    flutter/devtools

    Adds user-facing change descriptions to DevTools release notes.

    1.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Guidelines and step-by-step workflow for debugging DevTools extensions locally, including stub mode, fixed-port launching, browser auto-opening, URL query parameters, target app connection, and…

    1.7k GitHub stars~839 tokensUpdated today
    Auto-check passed
  • Reviewing PRs

    flutter/devtools

    General workflow for fetching, inspecting, reviewing GitHub Pull Requests using the gh CLI, drafting user-aligned review comments, and securing approval before posting.

    1.7k GitHub stars~570 tokensUpdated today
    Auto-check passed
  • Closing Obsolete Issues

    flutter/devtools

    Find and close obsolete, stale, or not reproducible issues in the flutter/devtools repository.

    1.7k GitHub stars~949 tokensUpdated today
    Auto-check passed
  • Reviewing Devtools PRs

    flutter/devtools

    DevTools repository-specific PR review workflow enforcing DevTools style guidelines and common review patterns.

    1.7k GitHub stars~638 tokensUpdated today
    Auto-check passed
  • Adding Changelog Entries

    flutter/devtools

    A skill your agent uses when documenting changes in CHANGELOG.md files for devtoolsshared, devtoolsappshared, or devtoolsextensions.

    1.7k GitHub stars~482 tokensUpdated today
    Auto-check passed

Categories

Questions about Adding Copyright Headers

What does Adding Copyright Headers do?

Adds copyright headers to files based on file type. An agent skill from flutter/devtools. Adding Copyright Headers is an agent skill from flutter/devtools. Adds copyright headers to files based on file type.

When should I use Adding Copyright Headers?

Adding Copyright Headers fits situations like: creating new files; asked to verify copyright headers.

How do I install Adding Copyright Headers in Claude Code?

Run `npx skills add flutter/devtools --skill adding-copyright-headers -a claude-code`. Or copy the skill folder (.agents/skills/adding-copyright-headers in flutter/devtools) into .claude/skills/adding-copyright-headers in your project. Claude Code loads it when a task matches its description.

How do I install Adding Copyright Headers in Codex?

Run `npx skills add flutter/devtools --skill adding-copyright-headers -a codex`. Or copy the skill folder (.agents/skills/adding-copyright-headers in flutter/devtools) into .agents/skills/adding-copyright-headers in your project. Codex loads it when a task matches its description.

Can I use Adding Copyright Headers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flutter/devtools --skill adding-copyright-headers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adding-copyright-headers, .gemini/skills/adding-copyright-headers, .github/skills/adding-copyright-headers and .opencode/skills/adding-copyright-headers in your project.

What does Adding Copyright Headers need to run?

SKILL.md names no scripts, command-line tools or credentials: Adding Copyright Headers is instructions for the agent only.

Does Adding Copyright Headers access the network?

SKILL.md names 1 domain. In commands or code: developers.google.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Adding Copyright Headers safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Adding Copyright Headers use?

Adding Copyright Headers is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Adding Copyright Headers use?

About 640 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adding Copyright Headers?

Skills that share tags, products or a category with Adding Copyright Headers: Mole Bug Patterns (tw93/Mole, 70k stars), CLI Developer (Jeffallan/claude-skills, 12k stars), JSON Processing with jq (charmbracelet/crush, 29k stars) and Crush Shell Builtins (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adding Copyright Headers?

flutter (a GitHub organization) maintains it in flutter/devtools, which has 1,732 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: flutter/devtools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.