Skip to content
cccskills
FreePublished on GitHub

requesting-gcloud-bq-auth

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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>

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Linearに大きなタスクを複数のIssueに分割して作成する際に使用。新しいプロジェクトを作成し、その中にフラットなIssueを作成し、依存関係はblockedByリレーションで表現する。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

planファイルのレビューを依頼された際に使用。Codex CLIを使ってplanファイル自体の実現可能性・技術的妥当性・抜け漏れをレビューし、指摘をタスクリスト化して収束するまで繰り返します。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

コードレビューを依頼された際に使用。Codex CLIを使ってplanファイルと開発日誌(コンテキストにある場合)を参照し、実装が計画に沿っているかをレビューし、指摘をタスクリスト化して収束するまで繰り返します。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

planモードの計画に基づいて実装を開始する。planファイルからタスクリスト作成→タスク順次実行→各タスク完了時にコミット→最後にcodex-reviewを実行する。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

ユーザーがGitHub Actionsのタグ参照をSHA参照に変換するよう要求したときに発動してください。uses:フィールドのタグ参照を自動的にSHA参照(コミットハッシュ + コメント付きバージョン)に変換します。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

Cursor Cloud Agentにタスクを委託するよう依頼された際に発動。エージェント作成、SSEストリーム監視(stream)、実行キャンセル(cancel)、ステータスポーリング(フォールバック)、Pull Request状態確認、Linear紐付け、レビュー・フォローアップを行う。

The English summary is being prepared. Showing the original description.

syou6162/agent-skills11Updated Jun 27, 2026

See all skills by syou6162

Report a problem with this skill