gan-xing/codexprovider/codex-provider
Claude Code and agent skill by gan-xing/codexprovider
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install gan-xing/codexprovider/codex-providerSKILL.md
CodexProvider Skill
Use this skill when the user wants Codex App or Codex CLI to route model requests through CodexProvider's local native gateway.
Operating Rules
- Do not modify Codex App bundles,
app.asar, official app files, or ChatGPT login state. - Do not ask the user to paste provider API keys into
~/.codex/config.toml. - Do not commit secrets. Provider credentials must stay in the shell environment or a user-owned env file.
- Codex owns approvals, shell, apply_patch, MCP, local computer control, and workspace permissions. CodexProvider only adapts protocol/tool calls and routes to the selected OpenAI-compatible provider.
- Use
codex-provider-server statusafter setup/start before claiming the gateway is active.
Check Installation
If the command is missing, install or update:
Provider Presets And Credentials
Supported preset examples:
openrouter: setOPENROUTER_API_KEYdeepseek: setDEEPSEEK_API_KEYqwen: setQWEN_API_KEYorDASHSCOPE_API_KEYkimi: setKIMI_API_KEYminimax: setMINIMAX_API_KEYsiliconflow: setSILICONFLOW_API_KEYgemini: setGEMINI_API_KEY
Generic fallback:
Do not persist those secrets in Codex config.
Configure Gateway
Run setup with the requested provider/model:
Use --set-default only when the user explicitly wants root Codex defaults changed:
Safe optional tuning:
setup writes only the managed CodexProvider block in ~/.codex/config.toml, creates a timestamped backup, and stores non-secret gateway state under ~/.codex-provider/.
Start, Inspect, Stop
Start:
Start with traces:
Inspect:
Status must show:
running: truebase_url: http://127.0.0.1:<port>/v1- selected provider/model
- redacted upstream URL
- last request time after Codex uses the gateway
- tool readiness/delegation
Stop:
Verify Gateway Usage
After asking Codex to use the configured provider, run:
The log/status should show /v1/responses activity through the local gateway. If no request appears, Codex is not using the configured gateway yet.
Rollback
Stop the gateway:
Open ~/.codex/config.toml and remove only:
If needed, restore the timestamped backup created next to ~/.codex/config.toml.
Tool Semantics
web_search: adapter-emulated by CodexProvider when available.file_search: adapter-emulated only when a safe workspace/root is configured.tool_search: adapter-emulated deferred tool discovery.image_generation: unavailable until an explicit provider is configured.code_interpreter: delegated to Codex unless an explicit sandbox adapter is configured.computer: delegated to Codex unless an explicit adapter is configured.apply_patchandshell: always delegated to Codex.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codex-provider/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gan-xing/codexprovider/codex-provider)