diffs

Generate shareable diffs as viewer URLs or rendered file artifacts.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/srgaba/open-claw --skill diffs-srgaba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/srgaba/open-claw/tree/main/project/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/srgaba/open-claw --skill diffs-srgaba

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manual edit summaries are hard to review and cannot be shared or rendered. This Skill produces real, shareable diffs from before/after text or a unified patch, delivered as an interactive viewer URL, a rendered file artifact, or both. ## Core Features & Use Cases - Viewer Mode: Generate a gateway-hosted interactive diff viewer URL that can be presented via the canvas tool. - File Mode: Render diffs as PNG or PDF artifacts with configurable quality (standard, hq, print), scale, and max width. - Delivery: Pass the rendered file path to the message tool to send the diff to a user or channel. - Use Case: After refactoring a configuration file, generate a diff of the old and new versions and share the viewer link with your team for review. ## Quick Start Use the diffs tool to create a shareable diff between the original and updated versions of my config file.

Frequently Asked Questions about diffs

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

FAQPage Schema
How do I create a shareable diff from two versions of a file?

Call the diffs tool with the before and after text, optionally including the file path. Choose mode=view for an interactive viewer URL, mode=file for a rendered artifact, or mode=both for both outputs.

How do I render a diff as a PNG or PDF file?

Use mode=file with fileFormat set to png (default) or pdf. The tool result includes details.filePath, which you can pass to the message tool via path or filePath to deliver the file.

Can I use a unified patch instead of before and after text?

Yes, the diffs tool accepts either before plus after text or a single unified patch string. Both input styles produce the same viewer URL or rendered file outputs.

How do I improve diff image quality for large files?

Set fileQuality to standard, hq, or print depending on fidelity needs. You can also override fileScale and fileMaxWidth to control the rendered dimensions of large or high-fidelity diffs.

When should I omit mode and theme options in the diffs tool?

Omit mode, theme, layout, and related presentation options when the user has configured diffs plugin defaults. Only specify them when you need to override the defaults for a specific diff.