Aller au contenu
Skillpedia
Web scraping5.5k · #14818

wigolo-diff

Ce qu’il fait

Cette compétence explique à un agent comment comparer deux versions d'une page, par exemple une page en ligne et sa copie enregistrée. Elle présente les changements sous forme de correctif, par section ou en comptes, ce qui est utile pour un journal des modifications.

Quand l’utiliser

  • ✓Quand un utilisateur demande ce qui a changé sur une page depuis la dernière fois.
  • ✓Quand un utilisateur veut comparer deux versions de la même documentation.
  • ✓Quand un utilisateur veut un journal des modifications entre deux versions d'un contenu.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Qu'est-ce qui a changé sur cette page de documentation de l'API depuis la copie que j'ai enregistrée le mois dernier ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent charge l'ancienne version depuis le cache ou depuis un texte, récupère la nouvelle, puis compare les deux. Il renvoie un correctif de type git, les changements par section ou un bref résumé chiffré.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

Questions fréquentes

Puis-je comparer deux blocs de texte ?

Oui. La compétence accepte du texte markdown brut de chaque côté de la comparaison.

Quels niveaux de détail existent ?

La compétence propose une comparaison ligne par ligne ou mot par mot.

Récupère-t-elle à nouveau la page en ligne ?

Oui. Lorsque la page en ligne est un des côtés, la compétence la récupère de nouveau.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
5.5k
Position au classement
#14818
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires