archive-crawler
ما الذي تفعله
تبحث هذه المهارة في أرشيفات ملفاتك الشخصية، مثل تخزين السحابة القديم أو تصدير البريد الإلكتروني، عن كتاباتك وأفكارك. وهي تفحص فقط المجلدات التي تذكرها في ملف الإعدادات.
متى تستخدمها
- ✓عندما تريد إيجاد كتاباتك أو أفكارك القديمة داخل أرشيف ملفات.
- ✓عندما تملك نسخة احتياطية أو مجلدًا سحابيًا وتريد استخراج ملاحظات قيّمة منه.
- ✓عندما تريد مراجعة كتاباتك الشخصية في مجلد محدد وافقت عليه.
رابط المهارة
https://github.com/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افحص مجلد الكتابة الذي سمحت به في الإعدادات، وأرني مقالاتي القديمة عن التدريس.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ وكيلك فقط المجلدات الموجودة في قائمة السماح بملف الإعدادات، ويرشّح المحتوى القيّم. يتخطى كل ما في قائمة المنع، ويعرض النتائج لتراجعها معك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
archive-crawler — The Universal Archivist
Convention: see conventions/quality.md for citation rules, exact-phrasing requirements when capturing the user's reactions, and back-link enforcement.
Convention: see _brain-filing-rules.md — this skill is schema-generic: it reads the user's filing rules from the rules JSON instead of hardcoding any specific era / archive layout.
Safety gate (REQUIRED, no exceptions)
archive-crawler refuses to run unless archive-crawler.scan_paths: is
explicitly set in gbrain.yml. This is a deliberate safety fence against
the agent over-scoping a scan and ingesting sensitive content (tax PDFs,
medical records, credentials).
# gbrain.yml — the allow-list is mandatory
archive-crawler:
scan_paths:
- ~/Documents/writing/
- ~/Dropbox/Archive/
- /mnt/backup/old-letters/
# Optional deny-list inside the allow-list:
# deny_paths:
# - ~/Documents/finances/
# - ~/Documents/medical/
If scan_paths is empty or missing, the skill exits with:
archive-crawler: refusing to run. No `archive-crawler.scan_paths:` allow-list
in gbrain.yml. Add explicit paths the agent is permitted to scan, then re-run.
This is a safety fence — the agent will not infer what's safe to read.
This contract is enforced by src/core/storage-config.ts (mirrors the
db_tracked / db_only allow-list pattern from v0.22.11 storage tiering).
What this is
Generic engine for exploring any tree of personal content within an
explicit allow-list. Works on local mounts, Dropbox API targets,
Backblaze B2, Gmail takeouts (.mbox), and similar archives. Filters
for "gold" (the user's own writing, ideas, relationships) and surfaces
it interactively for review. Skips noise (system files, configs, binary
blobs).
Concepts
Source
A source is any tree of files to explore. Sources have:
- type:
local|dropbox|backblaze|gmail-takeout|mbox|pst - root: filesystem path, Dropbox path, B2 prefix, mbox path
- manifest: a brain page tracking progress at
projects/<archive-slug>/STATUS.md
Manifest
Every archive exploration gets a manifest brain page that tracks:
- Tree inventory — folders / files / sizes / types
- Triage status — each item:
⬜ unseen/👀 reviewed/✅ ingested/⏭️ skip/🔥 high-signal - User reactions — exact quotes when they react (per conventions/quality.md exact-phrasing rule)
- Priority queue — what to explore next, ranked
- Session log — timestamped record of what was shown per session
Gold filter
Before showing anything to the user, apply the gold filter:
| Keep (show) | Skip (note existence, don't show) |
|---|---|
| Personal writing (journals, letters, reflections, essays) | System files, configs, package.json, node_modules |
| Conversations (IM logs, email threads with substance) | Binary blobs (images / video) |
| Ideas, theses, frameworks | Receipts, invoices, tax docs |
| Relationship material (letters to / from people who matter) | Spam, newsletters, mailing-list bulk |
| Creative work (poetry, stories, code with soul) | Corrupted / null files |
| Origin stories (first versions of things that became important) | |
| Emotional content (anger, love, grief, discovery) |
Protocol
Phase 1: Inventory
When pointed at a new source:
- Confirm scan_paths is set (safety gate). Exit if not.
- Map the tree — list folders + files + sizes + date ranges.
- Classify folders — group by likely content type (writing, email, code, photos, docs, system).
- Create manifest — write
projects/<archive-slug>/STATUS.mdwith the full inventory. - Propose priority queue — rank folders by likely gold density.
- Present to user — show the map and proposed order. Let them override.
Phase 2: Crawl
Work through folders in priority order:
- Read before showing — open each candidate file, apply the gold filter, skip noise.
- Show one at a time — present gold items individually for review.
- Capture exact reaction — track the user's response in the manifest using their exact words (per conventions/quality.md).
- Ingest if worth keeping — create a brain page immediately.
- Update manifest — mark item status after each interaction.
- Never re-show — check the manifest before presenting
الأسئلة الشائعة
هل سيفحص حاسوبي كله؟
لا. ترفض المهارة العمل إلا إذا ذكرت المجلدات المسموحة في ملف الإعدادات.
هل يمكنني استبعاد مجلدات حساسة؟
نعم. يمكنك إضافة قائمة منع داخل المجلدات المسموحة، مثل ملفات المالية أو الملفات الطبية.
هل تحفظ كل ما تجده؟
لا. ترشّح المحتوى القيّم وتترك لك قرار ما تحتفظ به.
التفاصيل
الوصف الأصلي من المؤلف
Universal archivist for personal file archives (Dropbox/B2/Gmail-takeout/local-mount/hard-drive-dump). Filters for high-value content (the user's own writing, ideas, relationships) and surfaces it interactively. REFUSES TO RUN without an explicit gbrain.yml `archive-crawler.scan_paths:` allow-list.
repo: garrytan/gbrain
الشعبية
- نجوم GitHub
- 31k
- الترتيب
- #9285
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
gbrain
31kيتيح لوكيلك البحث في عقل المعرفة المشترك للشركة عن معلومات عن الأشخاص والمشاريع والقرارات، وحفظ ملاحظات دائمة فيه.
brain-ingest-gate
31kيفحص المحتوى الجديد أمام عقل المعرفة الموجود قبل إضافته، لتجنب التكرار وحسم الكيانات المسمّاة أولًا.
brain-link-discipline
31kيضمن أن يتضمن وكيلك رابطًا يعمل لكل صفحة من العقل يبلّغ عنها، في الرسالة نفسها، لتفتحها فورًا.
brain-ops
31kيزوّد وكيلك بالروتين الأساسي للعقل المعرفي: الاطلاع على السياق أولًا، وحفظ الملاحظات الصريحة مع مصدرها، وربط الصفحات ذات الصلة.
مهارات مشابهة
graincrawl
394kيتيح لوكيلك البحث في ملاحظات اجتماعات Granola المحفوظة ونصوصها، والتحقق من حداثتها، وعدّها خلال فترة محددة.
notcrawl
394kيتيح لوكيلك البحث في نسخة محفوظة من مساحة عمل Notion، والاطلاع على الصفحات وقواعد البيانات، وتصدير الصفحات إلى ملفات Markdown.
knowledge-entities
394kيساعد وكيلك على تحديد الأشخاص والشركات والمشاريع، ثم كتابة صفحات تعريفية موثقة لها في خزنة Knowledge.