← Back to Skills Marketplace
ziyiyu

Code Right Skill

by ziyiyu · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
67
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install code-right-skill
Description
自动生成软件著作权申报全套材料(Word 文档+截图)。输入系统名称和邮箱, Code-Right 自动完成:系统功能描述撰写、模块分析、真实浏览器截图、 格式合规的申报文档生成、打包 ZIP 邮件发送。 纯 AI 搞不定的排版和截图,由工具链自动完成。
README (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 分钟,完成后邮件通知
  • 支持同时创建多个任务,后台并行处理
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install code-right-skill
  3. After installation, invoke the skill by name or use /code-right-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug code-right-skill
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Code Right Skill?

自动生成软件著作权申报全套材料(Word 文档+截图)。输入系统名称和邮箱, Code-Right 自动完成:系统功能描述撰写、模块分析、真实浏览器截图、 格式合规的申报文档生成、打包 ZIP 邮件发送。 纯 AI 搞不定的排版和截图,由工具链自动完成。 It is an AI Agent Skill for Claude Code / OpenClaw, with 67 downloads so far.

How do I install Code Right Skill?

Run "/install code-right-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Code Right Skill free?

Yes, Code Right Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Code Right Skill support?

Code Right Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Code Right Skill?

It is built and maintained by ziyiyu (@ziyiyu); the current version is v0.1.0.

💬 Comments