Tooluck logoTooluck
SKILL.md

yao-copyright-skill

Agent skill fromyaojingang/yao-open-skills

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.

How to install yao-copyright-skill

install yao-copyright-skill
# install the yao-open-skills pack with the skills CLI
npx skills add yaojingang/yao-open-skills

# or add only this skill to Claude Code: copy the folder

skills/yao-copyright-skill/

# into

~/.claude/skills/yao-copyright-skill/ (all projects)

.claude/skills/yao-copyright-skill/ (one project)

skills/yao-copyright-skill/SKILL.md

MITFull file
1<!--
2Copyright © 2026 姚金刚. All rights reserved.
3Project: yao-copyright-skill
4Created by: 姚金刚
5Date: 2026-05-16
6X: https://x.com/yaojingang
7-->
8
9# Yao Copyright Skill
10
11## Overview
12
13Add copyright comment headers to a specified skill package without breaking route metadata, executable shebangs, or strict data formats.
14
15## When To Use
16
17Use this when the user asks to:
18
19- 给某个 Skill 增加版权注释、版权声明、作者注释
20- 批量处理 `SKILL.md`、`README.md`、`references/`、`prompts/`、`templates/` 或 `examples/`
21- audit whether a skill package already has Yao copyright comments
22- add headers to scripts or YAML/TOML configs while skipping JSON and lock files
23
24Do not use this for legal drafting, license selection, or visible website footer copy unless the user explicitly asks for that output.
25
26## Workflow
27
281. Identify the target skill directory. If the user only names a skill, resolve its installed path before editing.
292. Read `references/copyright-comment-policy.md` for target files, skip rules, and comment styles.
303. Run a dry run first:
31
32```bash
33python3 scripts/add_copyright_comments.py /path/to/target-skill --dry-run
34```
35
364. Apply the core Markdown pass unless the user requested a broader scope:
37
38```bash
39python3 scripts/add_copyright_comments.py /path/to/target-skill
40```
41
425. For scripts and YAML/TOML configs, use the full scope:
43
44```bash
45python3 scripts/add_copyright_comments.py /path/to/target-skill --scope all
46```
47…

Excerpt shown under the repository's MIT license.

More skills in yao-open-skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates