Skip to content
Back to skills

Use Cli Gcloud

ASecurity

gsheet と gdoc から Google Sheets と Docs の中身を読む。認証は gcloud のアクセストークンを使う。

  • 12 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 24, 2026
ai-agentsgoshellbash

Works with

  • cli

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add thkt/dotclaude --skill use-cli-gcloud --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Cli Gcloud?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Use Cli Gcloud
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thkt-use-cli-gcloud/badge)](https://www.skillsdirectory.com/skills/thkt-use-cli-gcloud)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: use-cli-gcloud
description: gsheet と gdoc から Google Sheets と Docs の中身を読む。認証は gcloud のアクセストークンを使う。
when_to_use: Google Sheets/Docs URL, スプレッドシート, Sheets, Docs, Google ドキュメント
allowed-tools: Bash(gsheet:*) Bash(gdoc:*) Read
user-invocable: false
---

# use-cli-gcloud

## コマンド

| 種別   | URL パターン                      | 既定                 | 構造化                                      |
| ------ | --------------------------------- | -------------------- | ------------------------------------------- |
| Sheets | `docs.google.com/spreadsheets/d/` | `gsheet "URL"` (CSV) | `gsheet "URL" json` (JSONL、表形式のデータ) |
| Docs   | `docs.google.com/document/d/`     | `gdoc "URL"` (text)  | `gdoc "URL" md` (Markdown、仕様書や文書)    |

## 前提

`gsheet` と `gdoc` は shell 関数で、`gcloud auth print-access-token` からトークンを取る。`--help` は持たないので、使い方はこのページが正。

## 落とし穴

認証が切れていると本文でなく Google のエラーページが返り、崩れた CSV や HTML として見える。取得結果が表の形をしていないときは `gcloud auth login` を促して止まる。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.