← 返回 Skills 市场
ziyiyu

Code Right Skill

作者 ziyiyu · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-right-skill
功能描述
自动生成软件著作权申报全套材料(Word 文档+截图)。输入系统名称和邮箱, Code-Right 自动完成:系统功能描述撰写、模块分析、真实浏览器截图、 格式合规的申报文档生成、打包 ZIP 邮件发送。 纯 AI 搞不定的排版和截图,由工具链自动完成。
使用说明 (SKILL.md)

Code-Right — 软著材料自动生成

这是什么

Code-Right 是一个软件著作权申报材料自动生成工具。你只需输入系统名称和邮箱,它就能生成一整套符合官方格式的申报材料。

它能做什么

  • ✍️ AI 生成系统功能描述 — 根据系统名称自动撰写
  • 🧩 模块分析 — 自动拆解系统功能模块
  • 📸 真实浏览器截图 — Playwright 自动化截图,不是 AI 生成的假图
  • 📄 Word 文档输出 — 符合软著申报格式的 docx,带页眉页脚、截图嵌入
  • 📦 ZIP 打包 + 邮件发送 — 完成后自动发下载链接到邮箱

什么时候用

  • 需要申请软件著作权,不想手工整理 60 页材料
  • 有多份软著要批量申请,想自动化整个流程
  • 你的 Agent(Hermes / Claude Code / OpenClaw)接到"帮我申请软著"的任务时,调用这个 skill 一键创建任务

与纯 AI 方案的区别

纯 AI(直接问 LLM) Code-Right this skill
文档格式合规 ❌ LLM 生成的 Word 格式不可控 ✅ docxtpl 模板引擎,精确控制
截图 ❌ 无法生成真实截图 ✅ Playwright 真实浏览器截图
多轮生成 ❌ 上下文窗口限制 ✅ 异步任务,后台跑完通知
材料完整性 ❌ 容易遗漏章节 ✅ 固定工作流,每步校验
批量处理 ❌ 一次只能做一份 ✅ 可并行创建多个任务

使用方式

从 Hermes 直接调用

# 安装 skill
hermes skills install code-right

# 然后在会话中使用(Hermes 会自动加载)
# 只需说:帮我的 "智慧仓储管理系统" 生成软著材料,发到 [email protected]

通过 Python 脚本

python scripts/create_task.py \
  --system-name "智慧仓储管理系统" \
  --notify-email "[email protected]"

参数说明

参数 必填 说明
--system-name 软件系统名称(如 "智慧仓储管理系统")
--notify-email 接收材料下载链接的邮箱
--access-token 会话 token,用于任务列表过滤和下载鉴权

输出示例

成功时返回:

{"taskId": 42, "status": "pending"}

之后系统会自动处理,完成后发送邮件到指定邮箱,内含下载链接。

工作流程

用户输入系统名称
    ↓
AI 生成系统概览(功能描述、技术架构)
    ↓
AI 分析系统模块(逐模块生成详情)
    ↓
Playwright 真实浏览器截图(登录页 × 功能页)
    ↓
docxtpl 渲染 Word 文档(含截图嵌入)
    ↓
ZIP 打包 → 邮件发送下载链接

技术栈

  • 后端: Python Flask + LangChain + LangGraph
  • AI: 通义千问 / DeepSeek
  • 截图: Playwright
  • 文档: python-docx + docxtpl
  • 数据库: MySQL
  • 部署: Docker

注意事项

  • 首次提交请确保 softcraft.cloud 可访问
  • 材料生成需要 3-5 分钟,完成后邮件通知
  • 支持同时创建多个任务,后台并行处理
安全使用建议
This skill looks safe for its stated purpose, but it depends on an external service. Before installing or using it, make sure you trust softcraft.cloud with the project name, recipient email, and any optional access token, and confirm the email address before asking the agent to create a task.
功能分析
Type: OpenClaw Skill Name: code-right-skill Version: 0.1.0 The skill is a legitimate API wrapper for the 'softcraft.cloud' service, intended to automate the generation of software copyright application materials. The script 'scripts/create_task.py' simply forwards user-provided input (system name and email) to a remote endpoint via a POST request, which aligns with the functionality described in 'SKILL.md'. No evidence of unauthorized data exfiltration, malicious code execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The stated purpose is to generate software copyright application materials through a remote service, and the included script matches that by creating a task with a system name and notification email.
Instruction Scope
The instructions are scoped to creating a document-generation task, but that task can trigger an email with a download link, so the user or agent should confirm the recipient address before invoking it.
Install Mechanism
There is no install spec or package dependency installation; the included Python script uses standard library HTTP functionality and does not show dynamic code execution or shell execution.
Credentials
The external network call to softcraft.cloud is expected for this remote-service workflow, but it does transmit user-provided project and contact information outside the local environment.
Persistence & Privilege
There is no local persistence or elevated local privilege, but the service creates an asynchronous remote task that continues processing after submission and later sends an email notification.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-right-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-right-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of Code-Right — automated software copyright materials generation. - Generates complete, officially formatted application materials for software copyright registration from system name and email. - Automatically creates function descriptions, module analysis, and real browser screenshots (not AI-generated). - Outputs compliant Word (docx) documents with embedded screenshots. - Packages results as ZIP and delivers via email with download link. - Workflow combines AI for content, Playwright for screenshots, and template engines for document generation; supports batch processing.
元数据
Slug code-right-skill
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Code Right Skill 是什么?

自动生成软件著作权申报全套材料(Word 文档+截图)。输入系统名称和邮箱, Code-Right 自动完成:系统功能描述撰写、模块分析、真实浏览器截图、 格式合规的申报文档生成、打包 ZIP 邮件发送。 纯 AI 搞不定的排版和截图,由工具链自动完成。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 Code Right Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-right-skill」即可一键安装,无需额外配置。

Code Right Skill 是免费的吗?

是的,Code Right Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Code Right Skill 支持哪些平台?

Code Right Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Right Skill?

由 ziyiyu(@ziyiyu)开发并维护,当前版本 v0.1.0。

💬 留言讨论