# Codex Gemini

> Codex 設定 Gemini 免費 API。說「設定 Gemini API」時載入。

- Skill: `mathruffian-dot/codex-gemini` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mathruffian-dot/codex-gemini`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mathruffian-dot/codex-gemini/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: mathruffian-dot (https://skillmd.com/u/mathruffian-dot)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mathruffian-dot/codex-gemini

---


# 設定 Gemini 免費 API（Codex 版）

1. 到 https://aistudio.google.com/apikey 建立 key（免費，不需信用卡）
2. 存到 `~/.gemini.env`
3. 在網頁工具中使用：直接呼叫 Gemini API 端點

⚠️ key 不寫進 AGENTS.md 或 repo。

