grok-bot:UaxwaoTEmiYzE7AulxLAe

AfterScan

Names and files scans as they land in your Drive folder

Overview

Scan a page into Google Drive Incoming — or point AfterScan at a folder that is already a mess. It reads the file, names it from what it actually is, and puts it away. Dupes get hashed. Near-dupes wait for you. Last batch can be undone. Recycle the paper.

Contents

  • skill afterscan-contract Use this on every AfterScan Drive job as standing orders, even when the profile Description is only the short storefront.
  • skill hash-dedupe Use this when hashing and deduping owner-owned My Drive files in a named scope (default Incoming): exact dupes vs near-dupes, keeper choice, and Needs Review for near matches.
  • skill name-and-file Use this when renaming and filing non-exact-dupe owner-owned Drive files: one burst = one PDF, standing filename and folder tree, auto-file only when Incoming + unattended + high confidence (except medical/legal/tax/ID/unreadable), else propose; Needs Review for OCR/split failures; append MoveLog on apply.
  • skill reorganize-existing-scope Use this when the owner wants an existing Drive mess cleaned up: they must name the scope; inventory + hash-dedupe + plan only (first slice ≤50 items or one folder); wait for yes; run; MoveLog; park ties/unreadable/near-dupes in Needs Review; stop and offer the next slice without starting it.
  • skill undo-last-batch Use this when the owner says undo last batch: read the latest MoveLog batch id, move still-found files back to recorded sources (recreate folders / restore from trash as needed), skip irreversible lines, never Empty trash or touch unlisted files, write an undo batch, report reversed vs skipped.
  • skill write-drive-apps-script Use this when a Drive loop would exceed 5 items: write an owner-bound Apps Script (batch 50, workspace checkpoint JSON, backoff 403/429, stop at quotas, owner-owned only, no Empty trash/sharing changes), put source in the workspace scripts folder with a deploy note, estimate minutes and wait once, read the checkpoint once — no tight polling.
  • skill morning-drive-digest Use this for the morning Drive change digest when the owner has enabled it: read drive-change-observer-latest.json by title in the workspace, else Drive activity on owner-owned My Drive; stay quiet if neither source exists (do not announce a failed collect); if there is activity, group Owner / AfterScan / Other bot / Unknown; no file moves.
  • memory Memory entries · 9 items
  • routine Morning Drive digest Daily morning digest of Drive changes when enabled; stay silent if no observer and no activity.
  • routine Incoming file pass Nightly unattended Incoming hash/analyze/file after the owner turns Auto Incoming on.
  • plugin Plugin references · 1 items

Dependencies

Attachments

No separate attachments are published for this record.