codex-setup
Install, authenticate, and configure OpenAI Codex CLI for Nuvel-integrated development workflows.
- License 许可
- MIT
- 所属仓库
- Folken2/nuvel
- 最近更新
- 2026-11-05
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- codex-setup
- description
- Install, authenticate, and configure OpenAI Codex CLI for Nuvel-integrated development workflows.
03 SKILL.md 正文
Codex CLI Setup for Nuvel
Trigger Conditions
- First-time Codex CLI installation
- Need to authenticate with OpenAI API
- Setting up a new development machine with Codex
- Configuring Codex to work with Nuvel OrgMemory and project context
Prerequisites
- Node.js 18+ or the latest LTS
- An OpenAI API key with Codex access (platform.openai.com)
- A Nuvel account with OrgMemory access (https://nuvel.dev)
Steps
1. Install Codex CLI
npm install -g @openai/codex
Verify installation:
codex --version
Expected output: @openai/codex <version> (1.0.0 or later)
2. Authenticate with OpenAI
codex login
This opens a browser window. Log in with your OpenAI account that has Codex API access.
Alternatively, use an API key directly:
export OPENAI_API_KEY="sk-..."
codex auth --api-key
Verify authentication:
codex whoami
3. Configure Codex for Nuvel Integration
Create or edit ~/.codex/config.json:
{
"model": "gpt-5",
"approval_policy": "on-request",
"mcp_servers": {
"nuvel-orgmemory": {
"type": "streamable-http",
"url": "https://api.nuvel.dev/mcp/orgmemory",
"headers": {
"Authorization": "Bearer ${NUVEL_API_KEY}"
}
}
}
}
Set your Nuvel API key:
export NUVEL_API_KEY="nv-..."
# Add to shell profile for persistence:
echo 'export NUVEL_API_KEY="nv-..."' >> ~/.bashrc
4. Set Up Nuvel Project Context
In your project root, create .codex/instructions.md:
## Nuvel Integration
- Use the nuvel-orgmemory MCP server to access team knowledge
- Before implementing features, check OrgMemory for existing decisions and architecture docs
- After completing tasks, update OrgMemory with new learnings and decisions
5. Verify End-to-End Configuration
codex exec "List the MCP tools available from the nuvel-orgmemory server"
Pitfalls
- API key scope: Ensure your OpenAI API key has Codex access. Standard API keys may not include it by default.
- Node.js version: Codex requires Node 18+. Use
nvm install 18if needed. - MCP connection failures: If OrgMemory MCP server is unreachable, check that
NUVEL_API_KEYis exported and your Nuvel account is active. - Config path: On Windows, use
%USERPROFILE%\.codex\config.jsoninstead of~/.codex/config.json.
Verification
codex --versionreturns a valid version numbercodex whoamishows your authenticated OpenAI accountcodex exec "echo setup-verified"completes without errors- OrgMemory MCP tools appear in the available tools list
04 同仓库更多 Skills
greet
Greet a user warmly by name.
hello
A simple hello skill that survives a broken mcp.json.
grok-workflows
Prompt templates and workflows for using xAI GrokBot with Nuvel — code, design, research, and automated pipelines.
grok-setup
Configure xAI GrokBot with Nuvel API integration and project context for Nuvel-aligned development.
cursor-setup
Configure Cursor IDE with Nuvel rules, MCP server integration, and project settings for OrgMemory-aware development.
cursor-review
Use Cursor IDE with Nuvel OrgMemory to review changes — diff analysis, standards checking, and pre-commit review.