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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
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:
- 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
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
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.