LogoVibeCodingHunt

Agent Plugin

OpenClaw Diffs

Renders read-only text or patch comparisons as a gateway viewer, PNG, or PDF for an OpenClaw agent.

Code Review

What is OpenClaw Diffs?

Diffs gives OpenClaw agents a read-only rendering tool for before-and-after text and unified patches. It can return a gateway-hosted viewer, a PNG or PDF artifact, or both, while preserving file summaries and configurable layout. A companion skill and prompt hook teach the agent how to present or send the result without turning the renderer into a file-editing capability.

Key capabilities

Three output modes

Creates a viewer, a PNG or PDF file, or both from the same comparison.

Patch-aware rendering

Accepts unified patches as well as arbitrary before-and-after text.

Bounded artifacts

Applies size, file-count, line-count, lifetime, and remote-viewer limits.

Use cases

Code review handoff

Present a readable comparison in a canvas without asking the recipient to inspect raw patch text.

Chat attachment

Render a PNG or PDF suitable for delivery through a messaging tool.

Documentation comparison

Compare two text revisions with syntax highlighting and line context.

Included components

Skills

Diff Presentation Guidance

Explains how to open viewer URLs and deliver rendered files.

Hooks

Prompt Context Hook

Adds stable tool guidance to system context before prompt construction.

Installation scope

gateway and agent
OpenClaw
  • OpenClaw 2026.4.30 or newer
  • A Chromium-compatible browser for PNG or PDF rendering
  • Intentional remote-viewer configuration before exposing viewer URLs beyond loopback

FAQs