본문으로 건너뛰기
Skillpedia
리서치31k · #9285

archive-crawler

하는 일

이 스킬은 오래된 클라우드 드라이브나 이메일 내보내기 파일처럼 개인 파일 보관함에서 내가 쓴 글과 아이디어를 찾습니다. 설정 파일에 적은 폴더만 검색합니다.

사용하는 경우

  • ✓보관함 속 파일에서 내가 예전에 쓴 글이나 아이디어를 찾고 싶을 때.
  • ✓백업이나 클라우드 폴더에서 쓸 만한 메모를 찾아내고 싶을 때.
  • ✓내가 승인한 특정 폴더의 개인 글을 살펴보고 싶을 때.

스킬 링크

https://github.com/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin/skills/archive-crawler/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“설정에 허용한 글쓰기 폴더를 검색해서, 교육에 관한 내 예전 에세이를 보여 주세요.”

매주 새 스킬 5개. 읽는 데 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:

  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
자주 묻는 질문

컴퓨터 전체를 검색하나요?

아닙니다. 설정 파일에 허용 폴더를 적지 않으면 실행을 거부합니다.

민감한 폴더는 제외할 수 있나요?

네. 허용된 폴더 안에 거부 목록을 추가할 수 있습니다. 예를 들어 금융이나 의료 파일이 있는 폴더를 제외할 수 있습니다.

찾은 것을 모두 저장하나요?

아닙니다. 가치가 높은 내용만 걸러내고, 무엇을 남길지는 내가 정합니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬