К основному содержанию
скилл CX Codex GP ChatGPT официальный · OpenAI

google-drive-comments — скилл для Codex: что делает и как установить

Скилл для работы с комментариями в Google Docs, Sheets и Slides через Codex. Добавляет замечания с точными цитатами, отвечает в ветках и закрывает обсуждения.

Установить в Codex · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add openai/plugins --skill google-drive-comments -a codex
Открыть на GitHub

Что делает 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 codex

2Вручную: положить файлы

.agents/skills/google-drive-comments/SKILL.md

Для всех проектов — ~/.agents/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

Похожие скиллы

Все скиллы по теме «Документы и офис» →
pptx официальный anthropics Скилл помогает создавать, читать и редактировать файлы .pptx и шаблоны .potx. Пригодится, когда нужно собрать презентацию или извлечь из неё текст. 241 433установок pdf официальный anthropics Скилл читает, создаёт и меняет PDF-файлы, включая формы и сканы. Подойдёт, когда агенту нужно работать с PDF в проекте. 216 041установок docx официальный anthropics Скилл создаёт, читает и редактирует документы Word и шаблоны. Подойдёт для отчётов, писем и файлов с таблицами, стилями и нумерацией страниц. 206 304установок xlsx официальный anthropics Работает с табличными файлами: создаёт, читает, правит и преобразует книги. Подходит, когда итогом должен стать файл Excel или другой табличный формат. 187 223установок brand-guidelines официальный anthropics Применяет фирменные цвета и шрифты Anthropic к документам, презентациям и другим артефактам. Пригодится, когда нужно оформить материал в фирменном стиле компании. 109 043установок theme-factory официальный anthropics Применяет готовые цветовые палитры и пары шрифтов к слайдам, документам и HTML-страницам. Подходит, когда материалу нужен единый стиль. 94 921установок

Из того же набора528

Весь набор →
ngs-fastq-qc Проверяет FASTQ, запускает FastQC и MultiQC, разбирает сигналы качества и при необходимости создаёт обрезанные чтения без изменения исходных файлов. CX Codex GP ChatGPT 3установок ngs-analysis-router Скилл определяет тип NGS-данных и направляет запрос к подходящему публичному пайплайну. Он пригодится для BCL, FASTQ, BAM/CRAM, матриц и VCF. CX Codex GP ChatGPT 3установок ngs-amplicon-microbiome Скилл для анализа маркерных генов из ампликонных FASTQ: 16S, 18S, ITS, COI. Запускает пайплайны nf-core/ampliseq, QIIME2 и DADA2. CX Codex GP ChatGPT 3установок gsap Справочник по GSAP для агента: твины, таймлайны, easing и производительность. Пригодится, когда пишете анимацию в композициях HyperFrames. CX Codex GP ChatGPT 3установок market-sizing Считает размер рынка, сегмента или возможности: TAM/SAM/SOM, сценарии, сравнение масштабов. Показывает допущения и неопределённость. CX Codex GP ChatGPT 3установок kpi-reporting Готовит сводки метрик, отчёты WBR и MBR, сопоставляет фактические показатели с целями и опирается на подтверждённые драйверы. CX Codex GP ChatGPT 3установок wrangler Скилл для Codex и ChatGPT, который заставляет агента сверяться с документацией Cloudflare перед запуском команд wrangler. CX Codex GP ChatGPT 3установок microfrontends Разбивает большое приложение на независимо деплоящиеся части, которые для пользователя выглядят одним сайтом. Полезен, когда фронтенд делят между командами. CX Codex GP ChatGPT 2установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой