diffs

Render before/after text or patch strings as shareable diff artifacts.

14|5|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/openclaw-easy/openclaw-easy-desktop --skill diffs-openclaw-easy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/openclaw-easy/openclaw-easy-desktop/tree/main/openclaw/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/openclaw-easy/openclaw-easy-desktop --skill diffs-openclaw-easy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diffs enable presenting edits as real diffs rather than manual summaries, saving time and improving accuracy.

Core Features & Use Cases

  • Accepts before/after text or a unified patch string
  • Supports modes: view, file, or both for interactive viewing or artifact rendering
  • Renders artifacts as PNG or PDF and allows quality and scale adjustments
  • Delivers results via a messaging workflow using details.filePath or viewerUrl
  • Works with default plugin configurations to simplify usage

Quick Start

Render a diff between two versions and share the result as a viewer URL or file 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 from before and after text?

You can generate a shareable diff by inputting before/after text or a unified patch string. The tool renders the diff and returns both a viewer URL and a rendered artifact file for messaging workflows.

Can I render a code review diff as a PNG or PDF file?

Yes, you can render code review diffs as PNG or PDF artifacts. The mode=file option outputs rendered files with adjustable quality and scale, delivered via details.filePath for messaging workflows.

How do I share a patch string as an interactive viewer URL?

Input a unified patch string and select mode=view or mode=both to get a viewer URL. The tool processes the patch and returns a shareable interactive viewer URL alongside an optional rendered file artifact.

What's the best way to display code edits as real diffs instead of manual summaries?

The best way to display code edits as real diffs is using before/after text inputs or patch strings. This approach renders accurate visual diffs, replacing manual summaries and saving time while improving review accuracy.

Does the diff viewer support both a viewer URL and a rendered file at the same time?

Yes, the diff viewer supports returning both a viewer URL and a rendered file simultaneously. Using mode=both, the tool delivers an interactive viewer URL alongside an artifact file via message-ready details.