Other

/drive-filing

Brain Drive filing, archival, and the docs.local lifecycle. Triggers: Drive/Brain Drive upload, archive this, post-digest archival, docs.local cleanup, docs.local artifacts, rollup, folders, prompts/results, audits, plans, transcripts, dashboards. NOT for Gemini Drive/web research.

$ golems-cli skills install drive-filing
9 assertions
3 evals

Updated 1 week ago

One skill for everything that moves durable artifacts out of docs.local/ (formerly drive-usage, google-drive-archive, and the archive skill). Named drive-filing, not brain-drive, so it is not one hyphen away from /braindrive (the Gemini Drive query command).

Etan's pain: agents (except researchers) don't use Drive right and leave artifacts scattered in docs.local/. This skill makes filing automatic. Rule of thumb: if an artifact should outlive this session, it goes to Brain Drive in the RIGHT folder — docs.local/ is a cache, not a home.

NeedGo to
Which folder, what name§ Brain Drive folder model, § Decision tree, § Naming convention (below)
Put a heavy (>100KB / media / transcript) artifact into Drive, with ledger + brain_digest§ Archive a heavy artifact → references/archive-procedure.md
Keep docs.local/ legible over time (daily → monthly → Drive)§ docs.local lifecycle

Not this skill: /braindrive queries Drive via Gemini; /gemini-research does web research with Drive sources.

Brain Drive folder model

Folder IDs are private deployment values. Resolve them from the environment or private operator configuration; never copy live Drive IDs into this skill.

FolderidWhat goes here
01_STANDARDS${BRAIN_DRIVE_STANDARDS_FOLDER_ID}Canonical specs, conventions, locked schemas, standards docs (durable reference).
02_GROUNDING${BRAIN_DRIVE_GROUNDING_FOLDER_ID}Grounding corpora / reference data agents ground answers on.
03_RESEARCH${BRAIN_DRIVE_RESEARCH_FOLDER_ID}Research prompts + results. In-flight → 03_RESEARCH/Active/<topic>/ via ${BRAIN_DRIVE_RESEARCH_ACTIVE_FOLDER_ID}.
04_INGEST${BRAIN_DRIVE_INGEST_FOLDER_ID}Raw inbound to be processed/digested (not yet curated).
06_ARCHIVE${BRAIN_DRIVE_ARCHIVE_FOLDER_ID}Forever storage of finished heavy artifacts (transcripts, audio/video, big audits/plans). Target of § Archive a heavy artifact.

Folder semantics (what each numbered folder means) are confirmed with brainlayer-LEAD (s:57, owns Drive/backup). Legacy non-numbered folders (Research ×2 duplicates, Sessions, Collabs, _inbox-*, BrainBar Design Audit) are pre-taxonomy scatter — do not add to them; file into the numbered model. (Consolidation of the legacy dupes is an s:57 cleanup task.)

Decision tree (where does THIS artifact go?)

  1. A research prompt or its results? → 03_RESEARCH/Active/<topic>/ (e.g. skills-eval/). Drive-ground prompts by uploading the real artifacts beside them.
  2. A finished heavy artifact (>100KB / media / raw transcript / big audit)? → § Archive a heavy artifact → lands in 06_ARCHIVE/<area>/<topic>/<date>/, leaves a _DRIVE-LEDGER.md pointer in docs.local/.
  3. A canonical standard / spec / locked schema? → 01_STANDARDS/.
  4. Grounding corpus / reference data? → 02_GROUNDING/.
  5. Raw, not-yet-digested inbound? → 04_INGEST/.
  6. Lightweight, session-scoped scratch? → fine to leave in docs.local/ — but if anyone else (or future-you) needs it, FILE it per 1–5.

Naming convention

YYYY-MM-DD-<topic>[-<surface/agent>].<ext> — date-prefixed, kebab-case, topic-first. Folders: <topic>-<domain>/ (e.g. weave-eval/). Keep the local mirror name identical to the Drive name so the ledger maps 1:1.