wigolo-diff
できること
このスキルは、ライブのページと保存済みのコピーなど、ページの二つの版を比べる方法を説明します。変更を差分、セクションごと、または件数の要約として示し、変更履歴の作成に役立てます。
使う場面
- ✓ユーザーが、前回からページの何が変わったかを尋ねるとき。
- ✓ユーザーが、同じドキュメントの二つの版を比べたいとき。
- ✓ユーザーが、コンテンツの二つの版の間の変更履歴を求めるとき。
スキルのリンク
https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-diff/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“先月保存した API ドキュメントのページから、何が変わったか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは古い版をキャッシュまたはテキストから読み込み、新しい版を取得して比べます。git 形式の差分、セクションごとの変更、または件数の要約を返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 withgranularity: "section"to align hunks to headings, orgranularity: "word"for tight intra-line edits.summary— counts only:added_lines,removed_lines,modified_lines, andtotal_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/newobject without one of the accepted side keys — the handler rejects it. - DON'T use
output: "unified"when you only need counts —summaryis 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
cachewithcheck_changes: true. - Ongoing scheduled monitoring — use
watch, which diffs on each check.
See Also
- wigolo-cache —
check_changesfor bulk drift detection - wigolo-watch — scheduled change monitoring
- wigolo-fetch — pull a fresh version to compare
よくある質問
二つのテキストのブロックを比べられますか?
はい。このスキルは、比較の両側に生の Markdown テキストを受け付けます。
どの詳細さが選べますか?
行単位と単語単位の比較を選べます。
ライブのページを再取得しますか?
はい。片方がライブのページの場合、このスキルは再度取得します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 5.5k
- ランキング
- #14818
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
wigolo
5.5kエージェントが、ローカルのツールサーバー経由で Web を検索、取得、クロール、調査し、結果をコンピューターにキャッシュできるよう支援します。APIキーは不要です。
wigolo-agent
5.5kエージェントが、一つの作業の中で、時間制限の範囲内で複数の Web の情報源からデータを集め、スキーマで定めた固定の構造で返せるよう支援します。
wigolo-cache
5.5kエージェントが、すでに取得、クロール、検索したページをまず検索し、Web に戻る前にローカルで探せるよう支援します。同じ調べ物が即座に、無料で済みます。
wigolo-crawl
5.5kエージェントが、ドキュメントサイトや Web サイトの一部を、サイトマップやリンクをたどって設定された上限の中でクロールし、ページをローカルのキャッシュに保存できるよう支援します。
似ているスキル
tavily
394kTavilyでウェブを検索し、特定のWebページから本文を取り出すようエージェントを支援します。深さ、ドメイン、日付のオプションも使えます。
blogwatcher
394kブログやRSS・Atomフィードを追跡し、新しい記事を確認して、読んだ記事に印を付けるようエージェントを支援します。
data-scraper-agent
280kエージェントが公開されているさまざまな情報源からデータを自動で収集できるよう支援します。スケジュール実行、情報の補強、結果の保存が可能です。オンラインデータの監視や追跡に役立ちます。