Chuyển đến nội dung
Skillpedia
Nghiên cứu31k · #9285

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.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/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/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

“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:

  1. Tree inventory — folders / files / sizes / types
  2. Triage status — each item: ⬜ unseen / 👀 reviewed / ✅ ingested / ⏭️ skip / 🔥 high-signal
  3. User reactions — exact quotes when they react (per conventions/quality.md exact-phrasing rule)
  4. Priority queue — what to explore next, ranked
  5. 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:

  1. Confirm scan_paths is set (safety gate). Exit if not.
  2. Map the tree — list folders + files + sizes + date ranges.
  3. Classify folders — group by likely content type (writing, email, code, photos, docs, system).
  4. Create manifest — write projects/<archive-slug>/STATUS.md with the full inventory.
  5. Propose priority queue — rank folders by likely gold density.
  6. Present to user — show the map and proposed order. Let them override.

Phase 2: Crawl

Work through folders in priority order:

  1. Read before showing — open each candidate file, apply the gold filter, skip noise.
  2. Show one at a time — present gold items individually for review.
  3. Capture exact reaction — track the user's response in the manifest using their exact words (per conventions/quality.md).
  4. Ingest if worth keeping — create a brain page immediately.
  5. Update manifest — mark item status after each interaction.
  6. 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

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ự