ai-agent-team: Skill for Claude Code

.claude/skills/softcopyright/SKILL.md

softcopyright is a skill for Claude Code from peterfei/ai-agent-team. It costs 49 tokens per session (2,256 once invoked), scanned A, original, MIT.

A tool that examines a software project and prepares documents for a Chinese software copyright application. It can create a software description, formatted source-code pages, and PDF output.

In plain words
What is it for?
Use it when preparing software copyright materials from a project directory. It can analyze the codebase, identify source files and technology, generate the software description or source-code document, and export the results as PDF.
Why use it?
It removes much of the manual work involved in selecting source code, describing the software, and formatting application materials. It helps turn an existing project into a more organized submission package.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is peterfei/ai-agent-team's own configuration. It tells Claude Code how to work on ai-agent-team itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-team configures →

Reuse

Borrowing it

Nothing to install: this file belongs to peterfei/ai-agent-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/peterfei/ai-agent-team/main/.claude/skills/softcopyright/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/peterfei/ai-agent-team

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for softcopyright

README.md
[![agentmods](https://agentmods.dev/badge/skills/peterfei/ai-agent-team/softcopyright.svg)](https://agentmods.dev/skills/peterfei/ai-agent-team/softcopyright)
Your own site
<a href="https://agentmods.dev/skills/peterfei/ai-agent-team/softcopyright"><img src="https://agentmods.dev/badge/skills/peterfei/ai-agent-team/softcopyright.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02256
Opus 5 $0.00024 $0.01128
Sonnet 5 $0.00010 $0.00451
Haiku 4.5 $0.00005 $0.00226

Measured 7d ago against content hash a082f78da4a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

softcopyright scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 38 executable files (install.sh, scripts/auto-pdf-generator.js, scripts/auto-print-pdf.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/softcopyright/SKILL.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SoftCopyright - 智能软件著作权申请材料生成工具

概述

当用户需要申请软件著作权时,此 skill 会自动完成以下流程:

  1. 读取用户输入,如果是关键词则先搜索相关内容
  2. 分析项目源码结构和内容
  3. 生成详细的软件说明书(约2000-3000字)
  4. 生成符合要求的源代码文档(60页,每页50行)
  5. 导出为PDF格式供软著申请使用

支持的触发指令

用户可以通过以下方式触发此 skill:

  • "帮我生成软著申请材料" - 处理当前目录项目
  • "生成软件说明书" - 仅生成软件说明书
  • "生成源代码文档" - 仅生成源代码文档
  • 任何关键词 - 首先搜索相关内容,然后询问是否生成软著材料

工作流程

步骤 1: 理解用户意图

首先判断用户输入的类型:

// 检查用户输入类型
if (用户输入包含 "软著" || "著作权") {
  生成类型 = "全部材料"
} else if (用户输入包含 "软件说明书") {
  生成类型 = "说明书"
} else if (用户输入包含 "源代码" || "源码") {
  生成类型 = "源代码文档"
} else if (用户输入是关键词) {
  先搜索相关内容
  询问用户是否生成软著材料
}

步骤 2: 项目路径确认

// 默认使用当前目录
let projectPath = process.cwd()

// 询问用户确认路径
await confirmProjectPath(projectPath)

步骤 3: 使用CLI生成软著材料

推荐使用CLI工具生成软著材料:

# 方式1: 使用关键词触发index.js(交互式)
cd ~/.claude/skills/softcopyright
node scripts/index.js 软著

# 方式2: 使用cli.js直接生成(推荐)
node scripts/cli.js generate --project <项目路径>

# 方式3: 使用快捷命令(最佳体验)
~/.claude/skills/softcopyright/softcopyright-generate --project . --auto-pdf

# 方式4: 技能系统自动调用
用户输入"帮我生成软著" → 自动执行: softcopyright-generate --project . --auto-pdf

该工具会:

  • 自动扫描项目源码
  • 识别源代码文件类型
  • 分析项目结构和技术栈
  • 生成HTML格式的软件说明书和源代码文档
  • 询问用户是否自动在浏览器中打开并打印为PDF

步骤 4: 生成选项

用户可以选择:

  1. 生成全部材料(软件说明书 + 源代码文档)
  2. 仅生成软件说明书
  3. 仅生成源代码文档
  4. 仅查看项目统计

步骤 5: 输出位置

默认输出路径: <项目目录>/softcopyright-output/

生成的文件:

  • 软件说明书_<项目名>_<时间戳>.html
  • 源代码文档_<项目名>_<时间戳>.html

步骤 6: 导出PDF

有两种方式将HTML转换为PDF:

方式1: 自动转换(推荐)

# 添加--auto-pdf选项
node scripts/cli.js generate --project <项目路径> --auto-pdf
  • 自动在浏览器中打开HTML
  • 3秒后自动弹出打印对话框
  • 选择"保存为PDF"即可

方式2: 手动转换

  1. 在浏览器中打开生成的HTML文件
  2. 按 Cmd+P (macOS) 或 Ctrl+P (Windows/Linux)
  3. 在打印设置中:
    • 展开"更多设置"
    • 勾选"页眉和页脚"
    • 选择"保存为PDF"
  4. 保存PDF文件

工具脚本使用说明

scanner.js - 源码扫描工具

扫描项目目录并分析结构:

node ~/.claude/skills/softcopyright/scripts/scanner.js <项目路径>

输出项目分析的JSON文件。

doc-generator.js - 软件说明书生成器

生成详细的软件说明书:

node ~/.claude/skills/softcopyright/scripts/doc-generator.js \
  --type manual \
  --input <项目分析JSON> \
  --template <模板文件> \
  --output <输出PDF路径>

Read the full file on GitHub · 312 lines

Files

What ships with it

57 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 312 lines · 49 tokens per session scan A a082f78da4a6

Subscribe to this mod's changes

softcopyright is a skill published in the GitHub repository peterfei/ai-agent-team (431 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 2,256 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.