archive-crawler
Skill này làm gì
Skill này tìm trong kho file cá nhân, như ổ đám mây cũ hoặc bản xuất email, để lấy ra bài viết và ý tưởng của chính bạn. Nó chỉ quét các thư mục bạn liệt kê trong file cấu hình.
Khi nào nên dùng
- ✓Khi bạn muốn tìm lại bài viết hoặc ý tưởng cũ của mình trong một kho file.
- ✓Khi bạn có thư mục sao lưu hoặc đám mây và muốn lấy ra những ghi chú có giá trị.
- ✓Khi bạn muốn xem lại nội dung cá nhân trong một thư mục cụ thể mà bạn đã cho phép.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Quét thư mục viết mà tôi đã cho phép trong cấu hình, và cho tôi xem các bài luận cũ của tôi về việc dạy học.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chỉ đọc các thư mục có trong danh sách cho phép của cấu hình và lọc ra nội dung có giá trị cao. Nó bỏ qua mọi thứ nằm trong danh sách chặn, rồi hiển thị kết quả để bạn cùng xem xét.
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.
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
Câu hỏi thường gặp
Nó có quét toàn bộ máy tính của tôi không?
Không. Nó từ chối chạy nếu bạn chưa liệt kê các thư mục được phép trong file cấu hình.
Tôi có thể loại trừ các thư mục nhạy cảm không?
Có. Bạn có thể thêm danh sách chặn bên trong các thư mục được phép, ví dụ cho file tài chính hoặc y tế.
Nó có lưu mọi thứ nó tìm được không?
Không. Nó lọc ra nội dung có giá trị cao và để bạn quyết định giữ lại gì.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9285
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gbrain
31kCho phép agent của bạn tìm trong kho tri thức dùng chung của công ty các thông tin về con người, dự án và quyết định, và lưu ghi chú bền vững vào đó.
brain-ingest-gate
31kKiểm tra nội dung mới với kho tri thức hiện có trước khi thêm vào, để tránh trùng lặp và xác định các thực thể được nêu tên trước.
brain-link-discipline
31kĐảm bảo agent của bạn kèm một liên kết hoạt động đến mỗi trang kho tri thức mà nó báo cáo, trong cùng một tin nhắn, để bạn mở được ngay.
brain-ops
31kCung cấp cho agent của bạn thói quen cốt lõi cho kho tri thức: kiểm tra ngữ cảnh có sẵn trước, lưu ghi chú rõ ràng kèm nguồn và liên kết các trang liên quan.
Skill tương tự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.