跳到正文
cccskills
免费在 GitHub 公开

gog-docs

Use gog to create, read, edit, and export Google Docs. Agents can replace text, format paragraphs, adjust tables and images, manage document tabs, and export files as PDF, DOCX, TXT, Markdown, or HTML.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Google Docs operations through gog.

集成工具Google Docs
查看安装方法

适用场景

  • Find and replace text in a document
  • Format tables, images, and page layout
  • Export documents as PDF or DOCX
  • Inspect document structure and suggestions
  • Create or copy documents

包含的文件(2)

  • SKILL.md4.0 KB
  • agents/openai.yaml179 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Google Docs

<!-- Generated by scripts/gen-agent-skills.mjs; do not edit. -->

Use gog for Google Docs operations. Read ../gog/SKILL.md first for shared auth, output, safety, and live-write rules.

Safe start

gog auth list --check --json --no-input
gog schema docs --json
gog --readonly --account user@example.com docs cat DOCUMENT_ID --json --wrap-untrusted
  • Select the account explicitly with --account.
  • Use --json --wrap-untrusted for agent-readable Google content.
  • Use --readonly when the task must not mutate Google data.
  • Use --no-input in automation and --dry-run before supported writes.
  • Confirm the exact account, object, and mutation before any write or delete.

Commands

CommandPurpose
add-tabAdd a tab to a Google Doc
catPrint a Google Doc as plain text
cell-styleApply table cell, border, padding, alignment, and text styling
cell-updateReplace or append content inside a specific table cell
clearClear all content from a Google Doc
commentsManage comments on files
copyCopy a Google Doc
createCreate a Google Doc
deleteDelete text range from document
delete-tabDelete a tab from a Google Doc
editFind and replace text in a Google Doc
exportExport a Google Doc (pdf|docx|txt|md|html)
find-rangeFind text and print Docs API UTF-16 index ranges
find-replaceFind and replace text. Supports plain text or markdown with images; use --first for a single occurrence.
footerList, create, or delete document footers
formatApply text or paragraph formatting to a Google Doc
headerList, create, or delete document headers
headingsList document headings
imagesList document images
infoGet Google Doc metadata
insertInsert text at a specific position
insert-date-chipInsert a native date smart chip
insert-file-chipInsert a native Drive file smart chip
insert-footnoteInsert and populate a footnote
insert-horizontal-ruleInsert a paragraph-border horizontal rule
insert-imageInsert a public image URL or upload a local image into a Google Doc
insert-page-breakInsert a page break at a specific position (or end-of-doc with --at-end)
insert-personInsert a native person smart chip
insert-section-breakInsert a continuous or next-page section break
insert-tableInsert a native table at a specific position (or end-of-doc with --at-end), optionally populated via --values-json
list-tabsList all tabs in a Google Doc
named-rangeManage named ranges
page-layoutSet page layout (pageless|pages) on an existing Google Doc
paragraphsList document paragraphs
rawDump raw Google Docs API response as JSON (Documents.Get; lossless; for scripting and LLM consumption)
rename-tabRename a tab in a Google Doc
replace-imageReplace an existing image without changing its position or bounds
section-columnsSet the column count for a document section
sedRegex find/replace (sed-style: s/pattern/replacement/g)
structureShow document structure with numbered paragraphs
suggestionsList pending text suggestions
table-columnInsert or delete native table columns
table-column-widthSet or reset native table column widths
table-mergeMerge a native table cell range
table-rowInsert, delete, style, or pin native table rows
table-unmergeUnmerge the region containing a native table cell
tablesList native tables
tabsManage Google Doc tabs
updateInsert or replace text at a specific index or range in a Google Doc
writeWrite content to a Google Doc

Run gog docs <command> --help for flags and gog schema docs <command> --json for the machine-readable contract. Do not guess command syntax.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

crabbox

免费

Run OpenClaw tests and reproduce bugs on remote machines through Crabbox. Choose a suitable execution provider, verify realistic user workflows, and report the actual provider, environment ID, logs, and timing.

中文简介正在准备中。当前显示英语简介。

  • Run broad OpenClaw tests in a remote CI environment
  • Reproduce installation or Docker bugs
  • Verify behavior on macOS, Windows, or WSL2
openclaw/gogcli85132026年10月19日 更新

gog

免费

Automate Google Workspace tasks through a command-line tool: read email, calendars, files, documents, and spreadsheet data, or make requested updates. Inspect authentication, return structured JSON data, and restrict allowed operations for agent workflows.

中文简介正在准备中。当前显示英语简介。

  • Retrieve email, calendar, and file information
  • Update Google Docs and Google Sheets
  • Check authentication and diagnose access problems
openclaw/gogcli85132026年10月19日 更新

gog-admin

免费

Manage Workspace users, groups, and organizational units through gog. The skill guides account selection and command checking, with confirmation of the target and intended change before writes or deletions, plus preview checks for supported writes.

中文简介正在准备中。当前显示英语简介。

  • Managing Workspace users
  • Managing Workspace groups
  • Managing Workspace organizational units
openclaw/gogcli85132026年10月19日 更新

Use gog to inspect Google AdSense accounts, ad units, sites, payments, alerts, and policy issues. Generate AdSense reports and retrieve details about ad clients and channels to review advertising operations.

中文简介正在准备中。当前显示英语简介。

  • Generating AdSense reports
  • Reviewing account payments
  • Checking alerts and policy issues
openclaw/gogcli85132026年10月19日 更新

Use gog to list Google Analytics 4 account summaries and run reports through the Analytics Data API. Explicit account selection and read-only options help agents retrieve information from the intended account.

中文简介正在准备中。当前显示英语简介。

  • Check available GA4 accounts
  • Retrieve a GA4 report
  • Read Analytics data without making changes
openclaw/gogcli85132026年10月19日 更新

Manage Apps Script projects through gog: inspect code and metadata, list versions and deployments, download projects locally, create new projects, and run deployed functions with explicit account selection and checks before changes.

中文简介正在准备中。当前显示英语简介。

  • Inspect Apps Script project code and metadata
  • Download a project to a local directory
  • Check project versions and deployments
openclaw/gogcli85132026年10月19日 更新

查看 openclaw 的全部技能

报告此技能的问题