Skip to content
Agentmart
Submit a tool

yao-copyright-skill

Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates…

Skill by yaojingang

IndexedMIT★ 1,324
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yaojingang-yao-copyright-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/yao-copyright-skill

What's inside

Skill name
yao-copyright-skill
Description
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.
License
MIT
Instructions
62 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • README.md
  • SKILL.md
  • interface.yaml · agents/
  • copyright-comment-policy.md · references/
  • add_copyright_comments.py · scripts/
  • test_add_copyright_comments.py · tests/

SKILL.md (first lines)

<!--
Copyright © 2026 姚金刚. All rights reserved.
Project: yao-copyright-skill
Created by: 姚金刚
Date: 2026-05-16
X: https://x.com/yaojingang
-->

# Yao Copyright Skill

## Overview

Add copyright comment headers to a specified skill package without breaking route metadata, executable shebangs, or strict data formats.

## When To Use

Use this when the user asks to:

- 给某个 Skill 增加版权注释、版权声明、作者注释
- 批量处理 `SKILL.md`、`README.md`、`references/`、`prompts/`、`templates/` 或 `examples/`
- audit whether a skill package already has Yao copyright comments
- add headers to scripts or YAML/TOML configs while skipping JSON and lock files

Do not use this for legal drafting, license selection, or visible website footer copy unless the user explicitly asks for that output.

## Workflow

1. Identify the target skill directory. If the user only names a skill, resolve its installed path before editing.
2. Read `references/copyright-comment-policy.md` for target files, skip rules, and comment styles.
3. Run a dry run first:

```bash
python3 scripts/add_copyright_comments.py /path/to/target-skill --dry-run
```

4. Apply the core Markdown pass unless the user requested a broader scope:

```bash
python3 scripts/add_copyright_comments.py /path/to/target-skill
```

5. For scripts and YAML/TOML configs, use the full scope:

```bash
python3 scripts/add_copyright_comments.py /path/to/target-skill --scope all
```

6. 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.

From yaojingang/yao-open-skills, MIT.

More from yaojingang/yao-open-skills

Signals

Stars
1,324
Forks
144
Open issues
0
Last commit (this folder)
May 26, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yaojingang

Cite this page

yao-copyright-skill. Agent Mart. https://agentmart.dev/skills/yaojingang-yao-copyright-skill (last updated 2026-10-24)