gdocs

gdocs is a skill for Claude Code, Codex from naoterumaker/openclaw-gog-skills. It costs 100 tokens per session (1,746 once invoked), scanned A, original, MIT.

A Google Docs operation skill for creating, reading, editing, searching, replacing, copying, and exporting documents. It uses the gog command-line tool, which lets terminal commands control Google Docs.

In plain words
What is it for?
Use it to create documents, read their text, append or replace content, insert text at a position, copy documents, search and replace text, and export files.
Why use it?
It removes the need to perform these document actions manually in the Google Docs interface when working from an agent or terminal.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create documents, read their text, append or replace content, insert text at a position, copy documents, search and replace text, and export files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naoterumaker/openclaw-gog-skills/gdocs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add naoterumaker/openclaw-gog-skills --skill gdocs
Clone the repo
git clone --depth 1 https://github.com/naoterumaker/openclaw-gog-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gdocs

README.md
[![agentmods](https://agentmods.dev/badge/skills/naoterumaker/openclaw-gog-skills/gdocs/github.svg)](https://agentmods.dev/skills/naoterumaker/openclaw-gog-skills/gdocs)
Your own site
<a href="https://agentmods.dev/skills/naoterumaker/openclaw-gog-skills/gdocs"><img src="https://agentmods.dev/badge/skills/naoterumaker/openclaw-gog-skills/gdocs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gdocs

Your own site · 80×15
<a href="https://agentmods.dev/skills/naoterumaker/openclaw-gog-skills/gdocs"><img src="https://agentmods.dev/badge/skills/naoterumaker/openclaw-gog-skills/gdocs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01746
Opus 5 $0.00050 $0.00873
Sonnet 5 $0.00020 $0.00349
Haiku 4.5 $0.00010 $0.00175

Measured 11d ago against content hash 71d5c21d0d15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gdocs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gdocs/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Docs 操作スキル (gog v0.10.0)

gog CLI で Google ドキュメントを操作する。

実行パス: gog

認証アカウント: (gogで認証したアカウント)

Execution Notes

  • exec ツールで実行時、timeout: 60 を指定
  • ドキュメントIDは URL https://docs.google.com/document/d/<docId>/edit から取得可能

コマンドリファレンス

ドキュメント作成

gog docs create "<title>"
gog docs create "<title>" --parent "<folderId>"    # 特定フォルダに作成
gog docs create "<title>" --file "./content.md"     # Markdownファイルからインポート

ドキュメント情報取得

gog docs info <docId>
gog docs info <docId> --json

ドキュメント読み取り(プレーンテキスト)

gog docs cat <docId>
gog docs cat <docId> --tab "<tabTitle>"      # 特定タブのみ
gog docs cat <docId> --all-tabs              # 全タブ表示
gog docs cat <docId> --max-bytes 0           # 制限なし(デフォルト2MB)

ドキュメント書き込み

# 末尾に追記(デフォルト)
gog docs write <docId> "追加テキスト"
gog docs write <docId> --file "./content.txt"
echo "テキスト" | gog docs write <docId> --file -

# 全体を置換
gog docs write <docId> "新しい内容" --replace
gog docs write <docId> --file "./content.md" --replace --markdown

テキスト挿入(位置指定)

gog docs insert <docId> "挿入テキスト" --index 1          # 先頭に挿入
gog docs insert <docId> "挿入テキスト" --index 50         # 50文字目に挿入
gog docs insert <docId> --file "./snippet.txt" --index 1

テキスト削除(範囲指定)

gog docs delete <docId> --start 1 --end 100

検索置換

gog docs find-replace <docId> "検索文字列" "置換文字列"
gog docs find-replace <docId> "old" "new" --match-case    # 大文字小文字区別

ドキュメントコピー

gog docs copy <docId> "コピーのタイトル"
gog docs copy <docId> "コピーのタイトル" --parent "<folderId>"

エクスポート(ダウンロード)

gog docs export <docId>                              # PDF(デフォルト)
gog docs export <docId> --format docx                # Word形式
gog docs export <docId> --format txt                 # テキスト形式
gog docs export <docId> --format pdf --out "./out.pdf"

タブ一覧

gog docs list-tabs <docId>
gog docs list-tabs <docId> --json

コンテンツ更新(update)

gog docs update <docId> --content "新しい内容"                    # 全体置換
gog docs update <docId> --content "追加テキスト" --append          # 末尾追記
gog docs update <docId> --content-file "./doc.md" --format markdown  # Markdown変換

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 197 lines · 100 tokens per session scan A 71d5c21d0d15

Subscribe to this mod's changes

gdocs is a skill published in the GitHub repository naoterumaker/openclaw-gog-skills (4 stars, last pushed 6mo ago), licensed MIT. It adds 100 tokens to every session and 1,746 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens