一键导入
cardinal-connect
Connect Gemini CLI to Cardinal by running the device-code flow and configuring telemetry hooks plus the unified Cardinal MCP server.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Connect Gemini CLI to Cardinal by running the device-code flow and configuring telemetry hooks plus the unified Cardinal MCP server.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mine this engineer's own session telemetry for capability-fit recommendations (extract a new sub-agent, pin/downgrade a model tier, adopt or swap an existing capability, consolidate duplicates) and, on confirmation, write the accepted artifact into the working tree. Only run this when the user explicitly asks to optimize their toolkit, review capability-fit recommendations, or names this skill directly — do not trigger it opportunistically off a loose topical match.
Mine this engineer's own session telemetry for capability-fit recommendations (extract a new sub-agent, pin/downgrade a model tier, adopt or swap an existing capability, consolidate duplicates) and, on confirmation, write the accepted artifact into the working tree. Only run this when the user explicitly asks to optimize their toolkit, review capability-fit recommendations, or names this skill directly — do not trigger it opportunistically off a loose topical match.
Mine this engineer's own session telemetry for capability-fit recommendations (extract a new sub-agent, pin/downgrade a model tier, adopt or swap an existing capability, consolidate duplicates) and, on confirmation, write the accepted artifact into the working tree. Only run this when the user explicitly asks to optimize their toolkit, review capability-fit recommendations, or names this skill directly — do not trigger it opportunistically off a loose topical match.
Connect Codex to Cardinal by running the device-code flow and configuring telemetry hooks plus the unified Cardinal MCP server.
Disconnect Codex from Cardinal by revoking keys and removing managed Codex MCP and hook config.
Check the Cardinal Codex connection and probe configured telemetry and MCP endpoints.
| name | cardinal-connect |
| description | Connect Gemini CLI to Cardinal by running the device-code flow and configuring telemetry hooks plus the unified Cardinal MCP server. |
Use this skill when the user asks to connect Gemini CLI to Cardinal, enable Cardinal telemetry, enable Cardinal MCP tools, rotate a Cardinal connection, or run Cardinal setup.
Run the repository script:
python3 scripts/cardinal-connect
If the user asks for a non-production Cardinal host, pass --host <url>. If the script reports that Cardinal is already connected, ask whether to rotate or rerun with --rotate when the user has already asked to overwrite.
The script prints an approval URL. Show that URL to the user and wait for the script to finish. On success, tell the user to restart Gemini CLI so it reloads ~/.gemini/settings.json and the extension directory, then suggest cardinal-status.
Both Gemini CLI's native OpenTelemetry exporter (pointed at Cardinal ingest) and the plugin's hook-based emitter run in parallel — the hooks fill Cardinal-specific columns (cardinal.git_state, cardinal.turn_tool, cardinal.subagent_usage, spend-limits gate) that the native exporter does not.