Skip to content
Agentmart
Submit a tool

requesting-gcloud-bq-auth

gcloudやbqコマンド実行時に認証エラー(Reauthentication required等)を検出した場合に使用。エージェントが自動で認証コマンドを実行することを防ぎ、ユーザーに認証を依頼します。

Skill by syou6162

IndexedMIT★ 11
Write a review

Chalk Labs

Need help deploying requesting-gcloud-bq-auth?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/syou6162-requesting-gcloud-bq-auth

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

gcloudやbqコマンド実行時に認証エラー(Reauthentication required等)を検出した場合に使用。エージェントが自動で認証コマンドを実行することを防ぎ、ユーザーに認証を依頼します。

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/requesting-gcloud-bq-auth

What's inside

Skill name
requesting-gcloud-bq-auth
Description
gcloudやbqコマンド実行時に認証エラー(Reauthentication required等)を検出した場合に使用。エージェントが自動で認証コマンドを実行することを防ぎ、ユーザーに認証を依頼します。
License
MIT
Instructions
99 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Requesting gcloud/bq Auth Skill

## 目的

このスキルは、gcloudやbqコマンドの実行時に認証エラーを検出し、エージェントが勝手に認証コマンドを実行することを防ぎます。認証はブラウザ操作が必要なため、ユーザーに明示的に依頼します。

## 使用タイミング

<trigger>

以下のエラーパターンを検出した場合にこのスキルを発動してください:

**パターン1**: bqコマンドでの再認証要求
- `Reauthentication required.` と `Please enter your password:` が出力された場合

**パターン2**: gcloud認証でブラウザが開く
- `Your browser has been opened to visit:` と `accounts.google.com` URLが出力された場合

</trigger>

## 実行手順

<procedure>

1. **即座に作業を中断**: 認証エラーを検出したら、関連するgcloud/bqコマンドの実行を停止する

2. **ユーザーに通知**: 以下の内容をユーザーに伝える
   - 認証が切れていること
   - 推奨される認証コマンド(例: `gcloud auth application-default login`)
   - 認証完了後に作業を再開できること

3. **認証完了を待つ**: ユーザーが認証を完了するまで、関連するコマンドを実行しない

</procedure>

## エラーパターン例

<examples>

### パターン1: bqコマンドでの再認証要求

<example>

```
% bq ls
Reauthentication required.
Please enter your password:
```

**対応**:
```
認証が切れています。以下のコマンドで認証を完了してください:

  gcloud auth application-default login

認証完了後、作業を再開します。
```

</example>

### パターン2: gcloud認証でブラウザが開く

<example>

```
% gcloud auth application-default login
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=XXX&redirect_uri=XXX&scope=XXX&state=XXX&access_type=offline&code_challenge=XXX&code_challenge_method=S256
```

**対応**:
```
ブラウザで認証フローが開始されました。
ブラウザで認証を完了してください。

認証完了後、作業を再開します。
```

</example>

</examples>

## 重要な注意事項

<important>

✅ **すべきこと**:
- 認証エラーを検出したら即座に作業を中断する
- ユーザーに明確な指示を提供する(認証コマンド、手順)
- 認証完了を待つ

❌ **してはいけないこと**:
- **絶対に認証コマンドを自動実行しない**(ブラウザ操作が必要なため)
- 認証が完了していない状態でgcloud/bqコマンドを実行しない

</important>

From syou6162/agent-skills, MIT.

More from syou6162/agent-skills

Signals

Stars
11
Forks
0
Open issues
1
Last commit (this folder)
Jan 9, 2026 (9 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from syou6162

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get requesting-gcloud-bq-auth running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying requesting-gcloud-bq-auth?

CallGet help
Cite this page

requesting-gcloud-bq-auth skill. Agent Mart. https://agentmart.dev/skills/syou6162-requesting-gcloud-bq-auth (last updated 2026-10-24)