Skip to content
Back to skills

Gcp Auth

ASecurity

Google Cloud Platform (GCP) の Application Default Credentials 認証を実行するスキル。 「GCP認証して」「Google Cloud認証」「gcloud login」等のリクエストで発動。 BigQuery や Cloud Storage 等の GCP サービス利用前の認証手順をガイド。

  • 348 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsgobashgcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add minicoohei/ai-agent-camp --skill gcp-auth --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gcp Auth?

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

Security grade badge for Gcp Auth
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/minicoohei-gcp-auth-ai-agent-camp/badge)](https://www.skillsdirectory.com/skills/minicoohei-gcp-auth-ai-agent-camp)

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: gcp-auth
description: "Google Cloud Platform (GCP) の Application Default Credentials 認証を実行するスキル。 「GCP認証して」「Google Cloud認証」「gcloud login」等のリクエストで発動。 BigQuery や Cloud Storage 等の GCP サービス利用前の認証手順をガイド。"
triggers:
  - gcp-auth
  - GCP認証
  - Google Cloud認証
  - gcloud login
  - サービスアカウント
  - ADC認証
---

## トリガーワード
「GCP認証」「Google Cloud認証」「gcloud login」「サービスアカウント」

# GCP Authentication

Google Cloud の Application Default Credentials (ADC) 認証を実行するスキルです。

## Workflow

1. ユーザーが「GCP認証して」「BigQuery使いたい」等と言う
2. 認証コマンドをターミナルで実行するよう案内
3. ブラウザでGoogleアカウント認証
4. 認証完了を確認

## Usage

### 認証コマンド(ターミナルで直接実行)

```bash
gcloud auth application-default login
```

**注意**: このコマンドはブラウザでの認証が必要なため、ターミナルで直接実行してください。

## 認証フロー

1. **コマンド実行** → ブラウザが自動的に開く
2. **Googleアカウント選択** → 使用するアカウントを選択
3. **権限許可** → 「Google Auth Library にアクセスを許可」で「許可」をクリック
4. **完了確認** → ターミナルに「Credentials saved to file」と表示

## トラブルシューティング

| エラー | 対処法 |
|--------|--------|
| Reauthentication is needed | 認証期限切れ。再度 `gcloud auth application-default login` を実行 |
| GOOGLE_APPLICATION_CREDENTIALS 警告 | `.env` から該当行を削除するか、ADC を使用 |
| Project not set | `gcloud config set project PROJECT_ID` でプロジェクト設定 |

## 認証状態の確認

```bash
# トークンが表示されれば認証済み
gcloud auth application-default print-access-token

# 現在のプロジェクト確認
gcloud config get-value project
```

## Requirements

- Google Cloud SDK (`gcloud`) がインストール済み
- ブラウザでGoogleアカウントにログイン可能


Files in this skill

  • SKILL.en.md2 KB
  • SKILL.es.md2.3 KB
  • SKILL.md2.2 KB
  • agents/openai.yaml158 B

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.