diffs

Generate shareable diffs from before/after text or patch inputs.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Jnuso/OpenClaw --skill diffs-jnuso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/Jnuso/OpenClaw/tree/main/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/Jnuso/OpenClaw --skill diffs-jnuso

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diffs enable clear communication of changes by converting edits into shareable diffs with live viewer links or artifact outputs, replacing manual edit summaries.

Core Features & Use Cases

  • Generate real diffs from before/after text or patch strings.
  • Provide a shareable viewer link or generated artifact file (PNG/PDF) for documentation and code reviews.
  • Support flexible deployment with mode=view, mode=file, or mode=both; optional viewerBaseUrl; proxy handling; and output controls for artifacts.
  • Use case: Code reviews, documentation updates, and collaborative editing workflows.

Quick Start

Provide two text blocks, before and after, and ask to generate a shareable diff viewer or artifact.

Frequently Asked Questions about diffs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a shareable diff viewer link from before and after text?

To generate a shareable diff, provide your before and after text blocks and use mode=view to produce a live viewer URL. This allows you to easily share text changes without manual summaries.

Can I create a diff artifact file for documentation instead of a link?

Yes, you can create a diff artifact by using mode=file. This generates a rendered artifact file, such as PNG or PDF, which is useful for embedding content revisions directly into documentation.

What is the best way to review code changes and share them with a team?

The best way to review code changes is generating a real diff from before/after inputs or patch strings. You can use mode=both to output a shareable viewer link alongside a rendered artifact for collaborative workflows.

Does the diff generation tool support patch string inputs?

Yes, the diff generation tool supports patch string inputs directly. It processes these alongside before/after text inputs to produce accurate, shareable diff artifacts and viewer URLs for code reviews.

How do I customize the base URL when deploying a diff viewer?

You can customize the base URL by configuring the optional viewerBaseUrl parameter. This flexible deployment option allows you to host the diff viewer on your own domain or proxy infrastructure.