Chuyển đến nội dung
Skillpedia
Thu thập dữ liệu web5.5k · #14816

wigolo-cache

Skill này làm gì

Skill này dạy agent cách tìm trong kho trang web cục bộ mà wigolo đã lưu. Skill kiểm tra những gì đã có trên đĩa trước, và cũng có thể hiển thị thống kê bộ nhớ đệm hoặc xóa các mục khớp.

Khi nào nên dùng

  • ✓Khi người dùng hỏi liệu một trang hoặc chủ đề đã được tải trước đó chưa.
  • ✓Khi người dùng muốn tìm trong những gì họ đã thu thập từ web.
  • ✓Khi người dùng muốn xem điều gì đã thay đổi kể từ lần xem cuối cùng trên một trang.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-cache/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chúng ta đã tải nội dung nào về OAuth PKCE chưa? Tìm trong bộ nhớ đệm cục bộ của tôi giúp.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm trong bộ nhớ đệm cục bộ theo từ khóa, hoặc kết hợp từ khóa và tìm theo ý nghĩa. Agent có thể lọc theo địa chỉ trang hoặc ngày, và có thể kiểm tra lại các trang đã lưu để báo cáo những gì đã thay đổi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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: true without a filter — the handler refuses an unscoped wipe.
  • DON'T expect mode: "hybrid" to help on a cold cache — warm it with crawl first.

When NOT to use wigolo-cache

  • Content you have never fetched — the cache only holds what wigolo has already read; use search or fetch to bring it in first.

See Also

Câu hỏi thường gặp

Tìm trong bộ nhớ đệm có dùng internet không?

Không. Skill nói tìm trong bộ nhớ đệm là cục bộ và miễn phí.

Nó có xóa các mục cũ không?

Có. Tùy chọn xóa sẽ loại bỏ các mục khớp, nhưng cần ít nhất một bộ lọc.

Thống kê hiển thị gì?

Chúng hiển thị tổng số trang, dung lượng và khoảng thời gian.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
5.5k
Vị trí xếp hạng
#14816
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự