wigolo-cache
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيف يبحث في مخزن صفحات الويب الذي حفظته wigolo. يفحص ما هو موجود على القرص أولًا، ويمكنه أيضًا عرض إحصاءات الذاكرة أو مسح المدخلات المطابقة.
متى تستخدمها
- ✓عندما يسأل المستخدم إن كانت صفحة أو موضوع قد جُلب من قبل.
- ✓عندما يريد المستخدم البحث فيما جمعه من الويب سابقًا.
- ✓عندما يريد المستخدم معرفة ما تغيّر في موقع منذ آخر مراجعة له.
رابط المهارة
https://github.com/KnockOutEZ/wigolo/blob/main/skills/wigolo-cache/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل جلبنا شيئًا عن OAuth PKCE من قبل؟ ابحث لي عنه في الذاكرة المحلية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبحث الوكيل في الذاكرة المحلية بالكلمات المفتاحية، أو بمزيج من الكلمات والمعنى. ويمكنه التصفية بعنوان الموقع أو التاريخ، ويعيد فحص الصفحات المخزنة ليذكر ما تغيّر.
المحتوى التقني (ملف 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
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
wigolo
5.5kيساعد وكيلك على البحث في الويب وجلب الصفحات وزحفها وإجراء الأبحاث عبر خادم أدوات محلي، مع تخزين النتائج على جهازك دون الحاجة إلى مفاتيح API.
wigolo-agent
5.5kيساعد وكيلك على جمع بيانات من عدة مصادر ويب في مهمة واحدة ضمن حد زمني، ثم يعيدها بهيكل ثابت يحدده المخطط.
wigolo-crawl
5.5kيساعد وكيلك على زحف وثائق موقع أو قسم منه، باتباع خريطة الموقع أو الروابط ضمن حدود محددة، ثم حفظ الصفحات في ذاكرة تخزين محلية.
wigolo-diff
5.5kيساعد وكيلك على مقارنة نسختين من صفحة ويب، وعرض التغييرات بدقة حسب المقطع أو الكلمة، أو كملخص بالأرقام.
مهارات مشابهة
tavily
394kيساعد وكيلك على البحث في الويب عبر Tavily وسحب النص من صفحات محددة، مع خيارات للعمق والنطاقات والتواريخ.
blogwatcher
394kيتيح لوكيلك متابعة المدونات وخلاصات RSS أو Atom، والتحقق منها بحثًا عن المقالات الجديدة، وتعليم المقالات التي قرأتها.
data-scraper-agent
280kيساعد وكيلك على جمع البيانات تلقائيًا من أي مصدر عام. يمكن جدولته وإثراء المعلومات وحفظ النتائج. مفيد لمراقبة البيانات الإلكترونية وتتبعها.