google-drive-comments — скилл для Codex: что делает и как установить
Скилл для работы с комментариями в Google Docs, Sheets и Slides через Codex. Добавляет замечания с точными цитатами, отвечает в ветках и закрывает обсуждения.
npx skills add openai/plugins --skill google-drive-comments -a codexЧто делает google-drive-comments
Скилл управляет обсуждениями в файлах Google Диска. Перед отправкой заметок агент находит нужный файл и читает его содержимое: текст разделов, диапазон ячеек или структуру слайдов. Никаких догадок по памяти.
Комментарии через Drive API часто отображаются в веб-интерфейсе Google без привязки к конкретному месту. Чтобы читатель не потерял контекст, скилл добавляет в текст сообщений точные цитаты для Docs, координаты ячеек вида Budget!C12 для Sheets или номера слайдов для Slides. Любые расплывчатые формулировки без привязки агент отбрасывает до отправки.
Создание, ответы и закрытие веток группируются в один вызов bulk_update_file_comments. Если правок слишком много для одного запроса, агент спросит разрешение разбить их на пакеты. После завершения операции он выводит сводку обновлённых и закрытых веток.
Какие задачи решает
- оставить замечания к Google Docs с точной привязкой к цитатам
- прокомментировать конкретные ячейки и диапазоны в Google Sheets
- ответить в открытых ветках обсуждений на Google Диске
- пакетно закрыть решённые комментарии через
bulk_update_file_comments
Примеры запросов агенту
- Проверь отчёт в Google Docs и оставь комментарии к спорным тезисам
- Ответь на открытые вопросы на листе
Pipelineс привязкой к ячейке D10 - Закрой все отработанные комментарии на слайде 4 в презентации
Как установить google-drive-comments
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill google-drive-comments -a codex2Вручную: положить файлы
.agents/skills/google-drive-comments/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill google-drive-comments -a claude-code2Вручную: положить файлы
~/.claude/skills/google-drive-comments/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/google-drive-comments/
Вручную: положить файлы
.cursor/skills/google-drive-comments/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openai/plugins google-drive-comments2Вручную: положить файлы
.github/skills/google-drive-comments/SKILL.mdКомандой платформы
gemini skills install https://github.com/openai/plugins --path plugins/google-drive/skills/google-drive-commentsВручную: положить файлы
.devin/skills/google-drive-comments/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Скиллы Codex: как установить, где лежат и как вызвать
Вопросы о google-drive-comments
Как установить google-drive-comments в Codex?
Выполните в терминале команду npx skills add openai/plugins --skill google-drive-comments.
Что делает скилл google-drive-comments?
Он помогает агенту просматривать файлы Google Диска, формулировать адресные комментарии для документов, таблиц и презентаций, а также массово закрывать ветки.
Зачем скилл вставляет цитаты и координаты прямо в текст комментария?
Комментарии, отправленные через Google Drive API, могут отображаться в веб-редакторе Google без встроенного выделения фрагмента. Точные цитаты и координаты ячеек прямо в сообщении помогают адресату сразу найти нужную строчку.
Исходный текст
SKILL.md · MIT
--- name: google-drive-comments description: Write, reply to, and resolve Google Drive comments on Docs, Sheets, Slides, and Drive files with evidence-backed location context. Use when the user asks to leave comments, review a file with comments, respond to comment threads, or resolve Drive comments. --- # Google Drive Comments Use this skill for comment workflows in the unified Google Drive plugin. Drive comments can apply to Docs, Sheets, Slides, and generic Drive files, but API-created comments may appear unanchored in the Google editor UI. Every new top-level comment must therefore include enough surface-specific evidence for the reader to find the target without relying on native UI anchoring. ## Workflow 1. Ground the target file first. - If the user did not provide an exact file URL or ID, search Drive, list recent files, list folders, or read metadata until the target file is unambiguous. - Identify whether the file is a Google Doc, Sheet, Slides deck, or generic Drive file before drafting comments. 2. Read the surface that will be commented on. - For Docs or text-like files, read the document text around each likely target. - For Sheets, read spreadsheet metadata first, then read the specific sheet tabs and ranges that may receive comments. - For Slides, read the presentation outline or text first, then read specific slides or thumbnails when visual context is needed. - Do not guess a target quote, slide number, sheet name, or cell range from memory or search snippets. 3. Draft all intended comment updates before writing. - Prefer one `bulk_update_file_comments` call for all creates, replies, and resolves in the same user request. - Keep the batch to the action limit exposed by the tool. If the request needs more comments than the limit, ask before splitting into another batch. - For replies and resolves, use existing comment IDs from the live comment thread data. 4. Attach surface-specific evidence to every new top-level comment. - The comment body must explicitly name or quote the target evidence, because the Google editor UI may not show API-created anchors. - Docs or text-like files: include `quoted_text` with the exact sentence, phrase, heading, or nearby text the comment refers to. Also quote that same text in the comment body when the critique would otherwise say "this sentence" or "this paragraph." - Sheets: include `sheet_cell_range` with the sheet name and A1 cell or range, such as `Budget!C12` or `Pipeline!A2:D10`. Also name that sheet and range in the comment body, and include `quoted_text` when a displayed value, header, formula, or label would make the target clearer. - Slides: include `slide_number`. Also name that slide number in the comment body, and include `quoted_text` when commenting on a title, bullet, label, chart text, or other visible slide text. - Generic Drive files: if no structured surface exists, make the comment content explicitly name the file-level, page-level, timestamp-level, or section-level evidence it refers to. 5. Reject vague comments before sending them. - Do not create comments that say only "this sentence," "this paragraph," "this slide," "this cell," or similar without the matching evidence field. - If the model has a useful critique but cannot identify the exact evidence target, either turn it into an explicitly file-level summary comment or omit it and say the target was not specific enough. - Do not rely on tool fields alone for location context. If the comment body would feel hand-wavy after removing the hidden tool fields, rewrite it before sending. 6. Verify the result. - After writing, summarize how many comments were created, replied to, or resolved. - Mention the evidence used for the highest-risk comments, especially any file-level comments that intentionally do not target a specific quote, slide, or cell. ## Limitations - Do not rely on Drive comment `anchor` data for Google Docs, Sheets, or Slides unless the connector explicitly documents a provider-supported shape for that surface. Drive API-created comments may still display as unanchored in the Google editor UI. - The evidence fields are the durable location contract for this workflow: exact quoted text for Docs and text-like files, sheet/cell range for Sheets, and slide number plus visible text for Slides.
© OpenAI · MIT · openai/plugins