← Back to Skills Marketplace
paper-check
by
sashavegal
· GitHub ↗
· v1.0.0
· MIT-0
807
Downloads
1
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install paper-check
Description
本科/研究生毕业论文格式规范检测、自动修复与对比报告生成工具。 当用户需要检查论文格式是否符合学校规范、修复论文格式问题、生成修改对比报告时使用此 Skill。 支持任意学校的撰写规范文档(.doc/.docx/.txt/.pdf)输入,自动解析规范要求并与论文文档进行逐项对比检测。 典型触发场景:用户提到"论文...
Usage Guidance
This skill appears to do what it says: local analysis and automated edits of Word documents to match formatting rules. Before using it:
- Back up original .docx files (the fix script modifies documents).
- Install the recommended Python packages (python-docx, lxml; pywin32 only on Windows). If you need PDF parsing, verify which PDF library will be used and install it (SKILL.md does not pin a specific PDF tool).
- Run check_format.py first to review the detected issues and the generated report; review repair_records before applying fixes.
- Because scripts operate locally and no network or credentials are used, the privacy risk is limited to the documents you feed it—do not provide sensitive documents unless you accept local processing.
- If you want extra assurance, run the included _validate.py to syntax-check the scripts and inspect the scripts in a sandboxed environment before running them on important files.
Capability Analysis
Type: OpenClaw Skill
Name: paper-check
Version: 1.0.0
The skill bundle is a legitimate tool designed for checking and automatically fixing the formatting of academic papers in DOCX format. The included Python scripts (check_format.py, fix_format.py, and generate_report.py) use standard libraries like python-docx to manipulate document XML for styling, margins, and indentation. There is no evidence of malicious intent, data exfiltration, or unauthorized system access; all logic is transparently aligned with the stated purpose of thesis formatting.
Capability Assessment
Purpose & Capability
Name/description (论文格式检测/修复/报告) match the included scripts (check_format.py, fix_format.py, generate_report.py). Declared dependencies (python-docx, lxml, optional pywin32) are appropriate for manipulating Word documents. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md clearly limits operations to parsing a provided norm document and a target .docx (and mentions optional .doc/.pdf parsing). The runtime steps call local Python scripts to analyse and mutate .docx files. Note: PDF extraction is referenced but no specific PDF library is declared; the SKILL.md suggests using 'available PDF extraction tools'—user should confirm which PDF parser will be used. Also the skill will modify document files, so backups are recommended.
Install Mechanism
There is no install spec in the registry (instruction-only), which minimizes installer risk. SKILL.md recommends pip installing python-docx, lxml, and pywin32 for Windows; that is expected and proportionate. No remote downloads or obscure install URLs are used.
Credentials
The skill requests no environment variables or credentials. The required resources (Python libs) are appropriate for document manipulation. No secrets, cloud keys, or unrelated environment access are requested.
Persistence & Privilege
always is false and the skill does not request elevated/system-wide persistence. It only operates on files the user supplies and writes outputs to the configured output directory (default: same directory).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install paper-check - After installation, invoke the skill by name or use
/paper-check - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
更新日志
所有重要的更改都将记录在此文件中。
格式基于 Keep a Changelog, 并且本项目遵循 语义化版本。
[1.0.0] - 2026-03-11
首次发布
本 Skill 提供一套完整的毕业论文格式检测工作流,支持任意学校的撰写规范文档输入,自动化完成:规范解析 → 格式检测 → 问题诊断 → 自动修复 → 对比报告生成。
新增功能
核心功能
✅ 论文格式全面检测(scripts/check_format.py v2.0)
页面设置信息(页边距、页眉页脚距、纸张方向)
文档样式定义(Normal、Heading 1-4、TOC 等)
段落详细格式(样式、对齐、间距、缩进、字体)
表格格式信息(边框样式、粗细、对齐)
图片信息(尺寸、位置、上下文)
编号/列表定义
文档默认字体设置
DocumentStructure 章节定位能力
✅ 格式自动修复(scripts/fix_format.py v2.0)
页面边距(上/下/左/右/页眉距/页脚距/装订线)
段落首行缩进(固定厘米值 → 字符单位)
段落悬挂缩进
段前段后间距
对齐方式(左/中/右/两端对齐)
字体设置(中文字体 + 西文字体 + 字号)
页眉内容和格式
表格三线表边框
标题字间距(如"参 考 文 献")
✅ 对比报告生成(scripts/generate_report.py v5.0)
6列对比表格(序号 | 位置/定位 | 检查项 | 规范要求 | 修改前 | 修改后)
智能位置定位(段落号 + 章节名称 + 内容预览)
颜色区分(修改前红色、修改后绿色)
分类展示(按检查类别分组)
修改统计
人工确认事项
A4 横向布局
规范支持
✅ 支持任意学校撰写规范文档解析
.txt 文件:直接读取
.docx 文件:使用 python-docx 提取
.doc 文件(Windows):使用 pywin32 COM 接口转换
.pdf 文件:使用 PDF 提取工具
✅ 内置通用默认规范(基于 GB/T 7713.1-2006)
页面设置、封面格式、摘要格式
目录格式、正文格式、图表格式
参考文献、页眉页脚、致谢/附录
文档
✅ references/format_rules_template.md - 格式规则模板
✅ references/common_issues.md - 常见问题汇总
技术要点
python-docx 缩进处理:支持固定厘米值与字符单位转换
Normal 样式继承:正确处理样式继承问题
三线表实现:完整的表格边框设置方案
页眉字体双重设置:同时设置中英文字体
脚本设计注意事项
已在 SKILL.md 中记录以下重要经验:
函数执行顺序与依赖问题
解决 fix_special_titles 修改文本后影响 fix_references 检测的问题
推荐顺序:页面设置 → 段落格式 → 参考文献 → 特殊标题 → 页眉
标题检测的精确性
解决目录条目(如 致 谢\t43)误判问题
推荐使用清理后的文本进行精确匹配
修复记录的完整性
确保每个修复操作都添加到 repair_records
避免报告中缺少类别
依赖要求
Python 3.7+
python-docx(必需)
pywin32(仅 Windows 读取 .doc 格式时需要)
lxml
已知限制
❌ 页眉横线样式(python-docx 限制)
❌ 参考文献编号内容自动添加
❌ 目录自动更新(需在 Word 中手动操作)
❌ 图片/公式的精确位置调整
❌ 脚注格式
版本说明
主版本号(Major):不兼容的 API 修改
次版本号(Minor):向下兼容的功能性新增
修订号(Patch):向下兼容的问题修正
Metadata
Frequently Asked Questions
What is paper-check?
本科/研究生毕业论文格式规范检测、自动修复与对比报告生成工具。 当用户需要检查论文格式是否符合学校规范、修复论文格式问题、生成修改对比报告时使用此 Skill。 支持任意学校的撰写规范文档(.doc/.docx/.txt/.pdf)输入,自动解析规范要求并与论文文档进行逐项对比检测。 典型触发场景:用户提到"论文... It is an AI Agent Skill for Claude Code / OpenClaw, with 807 downloads so far.
How do I install paper-check?
Run "/install paper-check" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is paper-check free?
Yes, paper-check is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does paper-check support?
paper-check is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created paper-check?
It is built and maintained by sashavegal (@sashavegal); the current version is v1.0.0.
More Skills