Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

google-docs

FreeNo executable scriptsNot checked

Connector-first Google Docs creation and editing in local Codex plugin sessions, with direct native create and batchUpdate workflows for simple docs…

lightspeedwpby lightspeedwp★ 20 GitHub stars

About this skill

Google Docs

Use this skill for Google Docs work in Codex local-plugin sessions. For blank or basic native Google Docs, create the doc directly with the Google Drive connector. Use [@documents](plugin://documents@openai-primary-runtime) plus DOCX import only when the requested deliverable needs polished document authoring, complex layout, visual design, image/figure placement, page-level QA, branded styling, or export-quality fidelity.

Purpose Of This File

This file is intentionally minimal and covers:

  1. connector loading and runtime boundaries in the Codex local-plugin environment
  2. the direct native-create route for blank and basic Google Docs
  3. the DOCX-first native import route for polished or complex Google Docs
  4. the direct-request workflow for existing and newly created Google Docs
  5. stateful operation and mandatory routing to reference files

All formatting, citation, table, request-shape, and production rules live in references/. Read only the references required for the task. For the common calendar-backed meeting-notes edit, references/reference-meeting-notes-direct.md is the single task reference unless the task adds tables, figures, citations, import/export, or other non-meeting-notes requirements.

Default Routing

Use this routing:

  1. Blank or basic native Google Docs creation: read references/reference-native-create-direct.md, call mcp__codex_apps__google_drive._create_file with mime_type: "application/vnd.google-apps.document", and use direct Docs batchUpdate requests only if content is requested.
  2. Polished or complex net-new Google Docs creation: use [@documents](plugin://documents@openai-primary-runtime) to create a local .docx first, explicitly selecting the google_docs_default design preset unless the user asked for a special, branded, or highly polished visual treatment. Then read references/reference-import-docx-to-native-docs.md and import with mcp__codex_apps__google_drive_import_document using upload_mode: "native_google_docs".
  3. If the Documents plugin is unavailable for a polished or complex deliverable, report that the required local Documents authoring path is unavailable. Do not block blank or basic native Google Doc creation on the Documents plugin.
  4. Existing Google Docs reads, summaries, edits, comments, and template-preserving modifications: use Google Docs connector or app tools directly.

Choose the simplest creation path that can faithfully satisfy the request. The connector-native path is the default for blank docs and basic documents with plain text, headings, lists, simple links, simple tables, and supported smart chips. The DOCX-import path is the high-quality workflow for deliverables where page layout, figure generation, visual polish, export quality, or full rendered visual QA matter.

The import reference owns the exact connector action, plugin install/reinstall handling, native-conversion verification, post-import normalization, and cleanup steps. Read it before any DOCX-first Google Docs import attempt.

For DOCX-first work, local DOCX staging hygiene is mandatory. Staging must be non-user-visible and untracked from the start. Do not create DOCX builder or helper scripts with tracked file-edit tools such as apply_patch, and do not create helper source files in the workspace or any path surfaced by Changes Made. Prefer the Documents plugin's built-in authoring workflow or a one-shot runtime command that keeps generation code ephemeral and persists only the required .docx, render outputs, and scratch assets in a per-task scratch directory. After successful native import and connector readback, remove those local staging artifacts unless the user explicitly asked to keep local files. Cleanup is required as a backstop, not as the visibility control.

Do not reference the local .docx in the final answer after successful native import. The final answer includes the Google Docs link only.

Capability Position

Connector-first creation and editing is the preferred path for blank docs, basic native docs, existing native Google Docs, and targeted post-import edits. It is strong for text, headings, bullets, links, simple tables, tabs, comments, supported smart chips, meeting-notes-like building-block reconstruction, and template-preserving insertions.

It is not a universal replacement for DOCX-first creation. Use DOCX-first creation for net-new polished deliverables where page layout, figure generation, export quality, or full rendered visual QA matter.

For template-preserving work, sample the nearest comparable live document structure before writing. Reproduce connector-visible structure and supported element types rather than approximating everything as plain text. For unsupported UI-only constructs, copy an existing template document or recreate the observable constituent structure; do not claim native UI building-block insertion unless connector readback proves it.

Google Docs Default Preset

For DOCX-firs

Full SKILL.md on GitHub

Install google-docs in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

agents/openai.yamlassets/google-docs-small.svgassets/google-docs.pngreferences/reference-citations-and-hyperlinks.mdreferences/reference-connector-runtime-and-safety.mdreferences/reference-direct-request-composition.mdreferences/reference-figures-and-image-insertion.mdreferences/reference-foreground-guard.mdreferences/reference-headings-and-question-format.mdreferences/reference-import-docx-to-native-docs.mdreferences/reference-meeting-notes-direct.mdreferences/reference-native-create-direct.mdreferences/reference-pdf-export-visual-qa.mdreferences/reference-request-shapes-and-write-safety.mdreferences/reference-response-and-list-format.mdreferences/reference-section-completeness-and-final-pass.mdreferences/reference-smart-chips-and-building-blocks.mdreferences/reference-table-formatting-deep-dive.md

FAQ

What does the google-docs skill do?

Connector-first Google Docs creation and editing in local Codex plugin sessions, with direct native create and batchUpdate workflows for simple docs, DOCX-first import for polished deliverables, target-document checks, smart chip and building-block reconstruction, connector-readback verification, and reference routing for formatting, citations, tables, and write-safety.

How do I install the google-docs skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the google-docs skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare google-docs with