[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79VV6M5XWW8PJMHSB77BQBF":3,"skill-same:01M79VV6M5XWW8PJMHSB77BQBF":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M79VV6M5XWW8PJMHSB77BQBF","google-drive-sheets",null,"Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through their own Google connection.","yc-software\u002Fqm","yc-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153323858?v=4","01M79VRJS45RJM7XBFGB9D1HY6","Y Combinator","01M79VRJSY4P8QKGTCMVJAZ4DE",15703,"MIT","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fgoogle-drive-sheets\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: google-drive-sheets\ndescription: Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through their own Google connection.\nrequiredCapabilities:\n  - egress:www.googleapis.com\n  - egress:sheets.googleapis.com\n  - egress:docs.googleapis.com\n  - egress:slides.googleapis.com\n---\n\n# Google Drive \u002F Docs \u002F Sheets \u002F Slides\n\nUse this skill when the user asks about Drive files, Google Docs, Google Sheets, Google\nSlides, sharing\u002Faccess problems, or reading\u002Fediting any of that content.\n\n## Connection\n\nGoogle reaches you one of two ways; the requests are the same either way.\n\n- **Direct token:** one Google OAuth token, as an environment variable per API host:\n  `$VAULT_TOKEN_WWW_GOOGLEAPIS_COM` (Drive), `$VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM` (Sheets),\n  `$VAULT_TOKEN_DOCS_GOOGLEAPIS_COM` (Docs), `$VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM` (Slides).\n  They carry the same grant, so if a host-specific one is empty (an older connection),\n  `$VAULT_TOKEN_WWW_GOOGLEAPIS_COM` works for any Google host. The `curl` examples below\n  use them as written.\n- **App connection:** with no token, the user connects Google Drive, Docs, Sheets and Slides as apps\n  instead (composio skill). Send the same request through QM — same method, URL, `query`,\n  headers and JSON `body`, but no Authorization header:\n\n  ```bash\n  curl -sS \"$AGENT_API_URL\u002Fv1\u002Fcomposio\u002Fproxy\" -H \"X-Agent-Capability: $AGENT_API_TOKEN\" \\\n    -H 'content-type: application\u002Fjson' \\\n    --data '{\"method\":\"GET\",\"url\":\"https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Fabout?fields=user\"}'\n  ```\n\n  The reply is the provider's own status and body; the composio skill's \"Raw requests\"\n  section covers `409` answers, choosing an account, and file bodies. Each API is its own app here (a Sheets\n  call needs the Google Sheets connection).\n\nDo not ask the user for a token, log it, or use another principal's credential or a service\nfallback. If there is no connection, the API returns 401\u002F403, or a file is inaccessible,\ntell the user which Google account needs access and whether they should connect Google or\nshare the file with that account.\n\n## Find files\n\nSearch Drive by name, owner, MIME type, or recency:\n\n```bash\ncurl -sS --get 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  --data-urlencode \"q=name contains 'deadline' and trashed=false\" \\\n  --data-urlencode 'fields=nextPageToken,files(id,name,mimeType,webViewLink,owners(emailAddress,displayName),modifiedTime)' \\\n  --data-urlencode 'corpora=allDrives' \\\n  --data-urlencode 'includeItemsFromAllDrives=true' \\\n  --data-urlencode 'supportsAllDrives=true' \\\n  --data-urlencode 'pageSize=100'\n```\n\nThe three `allDrives` params matter: without them the API searches only \"My Drive\",\nand files living in shared drives — most team docs — are invisible, so you'd wrongly\nreport a file doesn't exist. If the response has a `nextPageToken`, keep fetching with\n`pageToken=` before concluding anything is missing.\n\nFor a specific file, fetch metadata first:\n\n```bash\ncurl -sS 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?supportsAllDrives=true&fields=id,name,mimeType,webViewLink,owners(emailAddress,displayName),capabilities' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nAdd `supportsAllDrives=true` to every per-file call (get, download, PATCH, DELETE) —\nwithout it, operations on shared-drive files 404.\n\n## Read files\n\nFor uploaded files, download media:\n\n```bash\ncurl -sS 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?alt=media' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -o inbox\u002Fdrive-file.bin\n```\n\nFor Google Docs\u002FSheets\u002FSlides, export to a useful format:\n\n```bash\ncurl -sS --get 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID\u002Fexport' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  --data-urlencode 'mimeType=text\u002Fplain'\n```\n\nKeep source file ids and links in your answer so claims can be traced.\n\n## Read Sheets\n\nRead values from a named range:\n\n```bash\ncurl -sS 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID\u002Fvalues\u002FSheet1!A1:Z100' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\"\n```\n\nFor workbook structure:\n\n```bash\ncurl -sS 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID?includeGridData=false' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\"\n```\n\n## Writes require approval\n\nCreating, moving, sharing, or editing Drive\u002FSheets content is a write. Prepare the exact\nchange, summarize the target file\u002Frange, and ask for approval before running it.\n\nAfter approval, update values:\n\n```bash\ncurl -sS -X PUT 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID\u002Fvalues\u002FSheet1!A1:B2?valueInputOption=USER_ENTERED' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data @values.json\n```\n\nAlways report the file id\u002Flink and the modified range.\n\n## Persist a file to Drive (upload)\n\nYou can save a file you produced (a report, an export, a generated artifact) into the\nuser's Drive. This is a write — summarize what you're uploading and where, and get\napproval first.\n\nAfter approval, multipart-upload the bytes. Send the metadata part then the file part:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fwww.googleapis.com\u002Fupload\u002Fdrive\u002Fv3\u002Ffiles?uploadType=multipart&fields=id,name,webViewLink' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -F \"metadata={\\\"name\\\":\\\"report.pdf\\\"};type=application\u002Fjson;charset=UTF-8\" \\\n  -F \"file=@report.pdf;type=application\u002Fpdf\"\n```\n\nTo place it in a specific folder, add `\"parents\":[\"FOLDER_ID\"]` to the metadata. The\nresponse returns the new file's `id` and `webViewLink` — report both so the user can open\nit.\n\n## Rename, move, or delete files\n\nThe connector has full Drive access, so you can rename, move, and delete any file the\nconnected user can reach — including pre-existing files in shared folders, not just ones\nthis connector created. These are destructive writes: name the exact file (id + name) and\nthe change, and get approval first. Deletes are especially irreversible — prefer trashing\n(`trashed=true`) over permanent `DELETE` unless the user asks to purge.\n\nRename a file:\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?fields=id,name' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"name\":\"new-name.pdf\"}'\n```\n\nMove a file (swap its parent folder):\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?addParents=DEST_FOLDER_ID&removeParents=OLD_FOLDER_ID&fields=id,parents' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nTrash a file (reversible) or permanently delete it:\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?fields=id,trashed' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"trashed\":true}'\n\ncurl -sS -X DELETE 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nReport the file id\u002Flink and what changed.\n\n## Edit a Google Doc\n\nEditing a Doc's content uses the Docs API (`docs.googleapis.com`), not the Drive export\nendpoint (export is read-only). First read the document to find the character indexes you\nwant to edit:\n\n```bash\ncurl -sS 'https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments\u002FDOCUMENT_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_DOCS_GOOGLEAPIS_COM\"\n```\n\nThe response's `body.content[]` carries each element's `startIndex`\u002F`endIndex` — use those\nto target an edit. All edits go through `:batchUpdate`. This is a write — summarize the\nexact change and get approval first. Insert text at an index:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments\u002FDOCUMENT_ID:batchUpdate' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_DOCS_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"requests\":[{\"insertText\":{\"location\":{\"index\":1},\"text\":\"Hello\\n\"}}]}'\n```\n\nOther common requests in the same `requests[]` array: `deleteContentRange`\n(`{\"range\":{\"startIndex\":N,\"endIndex\":M}}`), `replaceAllText`\n(`{\"containsText\":{\"text\":\"OLD\",\"matchCase\":true},\"replaceText\":\"NEW\"}`), and\n`insertInlineImage`. Create a new doc with `POST https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments`\nand a `{\"title\":\"...\"}` body. Report the document id\u002Flink and what changed.\n\n## Edit a Google Slides presentation\n\nSlides editing uses the Slides API (`slides.googleapis.com`). Read the deck to find slide\nand element object ids:\n\n```bash\ncurl -sS 'https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations\u002FPRESENTATION_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM\"\n```\n\nEdits go through `:batchUpdate`. Get approval first, then e.g. replace text across the deck:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations\u002FPRESENTATION_ID:batchUpdate' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"requests\":[{\"replaceAllText\":{\"containsText\":{\"text\":\"{{TITLE}}\",\"matchCase\":true},\"replaceText\":\"Q3 Review\"}}]}'\n```\n\nOther common requests: `createSlide`, `insertText` (`{\"objectId\":\"...\",\"text\":\"...\",\"insertionIndex\":0}`),\nand `createImage`. Create a new deck with `POST https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations`\nand a `{\"title\":\"...\"}` body. Report the presentation id\u002Flink and what changed.\n","# Google Drive \u002F Docs \u002F Sheets \u002F Slides\n\nUse this skill when the user asks about Drive files, Google Docs, Google Sheets, Google\nSlides, sharing\u002Faccess problems, or reading\u002Fediting any of that content.\n\n## Connection\n\nGoogle reaches you one of two ways; the requests are the same either way.\n\n- **Direct token:** one Google OAuth token, as an environment variable per API host:\n  `$VAULT_TOKEN_WWW_GOOGLEAPIS_COM` (Drive), `$VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM` (Sheets),\n  `$VAULT_TOKEN_DOCS_GOOGLEAPIS_COM` (Docs), `$VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM` (Slides).\n  They carry the same grant, so if a host-specific one is empty (an older connection),\n  `$VAULT_TOKEN_WWW_GOOGLEAPIS_COM` works for any Google host. The `curl` examples below\n  use them as written.\n- **App connection:** with no token, the user connects Google Drive, Docs, Sheets and Slides as apps\n  instead (composio skill). Send the same request through QM — same method, URL, `query`,\n  headers and JSON `body`, but no Authorization header:\n\n  ```bash\n  curl -sS \"$AGENT_API_URL\u002Fv1\u002Fcomposio\u002Fproxy\" -H \"X-Agent-Capability: $AGENT_API_TOKEN\" \\\n    -H 'content-type: application\u002Fjson' \\\n    --data '{\"method\":\"GET\",\"url\":\"https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Fabout?fields=user\"}'\n  ```\n\n  The reply is the provider's own status and body; the composio skill's \"Raw requests\"\n  section covers `409` answers, choosing an account, and file bodies. Each API is its own app here (a Sheets\n  call needs the Google Sheets connection).\n\nDo not ask the user for a token, log it, or use another principal's credential or a service\nfallback. If there is no connection, the API returns 401\u002F403, or a file is inaccessible,\ntell the user which Google account needs access and whether they should connect Google or\nshare the file with that account.\n\n## Find files\n\nSearch Drive by name, owner, MIME type, or recency:\n\n```bash\ncurl -sS --get 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  --data-urlencode \"q=name contains 'deadline' and trashed=false\" \\\n  --data-urlencode 'fields=nextPageToken,files(id,name,mimeType,webViewLink,owners(emailAddress,displayName),modifiedTime)' \\\n  --data-urlencode 'corpora=allDrives' \\\n  --data-urlencode 'includeItemsFromAllDrives=true' \\\n  --data-urlencode 'supportsAllDrives=true' \\\n  --data-urlencode 'pageSize=100'\n```\n\nThe three `allDrives` params matter: without them the API searches only \"My Drive\",\nand files living in shared drives — most team docs — are invisible, so you'd wrongly\nreport a file doesn't exist. If the response has a `nextPageToken`, keep fetching with\n`pageToken=` before concluding anything is missing.\n\nFor a specific file, fetch metadata first:\n\n```bash\ncurl -sS 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?supportsAllDrives=true&fields=id,name,mimeType,webViewLink,owners(emailAddress,displayName),capabilities' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nAdd `supportsAllDrives=true` to every per-file call (get, download, PATCH, DELETE) —\nwithout it, operations on shared-drive files 404.\n\n## Read files\n\nFor uploaded files, download media:\n\n```bash\ncurl -sS 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?alt=media' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -o inbox\u002Fdrive-file.bin\n```\n\nFor Google Docs\u002FSheets\u002FSlides, export to a useful format:\n\n```bash\ncurl -sS --get 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID\u002Fexport' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  --data-urlencode 'mimeType=text\u002Fplain'\n```\n\nKeep source file ids and links in your answer so claims can be traced.\n\n## Read Sheets\n\nRead values from a named range:\n\n```bash\ncurl -sS 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID\u002Fvalues\u002FSheet1!A1:Z100' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\"\n```\n\nFor workbook structure:\n\n```bash\ncurl -sS 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID?includeGridData=false' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\"\n```\n\n## Writes require approval\n\nCreating, moving, sharing, or editing Drive\u002FSheets content is a write. Prepare the exact\nchange, summarize the target file\u002Frange, and ask for approval before running it.\n\nAfter approval, update values:\n\n```bash\ncurl -sS -X PUT 'https:\u002F\u002Fsheets.googleapis.com\u002Fv4\u002Fspreadsheets\u002FSPREADSHEET_ID\u002Fvalues\u002FSheet1!A1:B2?valueInputOption=USER_ENTERED' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SHEETS_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data @values.json\n```\n\nAlways report the file id\u002Flink and the modified range.\n\n## Persist a file to Drive (upload)\n\nYou can save a file you produced (a report, an export, a generated artifact) into the\nuser's Drive. This is a write — summarize what you're uploading and where, and get\napproval first.\n\nAfter approval, multipart-upload the bytes. Send the metadata part then the file part:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fwww.googleapis.com\u002Fupload\u002Fdrive\u002Fv3\u002Ffiles?uploadType=multipart&fields=id,name,webViewLink' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -F \"metadata={\\\"name\\\":\\\"report.pdf\\\"};type=application\u002Fjson;charset=UTF-8\" \\\n  -F \"file=@report.pdf;type=application\u002Fpdf\"\n```\n\nTo place it in a specific folder, add `\"parents\":[\"FOLDER_ID\"]` to the metadata. The\nresponse returns the new file's `id` and `webViewLink` — report both so the user can open\nit.\n\n## Rename, move, or delete files\n\nThe connector has full Drive access, so you can rename, move, and delete any file the\nconnected user can reach — including pre-existing files in shared folders, not just ones\nthis connector created. These are destructive writes: name the exact file (id + name) and\nthe change, and get approval first. Deletes are especially irreversible — prefer trashing\n(`trashed=true`) over permanent `DELETE` unless the user asks to purge.\n\nRename a file:\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?fields=id,name' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"name\":\"new-name.pdf\"}'\n```\n\nMove a file (swap its parent folder):\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?addParents=DEST_FOLDER_ID&removeParents=OLD_FOLDER_ID&fields=id,parents' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nTrash a file (reversible) or permanently delete it:\n\n```bash\ncurl -sS -X PATCH 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID?fields=id,trashed' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"trashed\":true}'\n\ncurl -sS -X DELETE 'https:\u002F\u002Fwww.googleapis.com\u002Fdrive\u002Fv3\u002Ffiles\u002FFILE_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_WWW_GOOGLEAPIS_COM\"\n```\n\nReport the file id\u002Flink and what changed.\n\n## Edit a Google Doc\n\nEditing a Doc's content uses the Docs API (`docs.googleapis.com`), not the Drive export\nendpoint (export is read-only). First read the document to find the character indexes you\nwant to edit:\n\n```bash\ncurl -sS 'https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments\u002FDOCUMENT_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_DOCS_GOOGLEAPIS_COM\"\n```\n\nThe response's `body.content[]` carries each element's `startIndex`\u002F`endIndex` — use those\nto target an edit. All edits go through `:batchUpdate`. This is a write — summarize the\nexact change and get approval first. Insert text at an index:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments\u002FDOCUMENT_ID:batchUpdate' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_DOCS_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"requests\":[{\"insertText\":{\"location\":{\"index\":1},\"text\":\"Hello\\n\"}}]}'\n```\n\nOther common requests in the same `requests[]` array: `deleteContentRange`\n(`{\"range\":{\"startIndex\":N,\"endIndex\":M}}`), `replaceAllText`\n(`{\"containsText\":{\"text\":\"OLD\",\"matchCase\":true},\"replaceText\":\"NEW\"}`), and\n`insertInlineImage`. Create a new doc with `POST https:\u002F\u002Fdocs.googleapis.com\u002Fv1\u002Fdocuments`\nand a `{\"title\":\"...\"}` body. Report the document id\u002Flink and what changed.\n\n## Edit a Google Slides presentation\n\nSlides editing uses the Slides API (`slides.googleapis.com`). Read the deck to find slide\nand element object ids:\n\n```bash\ncurl -sS 'https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations\u002FPRESENTATION_ID' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM\"\n```\n\nEdits go through `:batchUpdate`. Get approval first, then e.g. replace text across the deck:\n\n```bash\ncurl -sS -X POST 'https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations\u002FPRESENTATION_ID:batchUpdate' \\\n  -H \"Authorization: Bearer $VAULT_TOKEN_SLIDES_GOOGLEAPIS_COM\" \\\n  -H 'content-type: application\u002Fjson' \\\n  --data '{\"requests\":[{\"replaceAllText\":{\"containsText\":{\"text\":\"{{TITLE}}\",\"matchCase\":true},\"replaceText\":\"Q3 Review\"}}]}'\n```\n\nOther common requests: `createSlide`, `insertText` (`{\"objectId\":\"...\",\"text\":\"...\",\"insertionIndex\":0}`),\nand `createImage`. Create a new deck with `POST https:\u002F\u002Fslides.googleapis.com\u002Fv1\u002Fpresentations`\nand a `{\"title\":\"...\"}` body. Report the presentation id\u002Flink and what changed.\n",{"name":5,"description":7,"requiredCapabilities":24},[25,26,27,28],"egress:www.googleapis.com","egress:sheets.googleapis.com","egress:docs.googleapis.com","egress:slides.googleapis.com","main","5011257b95913c04ebb800ac7bc80415546ee6bc","skills-seed\u002Fgoogle-drive-sheets",1960,"https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm","https:\u002F\u002Flabs.ycombinator.com\u002Fqm","https:\u002F\u002Fgithub.com\u002Fyc-software","ycombinator.com","2026-11-15 01:58:49",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add yc-software\u002Fqm --skill google-drive-sheets",{"tool":44,"command":45},"bunx","bunx skills add yc-software\u002Fqm --skill google-drive-sheets",{"tool":47,"command":48},"pnpm","pnpm dlx skills add yc-software\u002Fqm --skill google-drive-sheets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fgoogle-drive-sheets\u002FSKILL.md",true,[],[53,60,67,74,81,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79VXTEATDTE0X6SZRD4J75X","zoom","Find, create, reschedule, and cancel the user's Zoom meetings through their own Zoom connection.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fzoom\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79VXKJ50M6G24Q11A3806R5","use-shared-credential","When you need to call a service the org has a SHARED credential for (a SERP\u002Fsearch key, a paid-API key, a data-vendor feed, a Git remote) — and the platform has told you that credential is available to this conversation — make the call BY PROXY through the credential broker. You never see the secret; the core stamps it onto the outbound request for you.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fuse-shared-credential\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79VXERKP52PBXTQ7KAX82S4","ui-state","See what the person is looking at in the QM web UI right now — the whole page (sidebar, every multiview pane, open dialogs) as raw HTML, the app's state as JSON, optionally the CSS and a screenshot. Use when they ask about something on their screen, want help with the UI, or you need to check what a canvas you wrote actually rendered.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fui-state\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79VXASHJ1WX4J68T3MBHZEK","ui-canvas","Draw your own HTML\u002FCSS\u002FJS as a full-window overlay on top of the QM web UI — a dashboard, a form, a visualization, controls that message you back. Write, update, replace, pin or dismiss it. Use when an interactive or visual result beats a chat reply.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fui-canvas\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79VX53549EYHNJBHD3PCFSG","taste-skill","Design taste and process for anything a person will look at in a browser — landing page, dashboard, prototype, deck. The default design driver for a browsable artifact, with an anti-slop playbook for the visual language.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Ftaste-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Ftaste-skill\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M79VX1DEE1BZZBK66NNCD238","slack-drafts","Create Slack message drafts in the user's own composer, as the user, through their per-user Slack OAuth. Drafting only — the user reviews and sends from Slack.","https:\u002F\u002Fgithub.com\u002Fyc-software\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fslack-drafts\u002FSKILL.md",[],[]]