Google Drive Helper 标志

Google Drive Helper

社区
ShawhinT
google-drive-helper

浏览 Shaw 的 Google Drive(aibuilder.academy 工作区)——搜索、读取文件内容、浏览已知文件夹,并避开连接器的特殊问题。每当 Shaw 要求在 Drive 中查找文件、读取 Google 文档/表格/幻灯片/PDF、查看特定文件夹、获取表单回复、查找他上传的内容,或处理任何与 Drive 相关的事,都使用此技能。触发语包括:“在我的云端硬盘中找 X”“表单文件夹里有什么”“读一下这份文档”“获取 X 的回复”“我的云端硬盘里有 X 吗”“在云端硬盘中搜索 X”“我有没有关于 X 的文件”。即使只是随口问“我写的那份提案在哪里”“我上周做的电子表格”,或“去 Drive 里找找”,也应触发此技能。Shaw 分享 Drive URL 并要求读取时也会触发。不要用于文件整理(移动、重命名、批量操作)。

概览

发布者ShawhinT
代码仓库non-coding-skills
技能名称google-drive-helper
星标数
39
复刻数
6
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 ShawhinT 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Google Drive Helper AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ShawhinT/non-coding-skills/tree/main/google-drive-helper
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShawhinT/non-coding-skills.git /tmp/non-coding-skills
mkdir -p .claude/skills
cp -r /tmp/non-coding-skills/google-drive-helper .claude/skills/google-drive-helper
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Google Drive Helper,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Google Drive Helper。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Google Drive Helper 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Google Drive Helper

Reference for navigating Shaw's Google Drive — finding files, reading contents, and avoiding the connector's footguns. Load it, then act based on the request.

Workspace

The Drive connector is wired to Shaw's aibuilder.academy account only (the ABA business workspace). Files owned by other accounts (Shaw's personal Gmail, clients, collaborators) only surface when they've been explicitly shared into the aibuilder.academy workspace — those show up in search with sharedWithMeTime populated. There's no way to list arbitrary contents of folders owned by other accounts; only individually shared files are reachable.

When linking back to Shaw, use the viewUrl returned by the API. Don't hand-rewrite URLs.

Known Folders

Hardcoded folder IDs Shaw uses regularly. When asked about content in any of these, search by parentId = directly instead of doing a fuzzy title search.

FolderIDWhat's inside
forms1nExDY6bLRQWq73TfX1ihZpQsPDqsbRrDGoogle Forms (intake, testimonial, feedback, etc.). Some entries are shortcuts to Forms shared in from elsewhere.
sheets1hMTTUsNov7u3gfrP6Y1N50IplfpxFZpCLinked response sheets for the forms above.
Meet Recordings14fmJnjIU0Dj5xL9trSxOJe_vUTdhQOyVHistorical only — holds Meet transcripts through 2026-07-24. From ~2026-07-25 on, Meet writes each transcript into its own newly-created folder, so this ID stopped collecting them. Don't anchor a transcript search to it; see "Find the transcript for a call".
agents1jyO_4Z95-KY8_XfYqGNMHCdzFItqTm3BHandoff / research-brief docs prepared for downstream agents and content work (e.g. brainstorm + research handoffs synthesized from Notion, transcripts, and CRM). Plain Google Docs, named [Topic] Handoff — [Detail].

When Shaw says "the forms folder" or "my response sheets," use the IDs above directly.

Tool Cheatsheet

NeedTool
Find files by querysearch_files (Drive query syntax)
Recently touchedlist_recent_files
File metadata onlyget_file_metadata
Read content as textread_file_content
Download as bytes (base64)download_file_content
Permissionsget_file_permissions
Create new filecreate_file
Copy filecopy_file

Connector Quirks (have actually bitten)

  1. mimeType = 'application/vnd.google-apps.form' returns nothing. The mimeType filter doesn't work for Forms specifically. Fall back to title-based search (title contains 'form' or title contains 'intake' or ...) or filter by the known forms folder's parentId.
  2. Forms can't be read or downloaded. read_file_content rejects Forms ("unsupported mime type") and download_file_content errors internally. To see form questions or responses, open the linked response sheet in the sheets folder.
  3. No deep-link to individual form responses. Without a Forms-specific MCP, the per-respondent edit URL isn't reachable — only the form's #responses summary URL. Tell Shaw this and offer the response-sheet row instead.
  4. Shortcuts vs. files. The forms folder contains both real Forms (application/vnd.google-apps.form) and shortcuts (application/vnd.google-apps.shortcut). Shortcuts point to files shared into the workspace from elsewhere. When listing, surface both; when reading, resolve to the target ID first.
  5. Title search is case-insensitive but returned titles preserve case. Don't echo a casing different from the file's actual name.
  6. Files that aren't shared in aren't reachable. If a folder's parentId lookup returns empty but you saw the folder ID in metadata earlier, it's likely owned by another account and only individual files are shared — not the whole folder. Stop and tell Shaw rather than guessing.
  7. create_file only auto-converts plain text into a native Google Doc. When the goal is an editable Google Doc (not a raw file sitting in Drive), upload the body as contentMimeType: 'text/plain' — Drive converts text/plain → application/vnd.google-apps.document and text/csv → Sheets. Uploading text/markdown or text/html does not convert: you get a raw .md/.html file with the markup left literal, even though you'd expect Drive to render it. So when Shaw wants a clean Doc, flatten the content to plain text rather than passing Markdown/HTML. Confirm by checking the mimeType on the returned object — application/vnd.google-apps.document means it converted; anything else means it's a raw file. (Conversely, when the file should stay a real .md/.html — e.g. uploading an actual skill or code file — pass its native contentMimeType with disableConversionToGoogleType: true so it isn't turned into a Doc.)
  8. A date string inside title contains doesn't filter reliably. Drive tokenizes titles, and a slash-formatted date is not treated as one atomic term — so title contains '[Company]' and title contains '2026/08/06' returned a file titled ... - 2026/06/25 08:59 CDT - Transcript. The clause that should have excluded it silently passed it through. Bound dates with createdTime/modifiedTime comparisons instead; reserve title contains for names and words. This one is nasty because it fails open — you get a confident-looking wrong file rather than an empty result.
  9. Folder anchoring fails silently when the folder stops being the destination. A parentId = clause on a folder that's no longer receiving files returns {} — indistinguishable from "the file doesn't exist yet." Any hardcoded folder ID is a standing assumption about where a Google product writes, and Google changes that without notice (see the Meet Recordings row). When a parentId-scoped search comes back empty for something that should exist, re-run it unscoped before concluding the file isn't there.
  10. There's no delete, trash, move, or in-place-update tool. The connector can create, copy, and read, but a botched create_file can't be cleaned up programmatically — it leaves an orphan in Drive. This is why the format matters on the first call (quirk #7): get it right rather than iterating. If duplicates do get created, tell Shaw to trash them manually instead of trying to fix it through the connector.
  11. read_file_content truncates a large file silently, mid-row. Past roughly 75K characters the connector cuts the content off and returns what's left as a well-formed-looking table — the last row simply ends mid-cell, with no marker and no error. Like quirk #8 this fails open: a row count taken from that output is an undercount you'd never notice. Before trusting a read as complete, check that the tail of the content ends where the file does. When the rows are being counted, diffed, or reconciled against another system, skip read_file_content entirely — download_file_content with exportMimeType: 'text/csv' returns the whole file as base64, which decodes and parses in bash without passing through the context window at all.

Search Query Syntax

search_files uses Drive's query language. Combine clauses with and, or, not, parentheses. String values must be single-quoted.

ClauseExample
Title containstitle contains 'invoice'
Title exacttitle = 'My Doc'
MIME typemimeType = 'application/vnd.google-apps.spreadsheet' (works for most types — not Forms; see Quirks)
FolderparentId = '<folder_id>' — use 'root' for top-level My Drive
FulltextfullText contains 'OAuth' (matches title or body)
Ownerowner = 'me' or owner = 'someone@example.com'
SharedsharedWithMe = true
DatemodifiedTime > '2025-01-01T00:00:00Z'

When the mimeType filter misbehaves, batch keyword variants: title contains 'form' or title contains 'survey' or title contains 'intake' or title contains 'feedback' or title contains 'application'

Common Workflows

"Find me X" (general lookup)

  1. If Shaw names a known folder (forms, sheets), go straight to parentId = — don't fuzzy search the whole Drive.
  2. Otherwise: title-based search first. Add fullText contains as a fallback if title hits nothing.
  3. Return 5-10 hits. If >25, narrow before returning everything.

"What does X say?" (read content)

  1. Try read_file_content first — handles Docs, Sheets, Slides, PDFs, Office formats.
  2. If the connector rejects the mime type (Forms, video, audio, images), use download_file_content for bytes. For Forms specifically, jump to the linked response sheet instead.
  3. Quote sparingly. Don't dump full files.

"Pull responses for the X form"

  1. Look in the sheets folder for a sheet whose title is <form name> (Responses).
  2. read_file_content on the sheet — questions are columns, responses are rows.
  3. The form itself can't be read directly; the response sheet is the canonical source.
  4. When the responses are going to be counted or diffed against another system (a Kit tag, a Notion database), download the sheet as CSV instead and parse it in bash — a silent truncation (quirk #11) turns into a list of people who look missing but aren't.

"Where's that file I [made / shared / opened] last week?"

list_recent_files with orderBy: 'lastModifiedByMe' or 'recency'. Faster than searching.

"What's in the [folder name] folder?"

  • Known folder → use the hardcoded ID.
  • Unknown folder → title = '<folder name>' and mimeType = 'application/vnd.google-apps.folder' to find the folder ID, then parentId = '<id>'.
  • If parentId = returns empty for a folder that should have contents, the folder is likely owned by another account and not actually accessible — flag this to Shaw.

"Find the transcript for a call"

Google Meet auto-saves a transcript as a Google Doc titled [Name or Company] / Shaw - [Type] - YYYY/MM/DD HH:MM TZ - Transcript (e.g. [Name] / Shaw - Coffee Chat - 2026/08/06 15:29 CDT - Transcript). This is the retrieval primitive other skills reuse — the transcript-linking workflow in notion-helper → references/transcript-linking.md calls it. Keep this skill's job to finding the file; linking it onto a Notion page is notion-helper's job.

Search Drive-wide, not by folder. Meet used to deposit everything in one folder; since ~2026-07-25 it creates a fresh folder per transcript, so there's no stable parent to anchor to and a parentId clause returns empty rather than erroring (quirk #9). Two stable signals remain: every transcript's title ends in Transcript, and createdTime is within seconds of the meeting ending.

Given a name and a date (the caller supplies them — e.g. from an ABA Calls / ABA Trainings page):

  1. Bound the day with createdTime, and match the name as a word — never put the date inside title contains (quirk #8): title contains 'Transcript' and title contains '[Name]' and createdTime > '2026-05-24T00:00:00Z' and createdTime < '2026-05-25T00:00:00Z'
  2. If that returns empty, drop the name and re-run with the date bounds alone. This separates "this person's transcript is missing" from "nothing recorded that day," which are different problems with different fixes — and it catches titles that don't carry the expected name.
  3. Return the match(es) with viewUrl. If more than one comes back for the same day, hand the disambiguation to the caller (it has the Calendar event's exact start time) rather than guessing here.

Edge cases:

  • A stub is not a transcript. A call nobody joined still produces a file, ~1024 bytes, with the expected title. Real transcripts run roughly 9–40 KB. Check fileSize before treating a hit as evidence the call happened — and note a single no-show slot can emit more than one stub.
  • Transcripts only exist for meetings Shaw organized and held on Meet. Calls on Zoom or another platform will never appear here at all; that's a permanent absence, not a pending one.
  • Unscheduled instant meetings are named by meeting code (e.g. abc-defg-hij) instead of a person, so a name search won't catch them — fall back to the date bounds.

"Save this to Drive" / create a doc or file

Decide the destination format first, because the upload mime type drives the outcome (quirk #7):

  1. A clean, editable Google Doc (handoffs, briefs, notes Shaw will read/edit in Drive): flatten the content to plain text and pass contentMimeType: 'text/plain'. Use plain-text structure (CAPS headers, indentation, dashes) — Markdown/HTML symbols would otherwise show up literally. Confirm the returned mimeType is application/vnd.google-apps.document.
  2. The actual file, preserved as-is (a skill's SKILL.md, code, a real .md/.csv): pass the native contentMimeType (e.g. text/markdown) with disableConversionToGoogleType: true so Drive keeps the bytes instead of converting to a Doc.
  3. Set parentId to drop it in a known folder; omit it to land in My Drive root.
  4. There's no undo (quirk #10) — get the format right on the first call rather than creating, checking, and re-creating.
  5. Binary files (PNGs, PDFs, video): copy the file into the local Drive mount (~/Library/CloudStorage/[email]/My Drive/<path>) rather than base64-ing it through create_file. A 2x render runs to megabytes, all of which would pass through the context. Drive for desktop uploads it, but the connector can't see it until that sync lands, so an immediate search_files comes back empty, which looks like the file is missing (the same fail-open shape as quirk #9). Search again after the sync, then link with the returned viewUrl.

Linking Back to Shaw

When sharing a file:

  • Google native (Doc/Sheet/Slide): use the viewUrl from the API.
  • Form: https://docs.google.com/forms/d/<id>/edit — append #responses to land on the responses tab.
  • Folder: https://drive.google.com/drive/folders/<id>

Always copy the URL the API returns; don't hand-craft.


If a question hits a quirk not listed here (new error, unexpected mime type behavior), surface it to Shaw rather than guessing. The connector is undocumented in places.

常见问题

Google Drive Helper AI 技能有什么作用?

浏览 Shaw 的 Google Drive(aibuilder.academy 工作区)——搜索、读取文件内容、浏览已知文件夹,并避开连接器的特殊问题。每当 Shaw 要求在 Drive 中查找文件、读取 Google 文档/表格/幻灯片/PDF、查看特定文件夹、获取表单回复、查找他上传的内容,或处理任何与 Drive 相关的事,都使用此技能。触发语包括:“在我的云端硬盘中找 X”“表单文件夹里有什么”“读一下这份文档”“获取 X 的回复”“我的云端硬盘里有 X 吗”“在云端硬盘中搜索 X”“我有没有关于 X 的文件”。即使只是随口问“我写的那份提案在哪里”“我上周做的电子表格”,或“去 Drive 里找找”,也应触发此技能。Shaw 分享 Drive URL 并要求读取时也会触发。不要用于文件整理(移动、重命名、批量操作)。

为什么在 TypingMind 中使用 Google Drive Helper?

因为您只需安装一次,就能搭配任何模型使用。Google Drive Helper 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Google Drive Helper?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ShawhinT/non-coding-skills/tree/main/google-drive-helper。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Google Drive Helper?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Google Drive Helper 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Google Drive Helper 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Google Drive Helper AI 技能免费吗?

ShawhinT 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇