本文へスキップ
Skillpedia
ライティング32k · #9160

gws-docs

できること

このツールを使うと、Googleドキュメントの読み取りと書き込みができます。新しいドキュメントの作成、既存ドキュメントの内容の表示、文章の追加などが行えます。

使う場面

  • ✓新しいドキュメントをすばやく作成したいとき。
  • ✓ドキュメントを開かずに内容を確認したいとき。
  • ✓既存のドキュメントに情報を追加したいとき。

スキルのリンク

https://github.com/googleworkspace/cli/blob/main/skills/gws-docs/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/googleworkspace/cli/blob/main/skills/gws-docs/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「My To-Do List」という名前の新しいドキュメントを作成し、「牛乳を買う」を追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

どのドキュメントにアクセスするか、そして何をするか(読み取り、書き込み、作成)をツールに伝えます。ツールはGoogleドキュメントに接続して、依頼された操作を実行します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

docs (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws docs <resource> <method> [flags]

Helper Commands

Command Description
+write Append text to a document

API Resources

documents

  • batchUpdate — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.
  • create — Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document.
  • get — Gets the latest version of the specified document.

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws docs --help

# Inspect a method's required params, types, and defaults
gws schema docs.<resource>.<method>

Use gws schema output to build your --params and --json flags.

よくある質問

ツールはどのドキュメントのことか、どうやって判断するのですか?

依頼するときに、ドキュメントの名前または識別子を指定する必要があります。

ドキュメント全体を編集できますか?

現在このツールは主にテキストの追加に特化しています。全体を編集するには、ほかの方法を使う必要があるかもしれません。

Googleアカウントは必要ですか?

はい、Googleドキュメントにアクセスして編集するには、Googleアカウントにログインしている必要があります。

詳細

作者による元の説明

Read and write Google Docs.

repo: googleworkspace/cli

人気

GitHubのスター
32k
ランキング
#9160
ライセンス
Apache-2.0
更新日
2026/10/6

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル