archive-crawler
यह क्या करती है
यह स्किल आपकी निजी फ़ाइल आर्काइव खंगालती है, जैसे पुराने क्लाउड ड्राइव या ईमेल एक्सपोर्ट, और उसमें से आपका अपना लेखन व आइडिया ढूंढती है। यह केवल वही फ़ोल्डर स्कैन करती है जो आपने कॉन्फ़िग फ़ाइल में लिखे हों।
कब इस्तेमाल करें
- ✓जब आप फ़ाइलों के आर्काइव में अपने पुराने लेखन या आइडिया खोजना चाहें।
- ✓जब आपके पास बैकअप या क्लाउड फ़ोल्डर हो और आप उसमें से काम के नोट्स निकालना चाहें।
- ✓जब आप किसी मंज़ूर किए गए फ़ोल्डर का निजी लेखन देखना चाहें।
Skill का लिंक
https://github.com/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“कॉन्फ़िग में मैंने जो लेखन फ़ोल्डर अनुमत किया है उसे स्कैन कीजिए और शिक्षण पर मेरे पुराने लेख दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट केवल कॉन्फ़िग की अनुमति-सूची वाले फ़ोल्डर पढ़ता है और ज़्यादा काम की सामग्री छांटता है। अस्वीकृत-सूची की चीज़ें छोड़ दी जाती हैं, और परिणाम आपके साथ मिलकर देखने के लिए दिखाए जाते हैं।
तकनीकी सामग्री (मूल 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
कमेंट
- …
इस repository की और skills
gbrain
31kयह आपके एजेंट को लोगों, प्रोजेक्ट और फ़ैसलों के बारे में तथ्य खोजने के लिए साझा कंपनी ज्ञान ब्रेन में खोजने और उसमें स्थायी नोट सहेजने देती है।
brain-ingest-gate
31kयह आपके एजेंट को नई सामग्री जोड़ने से पहले मौजूदा ज्ञान ब्रेन से जाँचने देती है, ताकि डुप्लिकेट न बनें और नामित इकाइयाँ पहले सुलझें।
brain-link-discipline
31kयह सुनिश्चित करती है कि आपका एजेंट हर उस ब्रेन पेज का काम करने वाला लिंक उसी संदेश में दे, जिसकी वह रिपोर्ट करता है, ताकि आप उसे तुरंत खोल सकें।
brain-ops
31kयह आपके एजेंट को ज्ञान ब्रेन की मुख्य दिनचर्या देती है: पहले मौजूदा संदर्भ जाँचना, स्पष्ट नोट उनके स्रोत के साथ सहेजना, और संबंधित पेज जोड़ना।
मिलती-जुलती skills
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
notcrawl
394kयह आपके एजेंट को Notion वर्कस्पेस की सेव की गई कॉपी में खोजने, पेज और डेटाबेस देखने और पेजों को Markdown फ़ाइलों में निर्यात करने देती है।
knowledge-entities
394kयह आपके एजेंट को लोगों, कंपनियों और प्रोजेक्ट्स की पहचान करने और आपके Knowledge vault में स्रोत-आधारित प्रोफ़ाइल पेज लिखने देती है।