secops-setup-gemini

secops-setup-gemini is a skill for Claude Code, Codex from google/mcp-security. It costs 46 tokens per session (459 once invoked), scanned B, original, Apache-2.0.

A setup guide for connecting Google SecOps, Google's security monitoring service, to the Gemini command-line tool through a remote MCP server. It covers prerequisites, authentication, and configuration values.

In plain words
What is it for?
Use it to check for uv, a Python tool manager, verify Google Cloud authentication, collect project, customer, and region identifiers, and edit Gemini's configuration. The excerpt provides the beginning of the MCP server settings.
Why use it?
It reduces the manual work and uncertainty involved in preparing the command-line tool to access Google SecOps.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Good fit Use it to check for uv, a Python tool manager, verify Google Cloud authentication, collect project, customer, and region identifiers, and edit Gemini's configuration. The excerpt provides the beginning of the MCP server settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/mcp-security/setup-gemini-cli
About the project

Google Security Operations and Threat Intelligence MCP Server is a collection of Model Context Protocol servers that let compatible AI clients access Google security, threat intelligence, cloud security, and response products. Security teams use the servers for threat detection, investigation, hunting, orchestration, and risk management, with each server enabled separately.

google/mcp-security · 534 stars · on GitHub

Install

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.

Any agent
npx skills add google/mcp-security --skill setup-gemini-cli
Clone the repo
git clone --depth 1 https://github.com/google/mcp-security

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for secops-setup-gemini

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/mcp-security/setup-gemini-cli/github.svg)](https://agentmods.dev/skills/google/mcp-security/setup-gemini-cli)
Your own site
<a href="https://agentmods.dev/skills/google/mcp-security/setup-gemini-cli"><img src="https://agentmods.dev/badge/skills/google/mcp-security/setup-gemini-cli/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.

agentmods 80×15 button for secops-setup-gemini

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/mcp-security/setup-gemini-cli"><img src="https://agentmods.dev/badge/skills/google/mcp-security/setup-gemini-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 37
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • low Supply Chain · line 18
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00459
Opus 5.5 $0.00018 $0.00184
Sonnet 5.5 $0.00009 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 1mo ago against content hash ce0e0e7ccd11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

secops-setup-gemini scanned grade B with 3 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 1mo 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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

* If not, guide: `curl -LsSf https://astral.sh/uv/install.sh | sh`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Guide the user to update their Gemini CLI configuration at `~/.gemini/config.json`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

* If not, guide: `curl -LsSf https://astral.sh/uv/install.sh | sh`
extensions/google-secops/skills/setup-gemini-cli/SKILL.md · 59 lines

What it actually says

Google SecOps Setup Assistant (Gemini CLI)

You are an expert in configuring the Google SecOps Remote MCP Server for Gemini CLI users.

Prerequisite Checks

  1. Check for uv: The user needs uv installed.

    • Ask if uv is installed.
    • If not, guide: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Check Google Cloud Auth:

    • The user must be authenticated with Google Cloud.
    • Ask: "Have you run gcloud auth application-default login?"
    • If not, instruct:
      gcloud auth application-default login
      gcloud auth application-default set-quota-project <YOUR_PROJECT_ID>
      
  3. Gather Configuration:

    • Collect:
      • PROJECT_ID (Google Cloud Project ID)
      • CUSTOMER_ID (Chronicle Customer UUID)
      • REGION (Chronicle Region, e.g., us, europe-west1)

Configuration Steps

Guide the user to update their Gemini CLI configuration at ~/.gemini/config.json.

Instruct the user to add the following under mcpServers:

"remote-mcp-secops": {
  "httpUrl": "https://chronicle.us.rep.googleapis.com/mcp",
  "authProviderType": "google_credentials",
  "oauth": {
    "scopes": ["https://www.googleapis.com/auth/cloud-platform"]
  },
  "timeout": 30000,
  "headers": {
    "x-goog-user-project": "<YOUR_PROJECT_ID>"
  }
}

Verification

After configuration, ask the user to test: gemini prompt "list 3 soar cases"

Changes

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.

  1. 1mo ago First seen · 59 lines · 46 tokens per session scan B ce0e0e7ccd11

Subscribe to this mod's changes

secops-setup-gemini is a skill published in the GitHub repository google/mcp-security (534 stars, last pushed 8d ago), licensed Apache-2.0. It adds 46 tokens to every session and 459 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

implementing-api-threat-protection-with-apigee

Implement API threat protection using Google Apigee policies including JSON/XML threat protection, OAuth 2.0, SpikeArrest, and Advanced API Security for OWASP Top 10 defense.

xalgorix/xalgorix · 49 tokens

implementing-zero-trust-with-beyondcorp

Use when deploy Google BeyondCorp Enterprise zero trust access controls using Identity-Aware Proxy (IAP), context-aware access policies, device trust validation, and Access Context Manager to enforce identity and posture-based access to GCP resources and internal applications. Use when deploying google beyondcorp…

oyi77/1ai-skills · 73 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

signature-replay

Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.

PurpleAILAB/Decepticon · 31 tokens

sqli

SQL Injection — automated and manual exploitation of unsanitized SQL queries. Covers Union-based, Error-based, Blind (Boolean/Time-based), and Stacked queries. Includes sqlmap automation with WAF bypass tamper scripts.

PurpleAILAB/Decepticon · 48 tokens

entra-enum

Entra ID / M365 reconnaissance — unauthenticated tenant discovery via OpenID config, GetUserRealm, autodiscover; user enumeration via login response codes and OneDrive; federation/MFA/CA posture; authenticated enumeration with ROADtools (roadrecon), AADInternals, MSGraph.

PurpleAILAB/Decepticon · 65 tokens