Agent skill

Yao Copyright Skill

by yaojingang in yaojingang/yao-open-skills

A skill your agent uses 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…

MITAuto-check passedLegal & Compliance

Install Yao Copyright Skill

skills CLI
$ npx skills add yaojingang/yao-open-skills --skill yao-copyright-skill -a claude-code

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

GitHub CLI
$ gh skill install yaojingang/yao-open-skills yao-copyright-skill --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/yaojingang/yao-open-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/yao-copyright-skill .claude/skills/yao-copyright-skill && 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
yao-copyright-skill
GitHub stars
1.3k
Token cost
~551 tokens
SKILL.md length
223 words
Files
6 (incl. scripts, references)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses 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…

  • Works in 6 steps: Identify the target skill directory. If… → Read… → Run a dry run first → …
  • Auditing Yao copyright comment headers for an agent skill package
  • SKILL.md covers Overview, When To Use, Workflow and Defaults, plus 1 more section
  • Runs Python scripts from its folder; calls python3 and git; reaches x.com

What it does

Yao Copyright Skill is an agent skill from yaojingang/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.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `README.md`, `agents/interface.yaml` and `references/copyright-comment-policy.md`).

It sits in Legal & Compliance. The repository describes itself as: OpenYao public skills collection: reusable AI assets for decision-making, business analysis, tutorials, research evidence gathering, and document generation. The licence is MIT.

When your agent uses it

  • Auditing Yao copyright comment headers for an agent skill package
  • Especially SKILL.md

Example prompts

  • “/yao-copyright-skill”

Requirements

  • Python 3

Workflow steps

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

  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
  4. Apply the core Markdown pass unless the user requested a broader scope
  5. For scripts and YAML/TOML configs, use the full scope
  6. Verify with git diff or a targeted file read. Confirm SKILL.md frontmatter still starts at line 1.

What it can do on your machine

Read from SKILL.md and the folder at commit 093996e. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • git

    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:

    • x.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

Yao Copyright Skill loads about 551 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 52 tokens; SKILL.md has 223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~551
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from yaojingang/yao-open-skills at commit 093996e, republished under its MIT licence (© yaojingang). 223 words, ~551 tokens.

Download SKILL.mdSave it as .claude/skills/yao-copyright-skill/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
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.
<!--
Copyright © 2026 姚金刚. All rights reserved.
Project: yao-copyright-skill
Created by: 姚金刚
Date: 2026-05-16
X: https://x.com/yaojingang
-->

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
  1. Apply the core Markdown pass unless the user requested a broader scope:
bash
python3 scripts/add_copyright_comments.py /path/to/target-skill
  1. For scripts and YAML/TOML configs, use the full scope:
bash
python3 scripts/add_copyright_comments.py /path/to/target-skill --scope all
  1. 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.

© yaojingang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in skills/yao-copyright-skill of yaojingang/yao-open-skills.

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

Open the folder on GitHubat commit 093996e

Compare with similar skills

Yao Copyright Skill 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.

Yao Copyright Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yao Copyright Skill this skillyaojingang/yao-open-skills1.3k—~551Automated safety check: PassMIT
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Legal Clinic Client Intakeanthropics/claude-for-legal9.6k3 repos~3.2kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1071 repos~959Automated safety check: PassNone

Similar skills

  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    464 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Legal & ComplianceAuto-check passed
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    107 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Employment Contract Templates

    ynulihao/AgentSkillOS

    Create employment contracts, offer letters, and HR policy documents following legal best practices.

    618 GitHub starsUsed in 12 repos~4.1k tokens
    Legal & ComplianceAuto-check passed

More from yaojingang/yao-open-skills

All 16 skills in this repo
  • Yao Crux Skill

    yaojingang/yao-open-skills

    A skill your agent uses when a user is stuck in a complex real-world situation with many conflicts, limited resources, unclear priorities, or asks to identify the principal contradiction, secondary…

    1.3k GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Yao Interpreter Skill

    yaojingang/yao-open-skills

    Analyze local Agent Skill folders, SKILL.md files, or safe zip archives as untrusted input; explain purpose, trigger contract, structure, usage readiness, safety risks, evidence-backed 100-point…

    1.3k GitHub stars~545 tokensUpdated 1 mo ago
    Auto-check passed
  • Yao Positioning Skill

    yaojingang/yao-open-skills

    Generate evidence-aware positioning reports for personal IPs, courses, products, services, brands, or companies by combining positioning theory, course-marketing analysis, user intent, competitor…

    1.3k GitHub stars~805 tokensUpdated 1 mo ago
    Auto-check passed
  • Yao Bayesian Skill

    yaojingang/yao-open-skills

    Convert uncertain real-world choices into an auditable Bayesian evidence-to-action report with priors, evidence grading, posterior update, action thresholds, sensitivity checks, multi-turn decision…

    1.3k GitHub stars~956 tokensUpdated 1 mo ago
    Auto-check passed
  • Yao Business Skill

    yaojingang/yao-open-skills

    Design, diagnose, and study business models from ideas, product websites, or company names.

    1.3k GitHub stars~821 tokensUpdated 1 mo ago
    Auto-check passed
  • Yao Demand Skill

    yaojingang/yao-open-skills

    Evaluate product demand from product links, product descriptions, PRDs, websites, app-store pages, white papers, sales decks, screenshots, or funding materials using the demand triangle model: lack…

    1.3k GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Yao Copyright Skill

What does Yao Copyright Skill do?

A skill your agent uses 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…. Yao Copyright Skill is an agent skill from yaojingang/yao-open-skills.md, references, prompts, templates, examples, scripts, YAML, or TOML files.

When should I use Yao Copyright Skill?

Yao Copyright Skill fits situations like: auditing Yao copyright comment headers for an agent skill package; especially SKILL.md.

How do I install Yao Copyright Skill in Claude Code?

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

How do I install Yao Copyright Skill in Codex?

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

Can I use Yao Copyright Skill 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 yaojingang/yao-open-skills --skill yao-copyright-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yao-copyright-skill, .gemini/skills/yao-copyright-skill, .github/skills/yao-copyright-skill and .opencode/skills/yao-copyright-skill in your project.

What does Yao Copyright Skill need to run?

Going by SKILL.md and its folder, Yao Copyright Skill needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and git). Our summary lists: Python 3.

Does Yao Copyright Skill access the network?

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

Is Yao Copyright Skill 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Yao Copyright Skill use?

Yao Copyright Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yao Copyright Skill use?

About 551 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 552 tokens, read only when the agent opens those files.

What are the alternatives to Yao Copyright Skill?

Skills that share tags, products or a category with Yao Copyright Skill: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), C15t (c15t/c15t, 1.9k stars), Contract Review (evolsb/claude-legal-skill, 464 stars) and Legal Clinic Client Intake (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yao Copyright Skill?

yaojingang (a GitHub user) maintains it in yaojingang/yao-open-skills, which has 1,323 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on August 28, 2026.

Source: yaojingang/yao-open-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.