document-diff
Skill1 starsChanged 2 months agoMITView on GitHub
Compare two versions of a document and identify additions, deletions, numeric changes, and semantic clause changes. Use when the user asks for document diff or an equivalent workflow.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- SoMarkAI/skillstheir own version, first seen Apr 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- SoMarkAI/skills★ 17same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository99 other files it gives its agents.
- api-generatorSkill
- article-to-videoSkill
- auto-bgmSkill
- background-removerSkill
- backup-managerSkill
- book-knowledge-mapSkill
- brand-kit-generatorSkill
- budget-analyzerSkill
- calendar-coordinatorSkill
- chat-to-todoSkill
- cheatsheet-generatorSkill
- code-refactorSkill
- competitor-monitorSkill
- conditional-reminderSkill
- contract-signing-workflowSkill
- conversation-action-itemsSkill
- course-builderSkill
- cron-builderSkill
- data-anomaly-monitorSkill
- data-cleanerSkill
- debug-agentSkill
- decision-matrixSkill
- docker-generatorSkill
- document-translatorSkill
- earnings-analyzerSkill
- employee-onboardingSkill
- expense-parserSkill
- figma-to-frontendSkill
- flashcard-generatorSkill
- font-pairingSkill
- framework-migrationSkill
- gift-recommenderSkill
- git-deploySkill
- habit-plannerSkill
- image-upscaleSkill
- image-watermarkSkill
- inbox-triageSkill
- invoice-data-extractorSkill
- invoice-generatorSkill
- knowledge-base-builderSkill
- landing-page-builderSkill
- lead-followupSkill
- live-teleprompterSkill
- log-analyzerSkill
- long-video-to-clipsSkill
- market-technical-analysisSkill
- meal-plannerSkill
- meeting-minutesSkill
- meme-gif-generatorSkill
- mind-map-generatorSkill
- multi-platform-resizeSkill
- palette-extractorSkill
- paper-summarizerSkill
- personalized-greetingsSkill
- personalized-mail-mergeSkill
- pitch-generatorSkill
- plain-language-explainerSkill
- podcast-digestSkill
- portfolio-analyzerSkill
- press-release-generatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
Use this skill when the user explicitly requests document diff, or when the requested outcome clearly matches this workflow.
- Distinctive: line 47
Do not activate it merely because the topic is related.
- Distinctive: line 68
Treat permissions as capabilities to request or verify, not as permissions automatically granted by installing the skill.
- Distinctive: line 80
No universal runtime package is required by the skill format itself.
- Distinctive: line 132
Verify all expected outputs exist and are readable.
- Distinctive: line 133
Verify the source was not unintentionally overwritten.
- Distinctive: line 134
Verify structured outputs against their expected schema or invariants.
- Distinctive: line 136
Never mark the workflow successful solely because a model produced text.
- Distinctive: line 142
Do not invent source facts or claim an external action succeeded without verification.
- Distinctive: line 148
If a dependency, credential, connected service, browser session, file, or required permission is unavailable:
- Distinctive: line 150
Stop the affected step.
- Distinctive: line 153
Do not fabricate a successful result.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document Diff / 文档语义差异比较
Purpose / 用途
中文
比较两版 PDF/DOCX 的新增、删除、数字和语义条款变化;扫描 PDF 可结合 OCR。
English
Compare two versions of a document and identify additions, deletions, numeric changes, and semantic clause changes.
Status / 状态
- Workflow status: 🟢 Verified Workflow / 已验证工作流
- Implementation: ✅ Tested reference implementation / 已测试参考实现
- Audit grade: A
- Quality score: 4.0/5
- Automation level: L2-L3
- Category: Data & Analytics / 数据与分析
Workflow status describes how well the workflow itself is understood. Implementation status separately tells you whether this repository ships runnable code for it. Integration skills still require external services or authorization; experimental skills may need more human review.
Search aliases / 搜索关键词
document-diff · Document Diff · 文档语义差异比较 · PDF compare · contract compare · document comparison · 合同对比 · 文档差异 · data automation · AI data analysis · Excel automation · analytics workflow · 数据自动化 · 数据分析
When to use / 何时使用
Use this skill when the user explicitly requests document diff, or when the requested outcome clearly matches this workflow.
Do not activate it merely because the topic is related. Confirm the input, desired output, and any consequential external action.
Inputs / 输入
- User-provided source material or connected authorized data
- Desired output and constraints
Outputs / 输出
- Structured change report
- Optional annotated output
Core stack / 核心工具
Document parser / OCR optional / diff / LLM
Permissions / 权限
filesystem:readfilesystem:write
Treat permissions as capabilities to request or verify, not as permissions automatically granted by installing the skill.
Workflow / 工作流
- Extract text from supported files
- Use pdftotext only when available for PDF
- Compute unified diff
- Write deterministic diff artifact
- Never claim semantic/legal interpretation from a textual diff alone
Dependency suggestions / 依赖建议
- No universal runtime package is required by the skill format itself. Install only the tools named in Core stack when your chosen implementation needs them.
The Agent Skill itself should remain installable even when optional runtimes are absent. Report missing runtime dependencies instead of silently installing privileged software.
Runnable reference / 可运行参考实现
This skill ships a tested reference runtime in scripts/run.py. From a cloned repository:
ows doctor document-diff
ows run document-diff -- --help
ows test document-diffruntime.json declares the entrypoint and optional system commands. Runtime dependencies are checked separately from installing the Skill definition.
Install / 安装
Inspect before installing
npx skills add BryceYuuu/open-workflow-skills --listInstall this skill into the current project
npx skills add BryceYuuu/open-workflow-skills --skill document-diffInstall for a specific supported agent
npx skills add BryceYuuu/open-workflow-skills --skill document-diff --agent codexnpx skills is a community ecosystem CLI, not an OpenAI-official installer. Review third-party skills and scripts before granting shell, filesystem, network, or credential access.
Example invocation / 调用示例
中文
使用
document-diff工作流处理我提供的输入。先检查依赖和权限,不覆盖源文件;执行后给我输出路径、验证结果和需要人工审核的部分。
English
Use the
document-diffworkflow for the provided input. Check dependencies and permissions first, preserve the source, validate the result, and report outputs plus any human-review items.
Validation / 验证
At minimum:
- Verify all expected outputs exist and are readable.
- Verify the source was not unintentionally overwritten.
- Verify structured outputs against their expected schema or invariants.
- Record warnings, skipped steps, external dependencies, and failed checks.
- Never mark the workflow successful solely because a model produced text.
See references/QUALITY.md for skill-specific quality expectations.
Safety / 安全
- Do not invent source facts or claim an external action succeeded without verification.
- Preserve source files unless the user explicitly requests in-place modification.
- Surface missing dependencies, permissions, credentials, and failed checks clearly.
Failure handling / 失败处理
If a dependency, credential, connected service, browser session, file, or required permission is unavailable:
- Stop the affected step.
- Preserve completed safe outputs.
- State exactly what is missing.
- Do not fabricate a successful result.
- Suggest the minimum next action needed to continue.
Files / 文件
SKILL.md— workflow instructionsreferences/QUALITY.md— quality/evaluation guidancetests/cases.yaml— example evaluation casesruntime.json— runtime manifestscripts/run.py— runnable reference implementationtests/smoke.py— deterministic smoke test
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

