OpenAI Codex CLI settings, configurations, and prompts for vibe coding. Enhances development workflows with reusable templates. Connects to model providers and integrates with Claude Code.
git clone https://github.com/feiskyer/codex-settings.gitOpenAI Codex CLI settings, configurations, and prompts for vibe coding. Enhances development workflows with reusable templates. Connects to model providers and integrates with Claude Code.
[{"step":"Install Codex CLI and dependencies","action":"Run `npm install -g @openai/codex` and ensure you have API keys for your chosen model provider (e.g., Anthropic, OpenAI).","tip":"Use `codex auth list` to verify your credentials before proceeding."},{"step":"Generate a base configuration","action":"Run `codex init --template [TEMPLATE_NAME]` where [TEMPLATE_NAME] is 'vibe', 'fullstack', or 'api'. For a custom setup, use `codex config create` and select your model provider.","tip":"Start with the 'vibe' template for general development. Use 'fullstack' for web projects or 'api' for backend services."},{"step":"Customize prompts and integrations","action":"Edit the generated `codex.config.json` file to: (1) Adjust model parameters for your use case (e.g., lower temperature for deterministic code), (2) Add project-specific vibe prompts, and (3) Configure integrations like Claude Code or GitHub Copilot.","tip":"Use `codex config validate` to check for syntax errors after editing."},{"step":"Test the configuration","action":"Run `codex test --prompt \"file_creation\" --params '{\"FILE_TYPE\":\"Python class\",\"PROJECT_NAME\":\"Data Pipeline\"}'` to verify the vibe coding prompts work as expected.","tip":"Check the output for placeholders—replace them with your project's actual requirements before using in production."},{"step":"Integrate with your workflow","action":"Add Codex commands to your IDE (e.g., VS Code tasks.json) or CI/CD pipeline. For example, use `codex run --prompt \"refactor\" --params '{\"CODE_LANGUAGE\":\"JavaScript\",\"QUALITY_ATTRIBUTE\":\"readability\"}'` in pre-commit hooks.","tip":"Enable file watching in `codex.config.json` to auto-trigger Codex when files change (e.g., `\"file_watch\": [\"src/**/*.js\"]`)."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/feiskyer/codex-settingsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a Codex CLI configuration for [PROJECT_TYPE] that includes: (1) a [MODEL_PROVIDER] model preset with [PARAMETERS], (2) reusable vibe coding prompts for [COMMON_TASKS], and (3) integration hooks for [TOOLS]. Optimize for [PERFORMANCE_METRIC]. Output as a ready-to-use `codex.config.json` file with comments explaining each section.
```json
{
"model": {
"provider": "anthropic",
"model": "claude-3-5-sonnet-20241022",
"max_tokens": 4096,
"temperature": 0.7,
"top_p": 0.95,
"stop_sequences": ["\n\nHuman:", "\n\nAssistant:"]
},
"prompts": {
"vibe": {
"file_creation": {
"prefix": "Create a [FILE_TYPE] file for [PROJECT_NAME] with these requirements:\n1. [REQUIREMENT_1]\n2. [REQUIREMENT_2]\n\nStart with:",
"suffix": "\n\nEnsure the file follows [PROJECT_STYLE_GUIDE] and includes [STANDARD_SECTIONS]."
},
"refactor": {
"prefix": "Refactor this [CODE_LANGUAGE] code to improve [QUALITY_ATTRIBUTE] while preserving functionality:\n```[CODE_LANGUAGE]\n[CODE_SNIPPET]\n```\n\nSuggested improvements:",
"suffix": "\n\nProvide the refactored code in a single code block with minimal changes."
}
}
},
"integrations": {
"claude_code": {
"enabled": true,
"commands": ["codex run", "codex test"],
"file_watch": ["src/**/*.ts", "tests/**/*.spec.ts"]
},
"github_copilot": {
"enabled": true,
"snippet_prefix": "// CODEX: [SNIPPET_NAME]"
}
},
"performance": {
"cache_ttl": 3600,
"parallel_requests": 4,
"context_window": 16384
}
}
```
**Key Features Configured:**
1. **Anthropic Model Preset**: Uses Claude 3.5 Sonnet with optimized parameters for code generation (temperature 0.7 for balanced creativity/precision).
2. **Vibe Coding Prompts**: Predefined templates for common tasks like file creation and refactoring, with placeholders for dynamic inputs.
3. **Claude Code Integration**: Auto-triggers Codex commands in your IDE and watches specific file patterns for changes.
4. **Performance Tuning**: Caches responses for 1 hour and allows 4 parallel requests to speed up workflows.
**Usage Example:**
Run `codex run --prompt "file_creation" --params '{"FILE_TYPE":"React component","PROJECT_NAME":"Dashboard UI","REQUIREMENT_1":"TypeScript with Tailwind CSS","REQUIREMENT_2":"Include Storybook stories"}'` to generate a new component with the configured style guide.Single API for 100+ LLM providers
Advanced foundation models via API and ChatGPT
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan