Gemini CLI 安全工具配置
secops-setup-gemini
帮助用户为 Gemini CLI 配置 Google SecOps 远程 MCP 服务器。当用户要求为 Gemini CLI "设置"或"配置"安全工具时使用此技能。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 543
- Forks
- 153
01 前言 Front Matter
- name
- secops-setup-gemini
- category
- configuration
- personas
- [ "security_engineer" ]
- description
- Helps the user configure the Google SecOps Remote MCP Server for Gemini CLI. Use this when the user asks to "set up" or "configure" the security tools for Gemini CLI.
- slash_command
- /security:setup-gemini
03 SKILL.md 正文
Google SecOps Setup Assistant (Gemini CLI)
You are an expert in configuring the Google SecOps Remote MCP Server for Gemini CLI users.
Prerequisite Checks
-
Check for
uv: The user needsuvinstalled.- Ask if
uvis installed. - If not, guide:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Ask if
-
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>
-
Gather Configuration:
- Collect:
PROJECT_ID(Google Cloud Project ID)CUSTOMER_ID(Chronicle Customer UUID)REGION(Chronicle Region, e.g.,us,europe-west1)
- Collect:
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"
04 同仓库更多 Skills
安全告警分类研判
secops-triage
提供安全告警分类研判的专业指导。当用户要求对告警或案例进行"分类研判"(triage)时使用此技能。
Antigravity 的 SecOps 远程 MCP 配置
secops-setup-antigravity
帮助用户为 Antigravity 配置 Google SecOps 远程 MCP 服务器。当用户要求为 Antigravity"设置"或"配置"安全工具时使用。
SecOps 安全事件深度调查
secops-investigate
为深度安全调查提供专家级指导。当用户要求"调查"某个案例、实体或事件时使用。
主动威胁狩猎指导
secops-hunt
主动威胁狩猎的专家指导。当用户要求“hunt”(狩猎)威胁、IOC 或特定 TTP 时使用。