Skip to content
Skillpedia
Research31k Β· #9285

archive-crawler

What it does

This skill searches your personal file archives, such as old cloud drives or email exports, for your own writing and ideas. It only scans folders you list in the config file.

When to use it

  • βœ“When you want to find your own old writing or ideas in an archive of files.
  • βœ“When you have a backup or cloud folder and want to surface valuable notes from it.
  • βœ“When you want to review personal writing in a specific folder you have approved.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œScan the writing folder I allowed in my config and show me my old essays about teaching.”

5 new skills a week. 1 minute to read.

How it works

The agent reads only the folders listed in your config's allow-list and filters for high-value content. It skips anything on your deny-list and shows results for you to review together.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

Will it scan my whole computer?

No. It refuses to run unless you list the allowed folders in the config file.

Can I exclude sensitive folders?

Yes. You can add a deny-list inside the allowed folders, for example for finances or medical files.

Does it save everything it finds?

No. It filters for high-value content and lets you decide what to keep.

Details

Original description by the author

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

Popularity

GitHub stars
31k
Ranking position
#9285
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills