Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates, examples, scripts, YAML, or TOML files.
Start a fresh conversation. Replace the highlighted placeholders.
Use yao-copyright-skill to audit whether the skill package at [path] already has Yao copyright comments in its SKILL.md, README.md, and config files
Required inputs
[path]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: yao-copyright-skilldescription: Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates, examples, scripts, YAML, or TOML files.
Yao Copyright Skill
Overview
Add copyright comment headers to a specified skill package without breaking route metadata, executable shebangs, or strict data formats.
For scripts and YAML/TOML configs, use the full scope:
python3 scripts/add_copyright_comments.py /path/to/target-skill --scope all
Verify with git diff or a targeted file read. Confirm SKILL.md frontmatter still starts at line 1.
Defaults
Project defaults to the target skill directory name.
Date defaults to 2026-05-16.
Author defaults to 姚金刚.
X defaults to https://x.com/yaojingang.
JSON, lock files, generated files, caches, build outputs, and reports/ are skipped.
Output Contract
Report which files changed, which files were skipped because they already had a notice, and any files deliberately left untouched because comments would be unsafe.
yao-copyright-skill by yaojingang · The Skill Leaderboard