Skip to content
Skillpedia
Web scraping5.5k Β· #14818

wigolo-diff

What it does

This skill teaches an agent how to compare two versions of a page, such as a live page against its saved copy. It shows the changes as a patch, by section, or as counts, which is useful for changelogs.

When to use it

  • βœ“When a user asks what changed on a page since last time.
  • βœ“When a user wants to compare two versions of the same documentation.
  • βœ“When a user wants a changelog between two versions of some content.

Skill link

https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œWhat changed on this API docs page since the copy I saved last month?”

5 new skills a week. 1 minute to read.

How it works

The agent loads the old version from the cache or from text, fetches the new one, and compares them. It returns a git-style patch, per-section changes, or a short summary of counts.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

wigolo diff

Structural comparison of two page versions. Point it at a live URL and its cached copy, two URLs, or two raw markdown blobs, and it returns a git-style patch, structured per-section hunks, or a counts-only summary.

Quick Reference

// Live page vs its cached version (re-fetches `new` side)
{ "old": { "url": "https://docs.example.com/api" }, "new": { "url": "https://docs.example.com/api" } }

// Two different URLs
{ "old": { "url": "https://v1.example.com/spec" }, "new": { "url": "https://v2.example.com/spec" } }

// Two markdown blobs directly
{ "old": { "markdown": "# Title\nold body" }, "new": { "markdown": "# Title\nnew body" } }

// Structured per-section hunks at word granularity
{ "old": { "url": "https://example.com" }, "new": { "url": "https://example.com" }, "output": "hunks", "granularity": "word" }

// Counts only
{ "old": { "url": "https://example.com" }, "new": { "url": "https://example.com" }, "output": "summary" }

Parameters

Parameter Type Default When to use
old object required Left-hand side. One of { url, markdown, content_hash }
new object required Right-hand side. One of { url, markdown }
output string "unified" "unified" (git-style patch), "hunks" (per-section), "summary" (counts only)
granularity string "line" "line", "word" (changed tokens only β€” tighter), "section" (walks H1/H2/H3)

Output Shapes

  • unified β€” a git-style unified patch, ready to read or store.
  • hunks β€” structured per-section change blocks. Combine with granularity: "section" to align hunks to headings, or granularity: "word" for tight intra-line edits.
  • summary β€” counts only: added_lines, removed_lines, modified_lines, and total_changed_chars (sum of added + removed line chars across the edit script). Cheapest way to answer "did anything change, and how much".

Comparing Against the Cache

The most common use is drift detection: fetch a page now and diff it against the copy wigolo cached earlier. Pass the same URL for both sides β€” wigolo reads the cached body for old and re-fetches for new. For a scoped, multi-URL sweep, prefer cache with check_changes: true.

Anti-Patterns

  • DON'T pass an old/new object without one of the accepted side keys β€” the handler rejects it.
  • DON'T use output: "unified" when you only need counts β€” summary is cheaper.
  • DON'T diff two unrelated pages expecting a meaningful changelog β€” diff versions of the same content.

When NOT to use wigolo-diff

  • Bulk change detection across many cached URLs β€” use cache with check_changes: true.
  • Ongoing scheduled monitoring β€” use watch, which diffs on each check.

See Also

FAQ

Can I compare two blocks of text?

Yes. The skill accepts raw markdown text as either side of the comparison.

What levels of detail are there?

The skill offers line-level or word-level comparison.

Does it re-fetch the live page?

Yes. When the live page is one side, the skill fetches it again.

Details

Original description by the author

Compare two versions of a page and see exactly what changed β€” a live URL against its cached copy, two URLs, or two markdown blobs. Section-level hunks, word- or line-level granularity, or a summary of counts. Use when the user says "what changed", "diff these", "compare this page to last time", "show me the changes", "did this doc update", or wants a changelog between two versions of the same content.

repo: KnockOutEZ/wigolo

Popularity

GitHub stars
5.5k
Ranking position
#14818
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills