CtrlK
BlogDocsLog inGet started
Tessl Logo

gog-docs

Google Docs operations through gog.

50

Quality

55%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/gog-docs/SKILL.md
SKILL.md
Quality
Evals
Security

Google Docs

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.

Repository
openclaw/gogcli
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.