wigolo-cache
できること
このスキルは、wigolo がすでに保存した Web ページのローカルのストアを検索する方法を説明します。まずディスクにあるものを確認し、キャッシュの統計を示したり、一致するエントリを消去したりできます。
使う場面
- ✓ユーザーが、あるページや話題がすでに取得されたかを確かめたいとき。
- ✓ユーザーが、Web から集めた内容を検索したいとき。
- ✓ユーザーが、前回見たサイトから何が変わったかを知りたいとき。
スキルのリンク
https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-cache/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“OAuth PKCE について、すでに取得したものがあるか、ローカルのキャッシュを検索してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、キーワード、またはキーワードと意味の検索を組み合わせて、ローカルのキャッシュを検索します。アドレスや日付で絞り込むこともでき、キャッシュされたページを再確認して、何が変わったかを報告できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
wigolo cache
The local knowledge store. Every page wigolo fetches, crawls, or searches lands here with clean markdown and embeddings, so the second read is instant and free. Check the cache before any search or fetch.
Quick Reference
// Keyword search over cached content
{ "query": "oauth2 pkce" }
// Scope to a URL glob
{ "query": "pkce", "url_pattern": "*auth0.com*" }
// Higher-recall hybrid (keyword + semantic) lookup
{ "query": "token refresh rotation", "mode": "hybrid" }
// Only entries cached after a date
{ "query": "release notes", "since": "2026-06-01" }
// Cache statistics (no query needed)
{ "stats": true }
// Re-fetch matching cached URLs and report what changed
{ "url_pattern": "*docs.example.com*", "check_changes": true }
// Clear matching entries (requires at least one filter)
{ "url_pattern": "*staging.example.com*", "clear": true }
Parameters
| Parameter | Type | Default | When to use |
|---|---|---|---|
query |
string | none | Full-text keyword search over cached bodies |
url_pattern |
string | none | URL glob filter, e.g. "*example.com*" |
since |
string | none | ISO date — only entries cached after this date |
clear |
boolean | false | Delete matching entries (needs query, url_pattern, or since) |
stats |
boolean | false | Return total URLs, size, and date range |
check_changes |
boolean | false | Re-fetch matching URLs, report changed/unchanged + diff summary |
mode |
string | "fts" | "fts" (keyword BM25) or "hybrid" (keyword + semantic, fused) |
limit |
number | 20 | Max results to return |
max_tokens_out |
number | none | Token-budget cap on returned bodies (cl100k-base) |
The Cache-First Workflow
Cached content is instant (0ms network), free (no engine query), and already extracted (clean markdown). A miss costs nothing; a redundant fetch wastes 5-15 seconds. So the first move is always:
// Step 1 — probe the cache
cache({ "query": "server islands hydration", "url_pattern": "*docs.astro.build*" })
// Step 2 — miss? fall through to search or fetch
search({ "query": "astro server islands", "include_domains": ["docs.astro.build"] })
Modes
fts(default) — keyword BM25 over the local full-text index. Fast, exact-term.hybrid— additionally runs semantic vector search and fuses both rankings with reciprocal rank fusion for higher recall. Falls back to keyword search when the embedding index is empty or unavailable.
Stats and Change Detection
stats: true reports total URLs, on-disk size, and the cached date range — useful to gauge whether find_similar has enough local signal yet.
check_changes: true re-fetches the matching cached URLs and reports which ones changed, with a per-URL diff summary. Scope it with query or url_pattern so you only re-check what matters.
Anti-Patterns
- DON'T search or fetch before probing the cache — you may already have it.
- DON'T pass
clear: truewithout a filter — the handler refuses an unscoped wipe. - DON'T expect
mode: "hybrid"to help on a cold cache — warm it withcrawlfirst.
When NOT to use wigolo-cache
- Content you have never fetched — the cache only holds what wigolo has already read; use
searchorfetchto bring it in first.
See Also
- wigolo-search — when the cache misses
- wigolo-crawl — warm the cache in bulk
- wigolo-diff — compare a live page against its cached copy
- wigolo-find-similar — discover related cached pages
- wigolo/rules/cache-first.md — the cache-first rule
よくある質問
キャッシュの検索はインターネットを使いますか?
いいえ。キャッシュの検索はローカルで行われ、無料だとされています。
古いエントリを削除できますか?
はい。消去のオプションで一致するエントリを削除できますが、少なくとも一つの絞り込みが必要です。
統計では何が分かりますか?
ページの総数、サイズ、日付の範囲が分かります。
詳細
作者による元の説明
Local-first knowledge cache — full-text and hybrid semantic search over every page wigolo has already fetched, crawled, or searched. Use before any web request: cached hits return instantly and free. Triggers when the user says "check the cache", "have we seen this", "what's on disk", "search what I've already fetched", "cache stats", or "what changed since I last looked". Also clears matching entries and re-checks cached URLs for changes.
repo: KnockOutEZ/wigolo
人気
- GitHubのスター
- 5.5k
- ランキング
- #14816
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
wigolo
5.5kエージェントが、ローカルのツールサーバー経由で Web を検索、取得、クロール、調査し、結果をコンピューターにキャッシュできるよう支援します。APIキーは不要です。
wigolo-agent
5.5kエージェントが、一つの作業の中で、時間制限の範囲内で複数の Web の情報源からデータを集め、スキーマで定めた固定の構造で返せるよう支援します。
wigolo-crawl
5.5kエージェントが、ドキュメントサイトや Web サイトの一部を、サイトマップやリンクをたどって設定された上限の中でクロールし、ページをローカルのキャッシュに保存できるよう支援します。
wigolo-diff
5.5kエージェントが、Web ページの二つの版を比べ、どこがどう変わったかを、セクション、単語、または変更件数の要約として示せるよう支援します。
似ているスキル
tavily
394kTavilyでウェブを検索し、特定のWebページから本文を取り出すようエージェントを支援します。深さ、ドメイン、日付のオプションも使えます。
blogwatcher
394kブログやRSS・Atomフィードを追跡し、新しい記事を確認して、読んだ記事に印を付けるようエージェントを支援します。
data-scraper-agent
280kエージェントが公開されているさまざまな情報源からデータを自動で収集できるよう支援します。スケジュール実行、情報の補強、結果の保存が可能です。オンラインデータの監視や追跡に役立ちます。