Step-by-step scenarios
Common Google Drive tasks step by step: set up, find a decision, brief yourself on a document, give an agent read-only access.
Each scenario is a common task in order: the commands to run, why each one runs and what to look at in the answer. The same scenarios are in the terminal: drive guide lists them and drive guide <name> prints one.
Commands that use an account start with your profile, the name you gave the account at login: drive <profile> ….
Give an agent read-only access to your documents
Let an agent search and read the imported documents while nothing it runs can change local or Google data.
-
drive skill installputs drive's instructions where Claude Code, Codex and Gemini CLI look for them
-
drive mcp --tools --read-onlylists the commands the MCP server would offer under the lock; none of them writes
-
drive mcp --read-onlyserves three tools on stdio — drive_tools_search, then drive_read; drive_write is not offered
What to look at:
- DRIVE_READ_ONLY=1 in the agent's environment does the same as --read-only for every command it runs
- commands that need a Google grant the sign-in lacks are not offered
Text the agent reads from documents is data, never instructions.
In the terminal: drive guide agent-access
Brief yourself on a document before a meeting
Know what a document says, what was already noted about it and what facts it holds, with a quote for each.
-
drive syncbrings in the latest version before you read it
-
drive documents context DOC_IDthe document with its tags, notes, memories and editors in one answer
-
drive memories extract DOC_ID --scope worksends the text to your configured model and shows the memories it proposes, each with an exact quote; --yes saves them
-
drive notes add DOC_ID "ask about the Q3 numbers"a note of your own, kept with the document across syncs
-
drive documents export DOC_ID --output brief.mdthe document as Markdown in a new file; an existing file is never overwritten
What to look at:
- proposed memories whose quote does not support them; do not save those
- notes and memories that a newer version of the document made stale
memories extract sends the document's text to the model you chose with models set; nothing else does.
In the terminal: drive guide brief-document
Find where something was decided
Find the document that records a decision, read the passage and see who changed it.
-
drive search "budget decision"every imported document, by words and by meaning, each hit with its Google URL
-
drive documents show DOC_IDthe document's text with its tabs, to read the passage in full
-
drive documents context DOC_IDits tags, notes, memories and editors, kept in the local store
-
drive documents history DOC_ID --activitywho did what to it, from Drive Activity; needs a sign-in with --grant activity
What to look at:
- the hit's Google URL, to cite it
- the last editors and when they changed it
- an empty result means no match in the imported folders, not that Drive has no such document
Search reads only the imported folders of the selected profile. Run sync first if the document is new.
In the terminal: drive guide find-decision
Import chosen folders and make them searchable
Sign in once, choose the Drive folders to keep, and get their documents into the local store as searchable text.
-
drive session startsigns in to Google in the browser, read-only; drive commands start with your profile, as in drive personal session start
-
drive folders add https://drive.google.com/drive/folders/FOLDER_IDonly the folders you add are imported, with everything under them
-
drive models text download e5-smallthe local model for search by meaning, once per computer; every WireCat CLI shares it
-
drive sync --embedimports what changed in those folders and indexes the text by meaning
-
drive statushow many documents were imported, what is pending and what was skipped
What to look at:
- skipped files and the reason for each, such as an unsupported type or a file over the size limit
- pending work; run sync again until nothing is pending
- a later sync reads only what changed
Nothing leaves the computer except the Google requests the sync makes; search and reading run offline.
In the terminal: drive guide set-up
Works with other tools
These Memo scenarios also use drive:
- What did we decide about X, across every source:
memo guide decision-trail - One person across every tool:
memo guide person-brief