Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add syou6162/agent-skills --skill requesting-gcloud-bq-authgit clone --depth 1 https://github.com/syou6162/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/syou6162/agent-skills/requesting-gcloud-bq-auth)<a href="https://agentmods.dev/skills/syou6162/agent-skills/requesting-gcloud-bq-auth"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/requesting-gcloud-bq-auth/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/syou6162/agent-skills/requesting-gcloud-bq-auth"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/requesting-gcloud-bq-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00823 |
| Opus 5.5 | $0.00028 | $0.00329 |
| Sonnet 5.5 | $0.00014 | $0.00165 |
| Haiku 4.5 | $0.00007 | $0.00082 |
Grade A, and why
requesting-gcloud-bq-auth scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Requesting gcloud/bq Auth Skill
目的
このスキルは、gcloudやbqコマンドの実行時に認証エラーを検出し、エージェントが勝手に認証コマンドを実行することを防ぎます。認証はブラウザ操作が必要なため、ユーザーに明示的に依頼します。
使用タイミング
以下のエラーパターンを検出した場合にこのスキルを発動してください:
パターン1: bqコマンドでの再認証要求
Reauthentication required.とPlease enter your password:が出力された場合
パターン2: gcloud認証でブラウザが開く
Your browser has been opened to visit:とaccounts.google.comURLが出力された場合
実行手順
-
即座に作業を中断: 認証エラーを検出したら、関連するgcloud/bqコマンドの実行を停止する
-
ユーザーに通知: 以下の内容をユーザーに伝える
- 認証が切れていること
- 推奨される認証コマンド(例:
gcloud auth application-default login) - 認証完了後に作業を再開できること
-
認証完了を待つ: ユーザーが認証を完了するまで、関連するコマンドを実行しない
エラーパターン例
パターン1: bqコマンドでの再認証要求
% bq ls
Reauthentication required.
Please enter your password:
対応:
認証が切れています。以下のコマンドで認証を完了してください:
gcloud auth application-default login
認証完了後、作業を再開します。
パターン2: gcloud認証でブラウザが開く
% 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
対応:
ブラウザで認証フローが開始されました。
ブラウザで認証を完了してください。
認証完了後、作業を再開します。
重要な注意事項
✅ すべきこと:
- 認証エラーを検出したら即座に作業を中断する
- ユーザーに明確な指示を提供する(認証コマンド、手順)
- 認証完了を待つ
❌ してはいけないこと:
- 絶対に認証コマンドを自動実行しない(ブラウザ操作が必要なため)
- 認証が完了していない状態でgcloud/bqコマンドを実行しない
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 103 lines · 70 tokens per session scan A 9141c5e11ef2
requesting-gcloud-bq-auth is a skill published in the GitHub repository syou6162/agent-skills (11 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 823 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
requesting-gcloud-bq-auth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| requesting-gcloud-bq-authsyou6162/agent-skills | Skill | 11 | 4mo ago | MIT | A | 70 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 23k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 23k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 23k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| cloud-architectJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 71 | Claude Code |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 3.9k | today | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.2k | today | MIT | A | 78 | Claude Code |