diffs

Generates shareable diffs as viewer URLs or rendered file artifacts from text or patches.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/shalevamin/Tau_agent --skill diffs-shalevamin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diffs
Source: https://github.com/shalevamin/Tau_agent/tree/main/tau-agent-main/extensions/diffs/skills/diffs
Command: npx skills add https://github.com/shalevamin/Tau_agent --skill diffs-shalevamin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manual edit summaries are hard to read and easy to misinterpret when reviewing code or text changes. This Skill produces real, shareable diffs—either an interactive viewer URL or a rendered file artifact—so changes can be reviewed and delivered accurately. ## Core Features & Use Cases - Flexible Input: Accepts either before + after text pairs or a unified patch string to build the diff. - Multiple Output Modes: Use mode=view for a gateway-hosted interactive viewer, mode=file for a rendered PNG or PDF artifact, or mode=both for both outputs. - Delivery & Quality Control: Rendered files can be sent to users via the message tool, with fileQuality (standard, hq, print) and optional fileScale/fileMaxWidth overrides for high-fidelity output. - Use Case: After refactoring a configuration file, generate a diff with mode=both, present the viewer URL through the canvas tool, and send the rendered PNG to the user for archival. ## Quick Start Use the diffs tool to show the changes between the original and edited versions of config.yaml as a shareable viewer link.

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 original content as `before` and the updated content as `after`, optionally including the file `path`. Choose `mode=view` for an interactive viewer URL or `mode=file` for a rendered artifact.

How do I generate a diff from a unified patch string?

Pass the unified patch directly as the `patch` parameter instead of supplying before and after text. The tool renders it the same way, supporting view, file, or both output modes.

What output formats does the diffs tool support?

The tool supports an interactive gateway-hosted viewer URL and rendered file artifacts in PNG (default) or PDF format. Use `mode=both` to receive the viewer URL and the rendered file together.

How do I send a rendered diff file to a user?

Do not rely on the raw tool-result renderer. Call the message tool and pass the returned `details.filePath` through the `path` or `filePath` parameter to deliver the artifact to the user or channel.

How do I improve diff image quality for large files?

Set `fileQuality` to `hq` or `print` for higher fidelity output. You can also override `fileScale` and `fileMaxWidth` to control the rendering dimensions of large diffs.